HomeSort by relevance Sort by last modified time
    Searched refs:TOKEN (Results 1 - 25 of 63) sorted by null

1 2 3

  /external/libmojo/mojo/public/tools/bindings/pylib/mojom/parse/
lexer.py 23 from ply.lex import TOKEN
47 def _error(self, msg, token):
48 raise LexError(self.filename, msg, token.lineno)
203 @TOKEN(floating_constant)
207 @TOKEN(hex_constant)
211 @TOKEN(octal_constant_disallowed)
216 @TOKEN(decimal_constant)
222 @TOKEN(bad_string_literal)
228 @TOKEN(octal_or_hex_ordinal_disallowed)
233 @TOKEN(ordinal
    [all...]
  /external/e2fsprogs/lib/ss/
parse.c 25 enum parse_mode { WHITESPACE, TOKEN, QUOTED_STRING };
92 /* random-token mode */
93 parse_mode = TOKEN;
106 while (parse_mode == TOKEN) {
138 parse_mode = TOKEN;
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
MediaType.java 28 private static final String TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)";
30 private static final Pattern TYPE_SUBTYPE = Pattern.compile(TOKEN + "/" + TOKEN);
32 ";\\s*(?:" + TOKEN + "=(?:" + TOKEN + "|" + QUOTED + "))?");
65 ? parameter.group(2) // Value is a token.
  /cts/tests/tests/view/src/android/view/cts/
ChoreographerTest.java 45 private static final Object TOKEN = new Object();
96 // If the token matches, the the callback should be removed.
100 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
102 Choreographer.CALLBACK_ANIMATION, null, TOKEN);
106 // If the action and token matches, then the callback should be removed.
107 // If only the token matches, then the callback should not be removed.
109 Choreographer.CALLBACK_ANIMATION, addedCallback1, TOKEN);
111 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
113 Choreographer.CALLBACK_ANIMATION, removedCallback, TOKEN);
150 // If the token matches, the the callback should be removed
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/
SyntheticPasswordTests.java 244 final String TOKEN = "some-high-entropy-secure-token";
248 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID);
254 mService.setLockCredentialWithToken(PATTERN, LockPatternUtils.CREDENTIAL_TYPE_PATTERN, handle, TOKEN.getBytes(), PRIMARY_USER_ID);
264 final String TOKEN = "some-high-entropy-secure-token";
268 long handle = mService.addEscrowToken(TOKEN.getBytes(), PRIMARY_USER_ID);
274 mService.setLockCredentialWithToken(null, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, handle, TOKEN.getBytes(), PRIMARY_USER_ID);
275 mService.setLockCredentialWithToken(PATTERN, LockPatternUtils.CREDENTIAL_TYPE_PASSWORD, handle, TOKEN.getBytes(), PRIMARY_USER_ID);
286 final String TOKEN = "some-high-entropy-secure-token"
    [all...]
  /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
