Home
last modified time | relevance | path

Searched refs:getToken (Results 1 – 25 of 4290) sorted by relevance

12345678910>>...172

/dports/math/apache-commons-math/commons-math3-3.6.1-src/src/test/java/org/apache/commons/math3/geometry/euclidean/threed/
H A DPLYParser.java85 switch (fields.get(0).getToken()) { in PLYParser()
88 fields.get(1).getToken() != Token.ASCII || in PLYParser()
89 fields.get(2).getToken() != Token.UNKNOWN || in PLYParser()
101 … (fields.get(1).getToken() != Token.VERTEX && fields.get(1).getToken() != Token.FACE) || in PLYParser()
102 fields.get(2).getToken() != Token.UNKNOWN) { in PLYParser()
105 if (fields.get(1).getToken() == Token.VERTEX) { in PLYParser()
129 if (fields.get(2).getToken() == Token.X) { in PLYParser()
174 fields.get(xIndex).getToken() != Token.UNKNOWN || in PLYParser()
175 fields.get(yIndex).getToken() != Token.UNKNOWN || in PLYParser()
176 fields.get(zIndex).getToken() != Token.UNKNOWN) { in PLYParser()
[all …]
/dports/textproc/go-yq/yq-4.7.0/vendor/github.com/timtadh/lexmachine/examples/sensors/
H A Dmain.go30 getToken := func(tokenType int) lexmachine.Action {
36 lexer.Add([]byte("@"), getToken(tokmap["AT"]))
37 lexer.Add([]byte(`\+`), getToken(tokmap["PLUS"]))
38 lexer.Add([]byte(`\*`), getToken(tokmap["STAR"]))
39 lexer.Add([]byte("-"), getToken(tokmap["DASH"]))
40 lexer.Add([]byte("/"), getToken(tokmap["SLASH"]))
42 lexer.Add([]byte(`\^`), getToken(tokmap["CARROT"]))
44 lexer.Add([]byte(","), getToken(tokmap["COMMA"]))
45 lexer.Add([]byte(`\(`), getToken(tokmap["LPAREN"]))
47 lexer.Add([]byte("bus"), getToken(tokmap["BUS"]))
[all …]
/dports/net/kea/kea-2.0.1/src/lib/dns/tests/
H A Dmaster_lexer_state_unittest.cc318 stringTokenCheck("closing", s_string.getToken(lexer)); in TEST_F()
402 stringTokenCheck("", s_string.getToken(lexer), true); in TEST_F()
445 s_qstring.getToken(lexer).getErrorCode()); in TEST_F()
485 EXPECT_EQ(0, s_number.getToken(lexer).getNumber()); in TEST_F()
489 EXPECT_EQ(1, s_number.getToken(lexer).getNumber()); in TEST_F()
493 EXPECT_EQ(12345, s_number.getToken(lexer).getNumber()); in TEST_F()
502 s_number.getToken(lexer).getErrorCode()); in TEST_F()
507 s_number.getToken(lexer).getErrorCode()); in TEST_F()
511 EXPECT_EQ(5, s_number.getToken(lexer).getNumber()); in TEST_F()
515 EXPECT_EQ(42, s_number.getToken(lexer).getNumber()); in TEST_F()
[all …]
/dports/games/gtkradiant/GPL/GtkRadiant/radiant/
H A Declass_doom3.cpp92 tokeniser.getToken(); in EntityClassDoom3_parseUnknown()
187 tokeniser.getToken(); in EntityClassDoom3_parseModel()
200 tokeniser.getToken(); in EntityClassDoom3_parseModel()
201 tokeniser.getToken(); in EntityClassDoom3_parseModel()
202 tokeniser.getToken(); in EntityClassDoom3_parseModel()
209 tokeniser.getToken(); in EntityClassDoom3_parseModel()
363 tokeniser.getToken(); in EntityClassDoom3_parseEntityDef()
408 tokeniser.getToken(); in EntityClassDoom3_parseEntityDef()
484 tokeniser.getToken(); in EntityClassDoom3_parseEntityDef()
489 tokeniser.getToken(); in EntityClassDoom3_parseEntityDef()
[all …]
H A Declass_fgd.cpp108 buffer << tokeniser.getToken(); in EntityClassFGD_parseSplitString()
225 tokeniser.getToken(); in EntityClassFGD_parseClass()
227 tokeniser.getToken(); in EntityClassFGD_parseClass()
229 tokeniser.getToken(); in EntityClassFGD_parseClass()
238 tokeniser.getToken(); in EntityClassFGD_parseClass()
246 tokeniser.getToken(); in EntityClassFGD_parseClass()
249 tokeniser.getToken(); in EntityClassFGD_parseClass()
293 tokeniser.getToken(); in EntityClassFGD_parseClass()
334 tokeniser.getToken(); in EntityClassFGD_parseClass()
570 tokeniser.getToken(); in EntityClassFGD_parse()
[all …]
/dports/x11-toolkits/plib/plib-1.8.5/src/psl/
H A DpslCompiler.cxx105 getToken ( c ) ; in genReturnStatement()
468 getToken ( c ) ; in genIfStatement()
476 getToken ( c ) ; in genIfStatement()
507 getToken ( c ) ; in genFunctionCall()
517 getToken ( c ) ; in genFunctionCall()
559 getToken ( c ) ; in genCompoundStatement()
581 getToken ( c ) ; in genStatement()
650 getToken ( s ) ; in genLocalVarDecl()
654 getToken ( c ) ; in genLocalVarDecl()
710 getToken ( c ) ; in genGlobalVarDecl()
[all …]
/dports/games/ufoai/ufoai-2.5-source/src/tools/radiant/radiant/material/
H A DMaterialShader.cpp96 token = tokeniser.getToken(); in parseMaterial()
98 token = tokeniser.getToken(); in parseMaterial()
100 token = tokeniser.getToken(); in parseMaterial()
107 token = tokeniser.getToken(); in parseMaterial()
109 token = tokeniser.getToken(); in parseMaterial()
111 token = tokeniser.getToken(); in parseMaterial()
112 token = tokeniser.getToken(); in parseMaterial()
120 token = tokeniser.getToken(); in parseMaterial()
122 token = tokeniser.getToken(); in parseMaterial()
124 token = tokeniser.getToken(); in parseMaterial()
[all …]
/dports/java/phpeclipse/plugins/net.sourceforge.phpeclipse.xml.ui/src/net/sourceforge/phpeclipse/xml/ui/internal/text/
H A DXMLPartitionScanner.java105 return getToken(null); in nextToken()
115 return getToken(XML_TAG); in nextToken()
124 return getToken(XML_TAG); in nextToken()
173 return getToken(null); in nextToken()
180 return getToken(null); in nextToken()
208 return getToken(DTD_INTERNAL); in nextToken()
221 return getToken(XML_TAG); in nextTagToken()
254 return getToken(XML_TAG); in nextTagToken()
261 return getToken(XML_TAG); in nextTagToken()
299 return getToken(XML_DECL); in nextDeclToken()
[all …]
H A DPHPXMLPartitionScanner.java103 return getToken(null); in nextToken()
113 return getToken(XML_TAG); in nextToken()
124 return getToken(XML_TAG); in nextToken()
173 return getToken(null); in nextToken()
180 return getToken(null); in nextToken()
208 return getToken(DTD_INTERNAL); in nextToken()
221 return getToken(XML_TAG); in nextTagToken()
254 return getToken(XML_TAG); in nextTagToken()
261 return getToken(XML_TAG); in nextTagToken()
299 return getToken(XML_DECL); in nextDeclToken()
[all …]
/dports/www/elgg/elgg-3.3.23/vendor/elgg/elgg/engine/tests/phpunit/unit/
H A DElggCryptoUnitTest.php57 $t1 = $this->getHmac()->getHmac(1234, 'sha256', $key)->getToken();
58 $t2 = $this->getHmac()->getHmac('1234', 'sha256', $key)->getToken();
66 $t1 = $this->getHmac()->getHmac('1234', 'sha256', $key)->getToken();
67 $t2 = $this->getHmac()->getHmac('1235', 'sha256', $key)->getToken();
76 $t1 = $this->getHmac()->getHmac('1234', 'sha256', $key1)->getToken();
77 $t2 = $this->getHmac()->getHmac('1234', 'sha256', $key2)->getToken();
85 $token = $this->getHmac()->getHmac([12, 34], 'sha256', $key)->getToken();
94 $t1 = $this->getHmac()->getHmac([12, 34], 'sha256', $key)->getToken();
95 $t2 = $this->getHmac()->getHmac([123, 4], 'sha256', $key)->getToken();
103 $t1 = $this->getHmac()->getHmac([12, 34], 'sha256', $key)->getToken();
[all …]
/dports/games/netradiant/netradiant-20150621-src/radiant/
H A Declass_fgd.cpp203 tokeniser.getToken(); in EntityClassFGD_parseClass()
205 tokeniser.getToken(); in EntityClassFGD_parseClass()
207 tokeniser.getToken(); in EntityClassFGD_parseClass()
215 tokeniser.getToken(); in EntityClassFGD_parseClass()
222 tokeniser.getToken(); in EntityClassFGD_parseClass()
225 tokeniser.getToken(); in EntityClassFGD_parseClass()
264 tokeniser.getToken(); in EntityClassFGD_parseClass()
302 tokeniser.getToken(); in EntityClassFGD_parseClass()
306 tokeniser.getToken(); in EntityClassFGD_parseClass()
515 tokeniser.getToken(); in EntityClassFGD_parse()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
96 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
102 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
114 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
129 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
155 if (getToken().is(Token::string)) in parseLocationInstance()
159 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
163 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
167 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
H A DTypeParser.cpp23 switch (getToken().getKind()) { in parseOptionalType()
51 if (getToken().is(Token::l_paren)) in parseType()
62 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes()
97 if (getToken().is(Token::r_paren)) in parseTypeListParens()
134 assert(getToken().is(Token::l_paren)); in parseFunctionType()
216 auto typeLoc = getToken().getLoc(); in parseMemRefType()
233 if (getToken().is(Token::integer)) { in parseMemRefType()
249 if (getToken().is(Token::kw_offset)) { in parseMemRefType()
314 switch (getToken().getKind()) { in parseNonFunctionType()
465 return emitError(getToken().getLoc(), in parseVectorType()
[all …]
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
H A DTypeParser.cpp23 switch (getToken().getKind()) { in parseOptionalType()
51 if (getToken().is(Token::l_paren)) in parseType()
62 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes()
97 if (getToken().is(Token::r_paren)) in parseTypeListParens()
134 assert(getToken().is(Token::l_paren)); in parseFunctionType()
216 auto typeLoc = getToken().getLoc(); in parseMemRefType()
233 if (getToken().is(Token::integer)) { in parseMemRefType()
249 if (getToken().is(Token::kw_offset)) { in parseMemRefType()
314 switch (getToken().getKind()) { in parseNonFunctionType()
465 return emitError(getToken().getLoc(), in parseVectorType()
[all …]
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/lib/Parser/
H A DTypeParser.cpp23 switch (getToken().getKind()) { in parseOptionalType()
51 if (getToken().is(Token::l_paren)) in parseType()
62 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes()
97 if (getToken().is(Token::r_paren)) in parseTypeListParens()
134 assert(getToken().is(Token::l_paren)); in parseFunctionType()
214 auto typeLoc = getToken().getLoc(); in parseMemRefType()
231 if (getToken().is(Token::integer)) { in parseMemRefType()
247 if (getToken().is(Token::kw_offset)) { in parseMemRefType()
312 switch (getToken().getKind()) { in parseNonFunctionType()
458 return emitError(getToken().getLoc(), in parseVectorType()
[all …]
H A DLocationParser.cpp60 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
61 getToken().getSpelling() != "at") in parseCallSiteLocation()
115 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
121 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
133 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
148 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
174 if (getToken().is(Token::string)) in parseLocationInstance()
178 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
182 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
186 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
/dports/security/softhsm2/softhsm-2.6.1/src/lib/slot_mgr/test/
H A DSlotManagerTests.cpp101 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testNoExistingTokens()
153 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testExistingTokens()
166 CPPUNIT_ASSERT(slotManager.getSlots()[testList[1]]->getToken() != NULL); in testExistingTokens()
179 CPPUNIT_ASSERT(slotManager.getSlots()[testList[2]]->getToken() != NULL); in testExistingTokens()
223 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testInitialiseTokenInLastSlot()
240 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testInitialiseTokenInLastSlot()
281 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testInitialiseTokenInLastSlot()
295 CPPUNIT_ASSERT(slotManager.getSlots()[testList[1]]->getToken() != NULL); in testInitialiseTokenInLastSlot()
347 CPPUNIT_ASSERT(slotManager.getSlots()[testList[0]]->getToken() != NULL); in testReinitialiseExistingToken()
360 CPPUNIT_ASSERT(slotManager.getSlots()[testList[1]]->getToken() != NULL); in testReinitialiseExistingToken()
[all …]
/dports/lang/bf2c/bf2c-1.3.1/
H A Dparsetree.cc160 if (tree->getToken() == NULL) { in build()
175 if ((*base)->getToken() != NULL) { in pStat()
195 if ((*base)->getToken() == NULL) { in pProg()
299 (tree->getToken()->getType() != ttDo) && in removeTail()
356 Token *t = current->getToken(); in packTokens()
367 (*base)->getToken()-> in packTokens()
378 t2 = (*base)->getToken(); in packTokens()
414 t = (*base)->getToken(); in packTokens()
453 t = current->getToken(); in packTokens()
542 if (list->getToken() == NULL) { in tryMulzero()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/Parser/
H A DLocationParser.cpp42 if (getToken().isNot(Token::bare_identifier) || in parseCallSiteLocation()
43 getToken().getSpelling() != "at") in parseCallSiteLocation()
97 auto str = getToken().getStringValue(); in parseNameOrFileLineColLocation()
103 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
115 if (getToken().isNot(Token::integer)) in parseNameOrFileLineColLocation()
130 auto childSourceLoc = getToken().getLoc(); in parseNameOrFileLineColLocation()
156 if (getToken().is(Token::string)) in parseLocationInstance()
160 if (!getToken().is(Token::bare_identifier)) in parseLocationInstance()
164 if (getToken().getSpelling() == "callsite") in parseLocationInstance()
168 if (getToken().getSpelling() == "fused") in parseLocationInstance()
[all …]
H A DTypeParser.cpp23 switch (getToken().getKind()) { in parseOptionalType()
51 if (getToken().is(Token::l_paren)) in parseType()
62 if (getToken().is(Token::l_paren)) in parseFunctionResultTypes()
97 if (getToken().is(Token::r_paren)) in parseTypeListParens()
134 assert(getToken().is(Token::l_paren)); in parseFunctionType()
214 auto typeLoc = getToken().getLoc(); in parseMemRefType()
231 if (getToken().is(Token::integer)) { in parseMemRefType()
247 if (getToken().is(Token::kw_offset)) { in parseMemRefType()
312 switch (getToken().getKind()) { in parseNonFunctionType()
457 return emitError(getToken().getLoc(), in parseVectorType()
[all …]

12345678910>>...172