Home
last modified time | relevance | path

Searched refs:next_code (Results 1 – 11 of 11) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Decmametadatapass.py342 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
343 if next_code.type != TokenType.START_BLOCK:
364 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
365 if (next_code.type != TokenType.START_BLOCK and
366 (next_code.type != TokenType.KEYWORD or next_code.string != 'if')):
493 next_code = tokenutil.SearchExcept(token, TokenType.NON_CODE_TYPES)
497 not next_code or next_code.line_number != token.line_number)
501 next_code_is_operator = next_code and next_code.type == TokenType.OPERATOR
507 next_code and
508 (next_code.type in [TokenType.IDENTIFIER,
[all …]
Dindentation.py203 next_code = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES)
204 if next_code and next_code.type == Type.END_BLOCK:
205 next_code = tokenutil.SearchExcept(next_code, Type.NON_CODE_TYPES)
206 if next_code and next_code.string in ('else', 'case', 'default'):
Decmalintrules.py248 next_code = tokenutil.GetNextCodeToken(token)
252 wrapped_after = next_code and next_code.line_number != token.line_number
683 next_code = tokenutil.SearchExcept(equal_operator, Type.NON_CODE_TYPES)
684 if next_code and (
685 next_code.type in (Type.START_BRACKET, Type.START_BLOCK) or
686 next_code.IsOperator('new')):
/external/zopfli/src/zopfli/
Dtree.c33 size_t* next_code = (size_t*)malloc(sizeof(size_t) * (maxbits + 1)); in ZopfliLengthsToSymbols() local
55 next_code[bits] = code; in ZopfliLengthsToSymbols()
62 symbols[i] = next_code[len]; in ZopfliLengthsToSymbols()
63 next_code[len]++; in ZopfliLengthsToSymbols()
68 free(next_code); in ZopfliLengthsToSymbols()
/external/webp/src/utils/
Dhuffman_encode.c378 uint32_t next_code[MAX_ALLOWED_CODE_LENGTH + 1]; in ConvertBitDepthsToSymbols() local
389 next_code[0] = 0; in ConvertBitDepthsToSymbols()
394 next_code[i] = code; in ConvertBitDepthsToSymbols()
399 tree->codes[i] = ReverseBits(code_length, next_code[code_length]++); in ConvertBitDepthsToSymbols()
/external/opencv3/3rdparty/libwebp/utils/
Dhuffman_encode.c399 uint32_t next_code[MAX_ALLOWED_CODE_LENGTH + 1]; in ConvertBitDepthsToSymbols() local
410 next_code[0] = 0; in ConvertBitDepthsToSymbols()
415 next_code[i] = code; in ConvertBitDepthsToSymbols()
420 tree->codes[i] = ReverseBits(code_length, next_code[code_length]++); in ConvertBitDepthsToSymbols()
/external/opencv3/3rdparty/zlib/
Dtrees.c580 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ local
589 next_code[bits] = code = (code + bl_count[bits-1]) << 1;
602 tree[n].Code = bi_reverse(next_code[len]++, len);
605 n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));
/external/zlib/src/
Dtrees.c580 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ local
589 next_code[bits] = code = (code + bl_count[bits-1]) << 1;
602 tree[n].Code = bi_reverse(next_code[len]++, len);
605 n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1));
/external/pdfium/third_party/zlib_v128/
Dtrees.c580 ush next_code[MAX_BITS+1]; /* next code value for each bit length */ in gen_codes() local
589 next_code[bits] = code = (code + bl_count[bits-1]) << 1; in gen_codes()
602 tree[n].Code = bi_reverse(next_code[len]++, len); in gen_codes()
605 n, (isgraph(n) ? n : ' '), len, tree[n].Code, next_code[len]-1)); in gen_codes()
/external/pcre/dist/
Dpcre_compile.c3128 const pcre_uchar *next_code; in compare_opcodes() local
3206 next_code = code + GET(code, 1); in compare_opcodes()
3209 while (*next_code == OP_ALT) in compare_opcodes()
3213 code = next_code + 1 + LINK_SIZE; in compare_opcodes()
3214 next_code += GET(next_code, 1); in compare_opcodes()
3223 next_code = code + 1; in compare_opcodes()
3224 if (*next_code != OP_BRA && *next_code != OP_CBRA in compare_opcodes()
3225 && *next_code != OP_ONCE && *next_code != OP_ONCE_NC) return FALSE; in compare_opcodes()
3227 do next_code += GET(next_code, 1); while (*next_code == OP_ALT); in compare_opcodes()
3231 next_code += 1 + LINK_SIZE; in compare_opcodes()
[all …]
/external/zlib/src/doc/
Drfc1951.txt432 next_code[bits] = code;
444 tree[n].Code = next_code[len];
445 next_code[len]++;
468 Step 2 computes the following next_code values:
470 N next_code[N]