ContactsAsyncHelperTest.java 52 private static final int TOKEN = 4847524;
59 public void onImageLoadComplete(int token, Drawable photo,
94 cah.startObtainPhotoAsync(TOKEN, mContext, null, mListener, COOKIE);
106 cah.startObtainPhotoAsync(TOKEN, mContext, SAMPLE_CONTACT_PHOTO_URI, mListener, COOKIE);
108 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN),
115 cah.startObtainPhotoAsync(TOKEN, mContext, SAMPLE_CONTACT_PHOTO_URI, mListener, COOKIE);
120 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN),
134 cah.startObtainPhotoAsync(TOKEN, mContext, SAMPLE_CONTACT_PHOTO_URI_SMALL,
140 verify(mListener, timeout(TEST_TIMEOUT)).onImageLoadComplete(eq(TOKEN),
  /cts/tests/tests/provider/src/android/provider/cts/contacts/account/
StaticAccountAuthenticator.java 37 private static final String TOKEN = "asdlkjfslkjfdklj";
44 sAccountBundle.putString(AccountManager.KEY_AUTHTOKEN, TOKEN);
  /development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
MainActivity.java 100 getSupportLoaderManager().initLoader(SmsQuery.TOKEN, null, this);
171 if (i == SmsQuery.TOKEN) {
181 if (cursorLoader.getId() == SmsQuery.TOKEN && cursor != null) {
197 int TOKEN = 1;
  /developers/build/
github.sh 14 token=
26 -t | --token [github_auth_token]
27 Input an auth token to access the googlesamples GitHub org
47 ./prebuilts/gradle folder and prompt for an auth token when needed.\e[0m\n"
77 -t|--token)
79 token="$2"; shift
256 ## If the user hasn't supplied a token via parameter, ask now
258 if ! [ -n "$token" ]
261 Input a valid googlesamples GitHub access token to continue: " -r
262 token=$REPL
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/
AddressListParser.jj 424 /*@egen*/ Token t; }
451 /*@egen*/ Token t; }
479 TOKEN :
500 // different token type than inner ")" instances.
518 TOKEN :
535 // to make sure matchedToken.token = token.toString()
572 TOKEN :
580 TOKEN :
590 TOKEN
    [all...]
  /packages/apps/Nfc/nci/jni/extns/pn54x/src/utils/
phNxpConfig.cpp 197 TOKEN,
207 string token; local
251 token.erase ();
253 state = TOKEN;
254 token.push_back (c);
257 case TOKEN:
260 token.push_back ('\0');
265 token.push_back (c);
380 pParam = new CNxpNfcParam (token.c_str (), strValue);
382 pParam = new CNxpNfcParam (token.c_str (), numValue)
    [all...]
  /system/nfc/halimpl/bcm2079x/adaptation/
config.cpp 171 TOKEN,
180 string token; local
216 token.erase();
218 state = TOKEN;
219 token.push_back(c);
222 case TOKEN:
224 token.push_back('\0');
227 token.push_back(c);
295 pParam = new CNfcParam(token.c_str(), strValue);
297 pParam = new CNfcParam(token.c_str(), numValue)
    [all...]
  /system/nfc/src/adaptation/
config.cpp 171 TOKEN,
180 string token; local
225 token.erase();
227 state = TOKEN;
228 token.push_back(c);
231 case TOKEN:
233 token.push_back('\0');
236 token.push_back(c);
304 pParam = new CNfcParam(token.c_str(), strValue);
306 pParam = new CNfcParam(token.c_str(), numValue)
    [all...]
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/bytecode/
AndroidTranslator.java 161 private static final String TOKEN = "__FromAndroid";
177 return prefix.endsWith(TOKEN);
181 return prefix + TOKEN + suffix;
185 return prefix.replace(TOKEN, "") + suffix;
  /system/nfc/halimpl/pn54x/utils/
phNxpConfig.cpp 207 TOKEN,
217 string token; local
253 token.erase();
255 state = TOKEN;
256 token.push_back(c);
259 case TOKEN:
261 token.push_back('\0');
264 token.push_back(c);
346 pParam = new CNfcParam(token.c_str(), strValue);
348 pParam = new CNfcParam(token.c_str(), numValue)
    [all...]
  /external/ImageMagick/scripts/
format_c_api_docs 536 TOKEN: foreach $token ( split(' ', $_ ) ) {
538 if ( $token eq $keyword ) {
541 next TOKEN;
544 $html .= "$token ";
  /external/swiftshader/src/OpenGL/compiler/
glslang_tab.cpp 137 /* Token type. */
388 #define ES3_ONLY(TOKEN, LINE, REASON) { \
390 context->error(LINE, REASON " supported in GLSL ES 3.00 only ", TOKEN); \
658 /* YYTRANSLATE[TOKEN-NUM] -- Symbol number corresponding to TOKEN-NUM
803 /* YYTOKNUM[NUM] -- (External) token number corresponding to the
804 (internal) symbol number NUM (which must be that of a token). */
    [all...]
glslang.y 152 #define ES3_ONLY(TOKEN, LINE, REASON) { \
154 context->error(LINE, REASON " supported in GLSL ES 3.00 only ", TOKEN); \
160 %token <lex> INVARIANT HIGH_PRECISION MEDIUM_PRECISION LOW_PRECISION PRECISION
161 %token <lex> ATTRIBUTE CONST_QUAL BOOL_TYPE FLOAT_TYPE INT_TYPE UINT_TYPE
162 %token <lex> BREAK CONTINUE DO ELSE FOR IF DISCARD RETURN SWITCH CASE DEFAULT
163 %token <lex> BVEC2 BVEC3 BVEC4 IVEC2 IVEC3 IVEC4 VEC2 VEC3 VEC4 UVEC2 UVEC3 UVEC4
164 %token <lex> MATRIX2 MATRIX3 MATRIX4 IN_QUAL OUT_QUAL INOUT_QUAL UNIFORM VARYING
165 %token <lex> MATRIX2x3 MATRIX3x2 MATRIX2x4 MATRIX4x2 MATRIX3x4 MATRIX4x3
166 %token <lex> CENTROID FLAT SMOOTH
167 %token <lex> STRUCT VOID_TYPE WHIL
    [all...]
  /external/llvm/lib/Target/Lanai/AsmParser/
LanaiAsmParser.cpp 90 TOKEN,
100 struct Token {
121 struct Token Tok;
133 // getStartLoc - Gets location of the first token of this operand
136 // getEndLoc - Gets location of the last token of this operand
191 bool isToken() const override { return Kind == TOKEN; }
547 case TOKEN:
548 OS << "Token: " << getToken() << "\n";
568 auto Op = make_unique<LanaiOperand>(TOKEN);
683 Parser.Lex(); // Eat identifier token
    [all...]
  /cts/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/testtype/
ModuleRepoTest.java 61 private static final String TOKEN =
63 + "<option name=\"token\" value=\"%s\" />\n"
163 private void createConfig(File testsDir, String name, String token) throws IOException {
164 createConfig(testsDir, name, token, TEST_STUB);
167 private void createConfig(File testsDir, String name, String token, String moduleClass)
174 if (token != null) {
175 preparer = String.format(TOKEN, token);
200 assertTrue("Unexpected device token", tokens.contains(FOOBAR_TOKEN));
215 * Test sharding with 2 shards of the 4 non token modules
    [all...]
  /external/llvm/lib/AsmParser/
LLLexer.cpp 318 /// ReadVarName - Read the rest of a token containing a variable name.
720 TYPEKEYWORD("token", Type::getTokenTy(Context));
787 #define DWKEYWORD(TYPE, TOKEN) \
791 return lltok::TOKEN; \
821 // Bad token, return it as an error.
862 // Bad token, return it as an error.
  /external/protobuf/java/core/src/main/java/com/google/protobuf/
TextFormat.java 607 * ":"), {@code Scanner} would recognize it only as a single token.
623 // The character index within this.text at which the current token begins.
626 // The line and column numbers of the current token.
630 // The line and column numbers of the previous token (allows throwing
639 private static final Pattern TOKEN = Pattern.compile(
677 /** Advance to the next token. */
693 // Match the next token.
698 matcher.usePattern(TOKEN);
714 * token.
724 * If the next token exactly matches {@code token}, consume it and retur
    [all...]
  /external/selinux/python/sepolgen/src/sepolgen/
lex.py 33 # Regular expression used to match valid token names
45 # Exception thrown when invalid token encountered and no default error
52 # Token class
67 # token() - Get the next token
247 # token() - Return the next token from the Lexer
253 def token(self): member in class:Lexer
274 # Create a token for return
287 # If no token type was set, it's an ignored toke
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/sepolgen/
lex.py 33 # Regular expression used to match valid token names
45 # Exception thrown when invalid token encountered and no default error
52 # Token class
67 # token() - Get the next token
247 # token() - Return the next token from the Lexer
253 def token(self): member in class:Lexer
274 # Create a token for return
287 # If no token type was set, it's an ignored toke
    [all...]
  /external/libmojo/third_party/ply/
lex.py 57 # This regular expression is used to match valid token names
60 # Exception thrown when invalid token encountered and no default error
68 # Token class. This class is used to represent the tokens produced.
107 # token() - Get the next token
298 # opttoken() - Return the next token from the Lexer
304 def token(self): member in class:Lexer
322 # Create a token for return
332 # If no token type was set, it's an ignored token
    [all...]

Completed in 1308 milliseconds

1 2 3