/external/mesa3d/src/gallium/auxiliary/tgsi/ |
tgsi_text.h | 42 struct tgsi_token *tokens,
|
tgsi_dump.h | 45 const struct tgsi_token *tokens, 51 tgsi_dump_to_file(const struct tgsi_token *tokens, uint flags, FILE *file); 55 const struct tgsi_token *tokens,
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
StringUtils.java | 11 * Returns a string containing the tokens joined by delimiters. 15 public static String joinAndBidiFormat(String delimiter, Iterable<String> tokens) { 16 return joinAndBidiFormat(delimiter, tokens, BidiFormatter.getInstance()); 20 * Returns a string containing the tokens joined by delimiters. 25 String delimiter, Iterable<String> tokens, BidiFormatter bidiFormatter) { 28 for (String token : tokens) {
|
/hardware/qcom/display/msm8226/libqdutils/ |
mdp_version.cpp | 175 char *tokens[10]; local 176 memset(tokens, 0, sizeof(tokens)); 178 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, 180 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 181 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); 186 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 187 mPanelInfo.mLeftAlign = atoi(tokens[1]); 190 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 191 mPanelInfo.mWidthAlign = atoi(tokens[1]) 252 char *tokens[10]; local [all...] |
/external/python/cpython3/Tools/scripts/ |
abitype.py | 16 for t,v in tokens: 40 if tokens[pos][1] == 'static': 45 name = tokens[pos][1] 47 while tokens[pos][1] != '{': 51 while tokens[pos][0] in ('ws', 'comment'): 53 if tokens[pos][1] != 'PyVarObject_HEAD_INIT': 55 while tokens[pos][1] != ')': 58 # field definitions: various tokens, comma-separated 61 while tokens[pos][0] in ('ws', 'comment'): 64 while tokens[end][1] not in ',}' 169 tokens = [] variable [all...] |
/hardware/qcom/display/msm8084/libqdutils/ |
mdp_version.cpp | 169 char *tokens[10]; local 170 memset(tokens, 0, sizeof(tokens)); 172 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, 174 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 175 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); 180 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 181 mPanelInfo.mLeftAlign = atoi(tokens[1]); 184 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 185 mPanelInfo.mWidthAlign = atoi(tokens[1]) 246 char *tokens[10]; local [all...] |
/hardware/qcom/display/msm8994/libqdutils/ |
mdp_version.cpp | 198 char *tokens[10]; local 199 memset(tokens, 0, sizeof(tokens)); 201 if(!tokenizeParams(readLine, TOKEN_PARAMS_DELIM, tokens, 203 if(!strncmp(tokens[0], "pu_en", strlen("pu_en"))) { 204 mPanelInfo.mPartialUpdateEnable = atoi(tokens[1]); 209 if(!strncmp(tokens[0], "xstart", strlen("xstart"))) { 210 mPanelInfo.mLeftAlign = atoi(tokens[1]); 213 if(!strncmp(tokens[0], "walign", strlen("walign"))) { 214 mPanelInfo.mWidthAlign = atoi(tokens[1]) 295 char *tokens[10]; local [all...] |
/frameworks/base/media/java/android/media/ |
ISessionTokensListener.aidl | 22 * Listens for changes to the list of session tokens. 26 void onSessionTokensChanged(in List<Bundle> tokens);
|
/external/google-breakpad/src/processor/ |
windows_frame_info.h | 125 std::vector<char*> tokens; local 126 if (!Tokenize(&buffer[0], " \r\n", 11, &tokens)) 129 type = strtol(tokens[0], NULL, 16); 133 rva = strtoull(tokens[1], NULL, 16); 134 code_size = strtoull(tokens[2], NULL, 16); 135 uint32_t prolog_size = strtoul(tokens[3], NULL, 16); 136 uint32_t epilog_size = strtoul(tokens[4], NULL, 16); 137 uint32_t parameter_size = strtoul(tokens[5], NULL, 16); 138 uint32_t saved_register_size = strtoul(tokens[6], NULL, 16); 139 uint32_t local_size = strtoul(tokens[7], NULL, 16) [all...] |
/system/tools/hidl/docs/src/parser/elements/ |
EntryCollectionParser.kt | 34 constructor(tokens: List<Token>) : this(tokens.listIterator()) 41 //use all the tokens 43 val tokens = mutableListOf<Token>() 45 tokens.add(iter.next()) 47 return tokens 50 override fun parseTokens(tokens: List<Token>) { 51 val iter = tokens.listIterator()
|
/prebuilts/ndk/r16/sources/third_party/shaderc/third_party/glslang/glslang/MachineIndependent/preprocessor/ |
PpAtom.cpp | 97 } tokens[] = { member in namespace:__anon751 163 // Add single character tokens to the atom table: 174 // Add multiple character scanner tokens : 175 for (size_t ii = 0; ii < sizeof(tokens)/sizeof(tokens[0]); ii++) 176 addAtomFixed(tokens[ii].str, tokens[ii].val);
|
/hardware/qcom/display/msm8909/sdm/libs/core/fb/ |
hw_info.cpp | 71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, 81 tokens[index++] = tmp_token; 104 char *tokens[max_count] = { NULL }; local 107 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) { 108 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { 109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); 110 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { 111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); 112 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { 113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])) 152 char *tokens[max_count] = { NULL }; local 369 char *tokens[max_count] = { NULL }; local 417 char *tokens[max_count] = { NULL }; local [all...] |
/external/antlr/antlr-3.4/runtime/JavaScript/tests/functional/ |
rhino-python.extensions | 33 tokens should be sent to the parser sometimes without a corresponding 48 This TokenStream normally just passes tokens through to the parser. 63 A queue of tokens is built up to hold multiple DEDENT tokens that 77 /** The queue of tokens */ 78 this.tokens = []; 117 if (this.tokens.length>0 ) { 118 var t = this.tokens[0]; 119 this.tokens.splice(0,1); 137 this.tokens = this.tokens.concat(hiddenTokens) [all...] |
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
hw_info.cpp | 71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, 81 tokens[index++] = tmp_token; 104 char *tokens[max_count] = { NULL }; local 107 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) { 108 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { 109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); 110 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { 111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); 112 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { 113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])) 152 char *tokens[max_count] = { NULL }; local 365 char *tokens[max_count] = { NULL }; local 413 char *tokens[max_count] = { NULL }; local [all...] |
/hardware/qcom/display/msm8998/sdm/libs/core/fb/ |
hw_info.cpp | 71 int HWInfo::ParseString(const char *input, char *tokens[], const uint32_t max_token, 81 tokens[index++] = tmp_token; 104 char *tokens[max_count] = { NULL }; local 107 if (!ParseString(line.c_str(), tokens, max_count, ":, =\n", &token_count)) { 108 if (!strncmp(tokens[0], "default_pipe", strlen("default_pipe"))) { 109 bw_info->pipe_bw_limit[kBwDefault] = UINT32(atoi(tokens[1])); 110 } else if (!strncmp(tokens[0], "camera_pipe", strlen("camera_pipe"))) { 111 bw_info->pipe_bw_limit[kBwCamera] = UINT32(atoi(tokens[1])); 112 } else if (!strncmp(tokens[0], "vflip_pipe", strlen("vflip_pipe"))) { 113 bw_info->pipe_bw_limit[kBwVFlip] = UINT32(atoi(tokens[1])) 152 char *tokens[max_count] = { NULL }; local 364 char *tokens[max_count] = { NULL }; local 412 char *tokens[max_count] = { NULL }; local [all...] |
/external/snakeyaml/src/test/java/org/pyyaml/ |
CanonicalScanner.java | 26 import org.yaml.snakeyaml.tokens.AliasToken; 27 import org.yaml.snakeyaml.tokens.AnchorToken; 28 import org.yaml.snakeyaml.tokens.DirectiveToken; 29 import org.yaml.snakeyaml.tokens.DocumentStartToken; 30 import org.yaml.snakeyaml.tokens.FlowEntryToken; 31 import org.yaml.snakeyaml.tokens.FlowMappingEndToken; 32 import org.yaml.snakeyaml.tokens.FlowMappingStartToken; 33 import org.yaml.snakeyaml.tokens.FlowSequenceEndToken; 34 import org.yaml.snakeyaml.tokens.FlowSequenceStartToken; 35 import org.yaml.snakeyaml.tokens.KeyToken 52 public ArrayList<Token> tokens; field in class:CanonicalScanner [all...] |
/external/webp/src/utils/ |
huffman_encode_utils.c | 262 HuffmanTreeToken* tokens, 266 tokens->code = value; 267 tokens->extra_bits = 0; 268 ++tokens; 275 tokens->code = value; 276 tokens->extra_bits = 0; 277 ++tokens; 281 tokens->code = 16; 282 tokens->extra_bits = repetitions - 3; 283 ++tokens; [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
LegacyCommonTokenStream.cs | 43 * The most common stream of tokens is one where every token is buffered up 44 * and tokens are prefiltered for a certain channel (the parser will only 45 * see these tokens and cannot change the filter channel number during the 49 * <remarks>TODO: how to access the full token stream? How to track all tokens matched per rule?</remarks> 61 protected List<IToken> tokens; field in class:Antlr.Runtime.LegacyCommonTokenStream 63 /** <summary>Map<tokentype, channel> to override some Tokens' channel numbers</summary> */ 66 /** <summary>Set<tokentype>; discard any tokens with this type</summary> */ 69 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 72 /** <summary>By default, track all incoming tokens</summary> */ 79 * The index into the tokens list of the current token (next toke [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/ |
LegacyCommonTokenStream.cs | 41 * The most common stream of tokens is one where every token is buffered up 42 * and tokens are prefiltered for a certain channel (the parser will only 43 * see these tokens and cannot change the filter channel number during the 47 * <remarks>TODO: how to access the full token stream? How to track all tokens matched per rule?</remarks> 60 protected List<IToken> tokens; field in class:Antlr.Runtime.LegacyCommonTokenStream 62 /** <summary>Map<tokentype, channel> to override some Tokens' channel numbers</summary> */ 65 /** <summary>Set<tokentype>; discard any tokens with this type</summary> */ 68 /** <summary>Skip tokens on any channel but this one; this is how we skip whitespace...</summary> */ 71 /** <summary>By default, track all incoming tokens</summary> */ 78 * The index into the tokens list of the current token (next toke [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
BufferedTokenStream.java | 35 /** Buffer all input tokens but do on-demand fetching of new tokens from 37 * proper lexing of future tokens. The ST template parser needs this, 43 * tokens to the parser. The stream can't ignore off-channel tokens. 47 * to confuse small moving window of tokens it uses for the full buffer. 57 protected List<Token> tokens = new ArrayList<Token>(100); field in class:BufferedTokenStream 62 /** The index into the tokens list of the current token (next token 63 * to consume). tokens[p] should be LT(1). p=-1 indicates need 108 public int size() { return tokens.size(); [all...] |
LegacyCommonTokenStream.java | 32 /** The most common stream of tokens is one where every token is buffered up 33 * and tokens are prefiltered for a certain channel (the parser will only 34 * see these tokens and cannot change the filter channel number during the 37 * TODO: how to access the full token stream? How to track all tokens matched per rule? 45 protected List tokens; field in class:LegacyCommonTokenStream 47 /** Map<tokentype, channel> to override some Tokens' channel numbers */ 50 /** Set<tokentype>; discard any tokens with this type */ 53 /** Skip tokens on any channel but this one; this is how we skip whitespace... */ 56 /** By default, track all incoming tokens */ 64 /** The index into the tokens list of the current token (next toke [all...] |
/external/clang/test/Preprocessor/ |
macro_paste_msextensions.c | 13 #define comment /##/ dead tokens live here 14 // expected-warning@+1 {{pasting two '/' tokens}} 21 #define nested(x) int x comment cute little dead tokens... 23 // expected-warning@+1 {{pasting two '/' tokens}} 24 nested(baz) rise of the dead tokens
|
/external/webp/src/enc/ |
token_enc.c | 114 VP8TBuffer* const tokens) { 122 if (!AddToken(tokens, last >= 0, base_id + 0, s + 0)) { 130 if (!AddToken(tokens, v != 0, base_id + 1, s + 1)) { 135 if (!AddToken(tokens, v > 1, base_id + 2, s + 2)) { 139 if (!AddToken(tokens, v > 4, base_id + 3, s + 3)) { 140 if (AddToken(tokens, v != 2, base_id + 4, s + 4)) { 141 AddToken(tokens, v == 4, base_id + 5, s + 5); 143 } else if (!AddToken(tokens, v > 10, base_id + 6, s + 6)) { 144 if (!AddToken(tokens, v > 6, base_id + 7, s + 7)) { 145 AddConstantToken(tokens, v == 6, 159) 208 const token_t* const tokens = TOKEN_DATA(p); local 234 const token_t* const tokens = TOKEN_DATA(p); local [all...] |
/system/tools/hidl/docs/src/lexer/ |
DocLexer.kt | 27 val tokens = mutableListOf<Token>() 44 TokenGrammar.EMPTY_LINE.value -> tokens.add(TokenGrammar.newToken("", TokenGrammar.EMPTY_LINE)) 48 tokens.add(TokenGrammar.newToken(token)) //'@' 52 tokens.add(TokenGrammar.newToken(scanner.next())) 61 tokens.add(TokenGrammar.newToken(token, category)) 63 //tokens.add(TokenGrammar.newToken(token, TokenCategory.DocWord)) 68 return tokens.toList()
|
/frameworks/rs/script_api/ |
GenerateStubsWhiteList.cpp | 97 // Split the string in tokens. 99 list<string> tokens{istream_iterator<string>{stream}, istream_iterator<string>{}}; 101 for (auto i = tokens.begin(); i != tokens.end();) { 107 // Split the replacement string in tokens. 135 tokens.splice(++i, std::move(newTokens)); 137 i = tokens.erase(prev); 140 return tokens; 144 static bool eatFront(list<string>* tokens, const char* prefix) { 145 if (tokens->front() == prefix) 308 list<string> tokens = expandTypedefs(p->rsType, apiLevel, intSize, vectorSize); local [all...] |