Home
last modified time | relevance | path

Searched refs:tp (Results 1 – 25 of 33) sorted by relevance

12

/AOO41X/main/soltools/cpp/
H A D_macro.c46 Token *tp; in dodefine() local
52 tp = trp->tp + 1; in dodefine()
53 if (tp >= trp->lp || tp->type != NAME) in dodefine()
58 np = lookup(tp, 1); in dodefine()
61 error(ERROR, "#defined token %t can't be redefined", tp); in dodefine()
65 tp += 1; in dodefine()
67 if (tp < trp->lp && tp->type == LP && tp->wslen == 0) in dodefine()
72 tp += 1; in dodefine()
75 if (tp->type != RP) in dodefine()
83 if (tp->type != NAME) in dodefine()
[all …]
H A D_tokens.c210 trp->tp = trp->bp; in maketokenrow()
217 int ncur = trp->tp - trp->bp; in growtokenrow()
223 trp->tp = &trp->bp[ncur]; in growtokenrow()
235 tp1 = tr1->tp; in comparetokens()
236 tp2 = tr2->tp; in comparetokens()
260 dtr->tp += ntok; in insertrow()
262 dtr->tp -= ntok; in insertrow()
264 dtr->tp += nrtok; in insertrow()
274 Token *tp = trp->tp; in makespace() local
276 if (tp >= trp->lp) in makespace()
[all …]
H A D_cpp.c76 if (trp->tp >= trp->lp) in process()
78 trp->tp = trp->lp = trp->bp; in process()
81 trp->tp = trp->bp; in process()
83 if (trp->tp->type == END) in process()
92 trp->tp = trp->lp; in process()
101 if (trp->tp->type == SHARP) in process()
103 trp->tp += 1; in process()
126 Token *tp; in control() local
128 tp = trp->tp; in control()
129 if (tp->type != NAME) in control()
[all …]
H A D_lex.c344 register Token *tp, *maxp; in gettokens() local
349 tp = trp->lp; in gettokens()
373 if (tp >= maxp) in gettokens()
375 trp->lp = tp; in gettokens()
376 tp = growtokenrow(trp); in gettokens()
379 tp->type = UNCLASS; in gettokens()
380 tp->t = ip; in gettokens()
381 tp->wslen = 0; in gettokens()
382 tp->flag = 0; in gettokens()
404 tp->type = (unsigned char) GETACT(state); in gettokens()
[all …]
H A D_eval.c256 Token *tp; in eval() local
260 trp->tp++; in eval()
263 if (trp->lp - trp->bp != 4 || trp->tp->type != NAME) in eval()
268 np = lookup(trp->tp, 0); in eval()
271 ntok = trp->tp - trp->bp; in eval()
279 for (rnd = 0, tp = trp->bp + ntok; tp < trp->lp; tp++) in eval()
281 switch (tp->type) in eval()
296 *vp++ = tokval(tp); in eval()
306 *op++ = tp->type; in eval()
316 if (tp->type == MINUS) in eval()
[all …]
H A D_include.c59 trp->tp += 1; in doinclude()
60 if (trp->tp >= trp->lp) in doinclude()
62 if (trp->tp->type != STRING && trp->tp->type != LT) in doinclude()
64 len = trp->tp - trp->bp; in doinclude()
66 trp->tp = trp->bp + len; in doinclude()
68 if (trp->tp->type == STRING) in doinclude()
70 len = trp->tp->len - 2; in doinclude()
73 strncpy(fname, (char *) trp->tp->t + 1, len); in doinclude()
78 if (trp->tp->type == LT) in doinclude()
81 trp->tp++; in doinclude()
[all …]
H A D_nlist.c105 lookup(Token * tp, int install) in lookup() argument
112 for (cp = tp->t, cpe = cp + tp->len; cp < cpe;) in lookup()
118 if (*tp->t == *np->name && tp->len == (unsigned int)np->len in lookup()
119 && strncmp((char *)tp->t, (char *)np->name, tp->len) == 0) in lookup()
130 np->len = tp->len; in lookup()
131 np->name = newstring(tp->t, tp->len, 0); in lookup()
134 quickset(tp->t[0], tp->len > 1 ? tp->t[1] : 0); in lookup()
H A D_mcrvalid.c144 Token * tp; in tokenrow_zeroTokenIdentifiers() local
145 for (tp = trp->bp; tp < trp->lp; tp++) in tokenrow_zeroTokenIdentifiers()
147 tp->identifier = 0; in tokenrow_zeroTokenIdentifiers()
/AOO41X/main/rsc/source/rscpp/
H A Dcpp2.c85 register char *tp; in control() local
100 case L_assert: tp = "assert"; break; in control()
101 case L_define: tp = "define"; break; in control()
102 case L_elif: tp = "elif"; break; in control()
103 case L_else: tp = "else"; break; in control()
104 case L_endif: tp = "endif"; break; in control()
105 case L_if: tp = "if"; break; in control()
106 case L_ifdef: tp = "ifdef"; break; in control()
107 case L_ifndef: tp = "ifndef"; break; in control()
108 case L_include: tp = "include"; break; in control()
[all …]
H A Dcpp6.c1070 register char *tp; in domsg() local
1082 tp = file->buffer; /* Print current file */ in domsg()
1083 fprintf(stderr, "%s", tp); /* name, making sure */ in domsg()
1084 if (tp[strlen(tp) - 1] != '\n') /* there's a newline */ in domsg()
1091 tp = file->buffer; in domsg()
1095 file->line, tp); in domsg()
1096 if (tp[strlen(tp) - 1] != '\n') in domsg()
H A Dcpp5.c508 register TYPES *tp; in dosizeof() local
544 for (tp = basic_types; tp->name != NULLST; tp++) { in dosizeof()
545 if (streq(token, tp->name)) in dosizeof()
548 if (tp->name == NULLST) { in dosizeof()
552 typecode |= tp->type; /* Or in the type bit */ in dosizeof()
H A Dcpp3.c462 register char *tp; local
501 dp->repl = tp = getmem(27);
504 *tp++ = '"';
505 strcpy(tp, ctime((const time_t*)&tvec));
506 tp[24] = '"'; /* Overwrite newline */
/AOO41X/main/basic/source/comp/
H A Dtoken.cxx384 TokenTable *tp; in SbiTokenizer() local
390 for( nToken = 0, tp = pTokTable; tp->t; nToken++, tp++ ) {} in SbiTokenizer()
459 TokenTable* tp = pTokTable; in Symbol() local
460 for( short i = 0; i < nToken; i++, tp++ ) in Symbol()
462 if( tp->t == t ) in Symbol()
464 aSym = String::CreateFromAscii( tp->s ); in Symbol()
492 TokenTable *tp; in Next() local
534 tp = &pTokTable[ lb + delta ]; in Next()
535 StringCompare res = aSym.CompareIgnoreCaseToAscii( tp->s ); in Next()
562 if( !bStartOfLine && (tp->t == NAME || tp->t == LINE) ) in Next()
[all …]
/AOO41X/main/odk/examples/java/Inspector/
H A DHideableTreeModel.java98 TreePath tp = new TreePath(getPathToRoot(node)); in reload() local
99 fireTreeStructureChanged(new TreeModelEvent(this, tp)); in reload()
118 TreePath tp = new TreePath(getPathToRoot(node)); in nodeInserted() local
121 fireTreeNodesInserted(new TreeModelEvent(this, tp, ai, ac)); in nodeInserted()
128 TreePath tp = new TreePath(getPathToRoot(node)); in nodeRemoved() local
131 fireTreeNodesRemoved(new TreeModelEvent(this, tp, ai, ac)); in nodeRemoved()
138 TreePath tp = new TreePath(getPathToRoot(node)); in nodeChanged() local
139 fireTreeNodesChanged(new TreeModelEvent(this, tp, null, null)); in nodeChanged()
181 TreePath tp = (TreePath) aEnum.nextElement(); in addExpandedPaths() local
182 pathlist.add(tp); in addExpandedPaths()
[all …]
H A DSwingTreeControlProvider.java217 TreePath tp = event.getNewLeadSelectionPath(); in inspect()
218 if (tp != null){ in inspect()
/AOO41X/main/sal/osl/os2/
H A Dtime.c44 struct timeval tp; in osl_getSystemTime() local
47 gettimeofday(&tp, NULL); in osl_getSystemTime()
49 TimeValue->Seconds = tp.tv_sec; in osl_getSystemTime()
50 TimeValue->Nanosec = tp.tv_usec * 1000; in osl_getSystemTime()
/AOO41X/main/sal/osl/unx/
H A Dtime.c44 struct timeval tp; in osl_getSystemTime() local
47 gettimeofday(&tp, NULL); in osl_getSystemTime()
49 TimeValue->Seconds = tp.tv_sec; in osl_getSystemTime()
50 TimeValue->Nanosec = tp.tv_usec * 1000; in osl_getSystemTime()
H A Dconditn.c235 struct timeval tp; in osl_waitCondition() local
238 gettimeofday(&tp, NULL); in osl_waitCondition()
240 SET_TIMESPEC( to, tp.tv_sec + pTimeout->Seconds, in osl_waitCondition()
241 tp.tv_usec * 1000 + pTimeout->Nanosec ); in osl_waitCondition()
/AOO41X/main/sal/osl/w32/
H A Dsecurity.c857 TOKEN_PRIVILEGES tp; in Privilege() local
868 if (!LookupPrivilegeValue(NULL, strPrivilege, &tp.Privileges[0].Luid)) in Privilege()
871 tp.PrivilegeCount = 1; in Privilege()
874 tp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED; in Privilege()
876 tp.Privileges[0].Attributes = 0; in Privilege()
881 if (!AdjustTokenPrivileges(hToken, FALSE, &tp, 0, (PTOKEN_PRIVILEGES)NULL, 0)) in Privilege()
/AOO41X/test/testcommon/source/org/openoffice/test/
H A DRun.help10 …-tp [suite name:]<package name>[,package_name]... Define a test suite with test packages separat…
20 run -Dopenoffice.home=/Applications/OpenOffice.org.app/Contents -tp bvt
22 …ts/openoffice/install/linux64/Apache_OpenOffice_4.0.0_Linux_x86-64_install-arc_en-US.tar.gz -tp bvt
H A DRun.java134 NamedRequest request = NamedRequest.tp(s); in main()
/AOO41X/main/soltools/mkdepend/
H A Dinclude.c182 char **tp = cp; local
185 *tp++ = *fp; /* move all the pointers down */
/AOO41X/main/writerfilter/qa/cppunittests/odiapi/
H A DtestProperty.cxx610 Property::Pointer_t tp = createTwipsProperty(NS_style::LN_position, "0,1 cm"); in testCreateInvalidTwipsProperty() local
623 Property::Pointer_t tp = createTwipsProperty(NS_style::LN_position, ""); in testCreateInvalidTwipsProperty2() local
636 Property::Pointer_t tp = createTwipsProperty(NS_style::LN_position, " cm"); in testCreateInvalidTwipsProperty3() local
/AOO41X/main/migrationanalysis/src/driver_docs/sources/word/
H A DMigrationAnalyser.cls1320 Dim tp As Single
1340 tp = p.Range.ListFormat.ListTemplate.ListLevels.item(listLvl).TabPosition
1347 If tp <> customTabPos Then
/AOO41X/test/testcommon/source/org/openoffice/test/common/
H A DNamedRequest.java88 public static NamedRequest tp(String arg) { in tp() method in NamedRequest

12