Searched defs:tokens (Results 1 - 25 of 133) sorted by last modified time

123456

/external/webp/src/enc/
H A Dframe.c568 VP8TBuffer* tokens) {
571 if (!VP8AddToken(tokens, res->last >= 0, TOKEN_ID(b, ctx, 0))) {
580 if (!VP8AddToken(tokens, v != 0, base_id + 1)) {
585 if (!VP8AddToken(tokens, v > 1, base_id + 2)) {
589 if (!VP8AddToken(tokens, v > 4, base_id + 3)) {
590 if (VP8AddToken(tokens, v != 2, base_id + 4))
591 VP8AddToken(tokens, v == 4, base_id + 5);
592 } else if (!VP8AddToken(tokens, v > 10, base_id + 6)) {
593 if (!VP8AddToken(tokens, v > 6, base_id + 7)) {
594 // VP8AddToken(tokens,
567 RecordCoeffTokens(int ctx, const VP8Residual* const res, VP8TBuffer* tokens) argument
643 RecordTokens(VP8EncIterator* const it, const VP8ModeScore* const rd, VP8TBuffer tokens[2]) argument
[all...]
H A Dvp8l.c278 const HuffmanTreeToken* const tokens, const int num_tokens,
282 const int ix = tokens[i].code;
283 const int extra_bits = tokens[i].extra_bits;
307 HuffmanTreeToken* const tokens = local
308 (HuffmanTreeToken*)WebPSafeMalloc((uint64_t)max_tokens, sizeof(*tokens));
309 if (tokens == NULL) return 0;
316 num_tokens = VP8LCreateCompressedHuffmanTree(tree, tokens, max_tokens);
321 ++histogram[tokens[i].code];
338 const int ix = tokens[i].code;
361 StoreHuffmanTreeToBitMask(bw, tokens, lengt
276 StoreHuffmanTreeToBitMask( VP8LBitWriter* const bw, const HuffmanTreeToken* const tokens, const int num_tokens, const HuffmanTreeCode* const huffman_code) argument
[all...]
/external/webp/src/utils/
H A Dhuffman_encode.c282 HuffmanTreeToken* tokens,
286 tokens->code = value;
287 tokens->extra_bits = 0;
288 ++tokens;
295 tokens->code = value;
296 tokens->extra_bits = 0;
297 ++tokens;
301 tokens->code = 16;
302 tokens->extra_bits = repetitions - 3;
303 ++tokens;
281 CodeRepeatedValues(int repetitions, HuffmanTreeToken* tokens, int value, int prev_value) argument
315 CodeRepeatedZeros(int repetitions, HuffmanTreeToken* tokens) argument
346 VP8LCreateCompressedHuffmanTree(const HuffmanTreeCode* const tree, HuffmanTreeToken* tokens, int max_tokens) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_registrar.c47 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) argument
50 dl_list_for_each_safe(token, prev, tokens, struct wps_nfc_pw_token,
58 static struct wps_nfc_pw_token * wps_get_nfc_pw_token(struct dl_list *tokens, argument
62 dl_list_for_each(token, tokens, struct wps_nfc_pw_token, list) {
/external/wpa_supplicant_8/src/wps/
H A Dwps_registrar.c47 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) argument
50 dl_list_for_each_safe(token, prev, tokens, struct wps_nfc_pw_token,
58 static struct wps_nfc_pw_token * wps_get_nfc_pw_token(struct dl_list *tokens, argument
62 dl_list_for_each(token, tokens, struct wps_nfc_pw_token, list) {
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_registrar.c47 static void wps_free_nfc_pw_tokens(struct dl_list *tokens, u16 pw_id) argument
50 dl_list_for_each_safe(token, prev, tokens, struct wps_nfc_pw_token,
58 static struct wps_nfc_pw_token * wps_get_nfc_pw_token(struct dl_list *tokens, argument
62 dl_list_for_each(token, tokens, struct wps_nfc_pw_token, list) {
/external/webkit/Tools/DumpRenderTree/gtk/
H A DImageDiff.cpp202 gchar** tokens = g_strsplit(buffer, " ", 0); local
203 if (!tokens[1]) {
204 g_strfreev(tokens);
209 long imageSize = strtol(tokens[1], 0, 10);
210 g_strfreev(tokens);
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/
H A Dglslang_lex.cpp275 * still have a bunch of tokens to match, though, because of
2948 void HandlePragma(const char **tokens, int numTokens) argument
2951 if (!strcmp(tokens[0], "optimize")) {
2957 if (strcmp(tokens[1], "(")) {
2962 if (!strcmp(tokens[2], "on"))
2964 else if (!strcmp(tokens[2], "off"))
2971 if (strcmp(tokens[3], ")")) {
2975 } else if (!strcmp(tokens[0], "debug")) {
2981 if (strcmp(tokens[1], "(")) {
2986 if (!strcmp(tokens[
[all...]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
H A Datom.c67 } tokens[] = { variable in typeref:struct:__anon14464
301 // characters and '_', which can be other tokens. Next come the
302 // language tokens with their atom values equal to the token value.
643 // Add single character tokens to the atom table:
657 // Add multiple character scanner tokens :
659 for (ii = 0; ii < sizeof(tokens)/sizeof(tokens[0]); ii++)
660 AddAtomFixed(atable, tokens[ii].str, tokens[ii].val);
H A Dtokens.c45 // tokens.c
337 TokenStream *tokens; member in struct:TokenInputSrc
343 int token = ReadToken(in->tokens, yylvalpp);
367 in->tokens = ts;
435 /////////////////////////////////////// End of tokens.c ///////////////////////////////////////
/external/webkit/Source/WebCore/bindings/js/
H A DScriptDebugServer.cpp87 Vector<String> tokens; local
88 breakpointId.split(":", tokens);
89 if (tokens.size() != 2)
92 intptr_t sourceIDValue = tokens[0].toIntPtr(&success);
95 unsigned lineNumber = tokens[1].toUInt(&success);
/external/webkit/Source/WebCore/loader/
H A DFTPDirectoryParser.cpp119 const char *tokens[16]; /* 16 is more than enough */ local
120 unsigned int toklen[WTF_ARRAY_LENGTH(tokens)];
130 tokens[0] = state.carryBuffer;
136 while (pos < linelen && numtoks < WTF_ARRAY_LENGTH(tokens))
143 tokens[numtoks] = &line[pos];
147 if (tokens[numtoks] != &line[pos])
149 toklen[numtoks] = (&line[pos] - tokens[numtoks]);
158 linelen_sans_wsp = &(tokens[numtoks-1][toklen[numtoks-1]]) - tokens[0];
159 if (numtoks == WTF_ARRAY_LENGTH(tokens))
[all...]
/external/srec/portable/src/
H A DPFileSystem.c181 LCHAR** tokens = NULL; local
207 CHKLOG(rc, PFileSystemLinearToPathTokens(path, &tokens, &tokenLen));
212 if (LSTRCMP(tokens[i], L("../")) == 0)
220 else if (LSTRCMP(tokens[i], L("./")) == 0)
232 LSTRCAT(path, tokens[i]);
233 FREE(tokens[i]);
234 tokens[i] = NULL;
236 FREE(tokens);
239 if (tokens != NULL)
243 FREE(tokens[
[all...]
/external/sonivox/arm-fm-22k/lib_src/
H A Deas_imelody.c67 static const char* const tokens[] = variable
1473 /* ignore these valid tokens */
1721 if (tokens[i][j] == 0)
1729 if (tokens[i][j] != ToUpper(buffer[j]))
/external/sonivox/arm-hybrid-22k/lib_src/
H A Deas_imelody.c67 static const char* const tokens[] = variable
1473 /* ignore these valid tokens */
1721 if (tokens[i][j] == 0)
1729 if (tokens[i][j] != ToUpper(buffer[j]))
/external/sonivox/arm-wt-22k/lib_src/
H A Deas_imelody.c67 static const char* const tokens[] = variable
1482 /* ignore these valid tokens */
1730 if (tokens[i][j] == 0)
1738 if (tokens[i][j] != ToUpper(buffer[j]))
/external/quake/quake/src/QW/gas2masm/
H A Dgas2masm.c39 char tokens[MAX_TOKENS][MAX_TOKEN_LENGTH+1]; variable
109 pt = tokens[tnum];
229 tokens[tnum]);
350 printf (" %s,", tokens[i]);
352 printf (" %s", tokens[tokennum-1]);
359 printf (" %s", tokens[1]);
367 if (tokens[1][0] == '*')
369 printf (" dword ptr[%s]", &tokens[1][1]);
374 len = strlen(tokens[1]);
378 if (tokens[
[all...]
/external/quake/quake/src/WinQuake/gas2masm/
H A Dgas2masm.c39 char tokens[MAX_TOKENS][MAX_TOKEN_LENGTH+1]; variable
109 pt = tokens[tnum];
229 tokens[tnum]);
350 printf (" %s,", tokens[i]);
352 printf (" %s", tokens[tokennum-1]);
359 printf (" %s", tokens[1]);
367 if (tokens[1][0] == '*')
369 printf (" dword ptr[%s]", &tokens[1][1]);
374 len = strlen(tokens[1]);
378 if (tokens[
[all...]
/external/skia/src/animator/
H A DSkAnimatorScript.cpp152 const char* tokens = (const char*) callBack; local
154 if (MapEnums(tokens, token, len, (int*)&value->fOperand.fS32))
H A DSkAnimatorScript2.cpp108 SkAnimatorScript_Enum(const char* tokens) : fTokens(tokens) {} argument
/external/ping/
H A Dping.c353 static int tokens; local
363 tokens = interval*(preload-1);
377 ntokens += tokens;
384 tokens = ntokens - interval;
400 return interval - tokens;
411 tokens = 0;
429 tokens += interval;
434 tokens += interval;
455 tokens = 0;
/external/qemu/
H A Djson-parser.c36 * 1) add geometry information to tokens
41 static QObject *parse_value(JSONParserContext *ctxt, QList **tokens, va_list *ap);
46 * tokens are dictionaries that contain a type, a string value, and geometry information
270 static int parse_pair(JSONParserContext *ctxt, QDict *dict, QList **tokens, va_list *ap) argument
273 QList *working = qlist_copy(*tokens);
298 QDECREF(*tokens);
299 *tokens = working;
311 static QObject *parse_object(JSONParserContext *ctxt, QList **tokens, va_list *ap) argument
315 QList *working = qlist_copy(*tokens);
355 QDECREF(*tokens);
367 parse_array(JSONParserContext *ctxt, QList **tokens, va_list *ap) argument
435 parse_keyword(JSONParserContext *ctxt, QList **tokens) argument
468 parse_escape(JSONParserContext *ctxt, QList **tokens, va_list *ap) argument
511 parse_literal(JSONParserContext *ctxt, QList **tokens) argument
545 parse_value(JSONParserContext *ctxt, QList **tokens, va_list *ap) argument
566 json_parser_parse(QList *tokens, va_list *ap) argument
[all...]
H A Djson-streamer.h22 void (*emit)(struct JSONMessageParser *parser, QList *tokens);
26 QList *tokens; member in struct:JSONMessageParser
H A Dqjson.c31 static void parse_json(JSONMessageParser *parser, QList *tokens) argument
34 s->result = json_parser_parse(tokens, s->ap);
/external/mksh/src/
H A Dfuncs.c3185 static const char *const tokens[] = { local
3198 rv = !strcmp(*te->pos.wp, tokens[(int)meta]) ?

Completed in 568 milliseconds

123456