Home
last modified time | relevance | path

Searched refs:last_code (Results 1 – 14 of 14) sorted by relevance

/external/chromium-trace/catapult/third_party/closure_linter/closure_linter/
Decmalintrules.py229 last_code = token.metadata.last_code
233 last_code and last_code.type in (Type.NORMAL, Type.IDENTIFIER) and
234 last_code.line_number == token.line_number):
251 wrapped_before = last_code and last_code.line_number != token.line_number
346 last_code = token.metadata.last_code
372 if state.InInterfaceMethod() and last_code.type != Type.START_BLOCK:
374 'Interface methods cannot contain code', last_code)
378 if (last_code.metadata.context.parent.type != Context.OBJECT_LITERAL
379 and last_code.metadata.context.type != Context.OBJECT_LITERAL):
404 last_code = token.metadata.last_code
[all …]
Decmametadatapass.py204 self.last_code = None
337 keyword_token = result.start_token.metadata.last_code
346 pre_keyword_token = keyword_token.metadata.last_code
350 is_do_while = start_block_token.metadata.last_code.string == 'do'
485 token.metadata.last_code = self._last_code
561 last_code = token.metadata.last_code
562 if not last_code or last_code.type == TokenType.END_BLOCK:
566 last_code.type in TokenType.EXPRESSION_ENDER_TYPES):
570 last_code.type not in TokenType.EXPRESSION_ENDER_TYPES and
571 last_code.string not in TokenType.UNARY_POST_OPERATORS):
Dtokenutil.py232 while following_token and following_token.metadata.last_code == token:
233 following_token.metadata.last_code = token.metadata.last_code
262 old_last_code = token.metadata.last_code
265 following_token.metadata.last_code == old_last_code):
266 following_token.metadata.last_code = new_token
303 new_token.metadata.last_code = token
307 while following_token and following_token.metadata.last_code == token:
308 following_token.metadata.last_code = new_token
Djavascriptstatetracker.py116 last_code = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES, reverse=True)
117 if last_code.type in (Type.END_PARAMETERS, Type.END_PAREN,
118 Type.KEYWORD) and not last_code.IsKeyword('return'):
Dtokenutil_test.py184 existing_token2.metadata.last_code = existing_token1
200 self.assertEquals(existing_token1, new_token.metadata.last_code)
201 self.assertEquals(new_token, existing_token2.metadata.last_code)
Dstatetracker.py1149 last_code = tokenutil.SearchExcept(token, Type.NON_CODE_TYPES, None,
1157 is_assigned = last_code and (last_code.IsOperator('=') or
1158 last_code.IsOperator('||') or last_code.IsOperator('&&') or
1159 (last_code.IsOperator(':') and not self.InObjectLiteral()))
1166 identifier = tokenutil.Search(last_code, Type.SIMPLE_LVALUE, None, True)
Dscopeutil.py58 last_code_token = parent.start_token.metadata.last_code
/external/ImageMagick/MagickCore/
Dcompress.c939 last_code, in LZWEncodeImage() local
967 last_code=0; in LZWEncodeImage()
977 last_code=(size_t) pixels[0]; in LZWEncodeImage()
983 index=(ssize_t) last_code; in LZWEncodeImage()
985 if ((table[index].prefix != (ssize_t) last_code) || in LZWEncodeImage()
990 last_code=(size_t) index; in LZWEncodeImage()
993 if (last_code != (size_t) index) in LZWEncodeImage()
998 OutputCode(last_code); in LZWEncodeImage()
999 table[next_index].prefix=(ssize_t) last_code; in LZWEncodeImage()
1001 table[next_index].next=table[last_code].next; in LZWEncodeImage()
[all …]
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/
Dftmac.c595 char code, last_code; in read_lwfn() local
603 last_code = -1; in read_lwfn()
613 if ( code != last_code ) in read_lwfn()
622 last_code = code; in read_lwfn()
641 last_code = -1; in read_lwfn()
653 if ( code != last_code ) in read_lwfn()
655 if ( last_code != -1 ) in read_lwfn()
686 last_code = code; in read_lwfn()
/external/pdfium/third_party/freetype/src/base/
Dftmac.c595 char code, last_code; in read_lwfn() local
603 last_code = -1; in read_lwfn()
613 if ( code != last_code ) in read_lwfn()
622 last_code = code; in read_lwfn()
641 last_code = -1; in read_lwfn()
653 if ( code != last_code ) in read_lwfn()
655 if ( last_code != -1 ) in read_lwfn()
686 last_code = code; in read_lwfn()
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/builds/mac/
Dftmac.c975 char code, last_code; in read_lwfn() local
983 last_code = -1; in read_lwfn()
993 if ( code != last_code ) in read_lwfn()
1002 last_code = code; in read_lwfn()
1021 last_code = -1; in read_lwfn()
1033 if ( code != last_code ) in read_lwfn()
1035 if ( last_code != -1 ) in read_lwfn()
1066 last_code = code; in read_lwfn()
/external/ImageMagick/coders/
Dgif.c122 last_code, member
339 lzw_info->last_code=lzw_info->first_code; in ReadBlobLZWByte()
358 value=lzw_info->last_code; in ReadBlobLZWByte()
376 lzw_info->table[0][lzw_info->slot]=lzw_info->last_code; in ReadBlobLZWByte()
386 lzw_info->last_code=(size_t) code; in ReadBlobLZWByte()
/external/pdfium/core/src/fpdfapi/fpdf_font/
Dfpdf_font_cid.cpp1637 int first_code = 0, last_code; in LoadMetricsArray() local
1663 last_code = pObj->GetInteger(); in LoadMetricsArray()
1669 result.Add(last_code); in LoadMetricsArray()
/external/pcre/dist/
Dpcre_compile.c4474 pcre_uchar *last_code = code; in compile_branch() local
4604 if (code < last_code) code = last_code; in compile_branch()
4608 if (OFLOW_MAX - *lengthptr < code - last_code) in compile_branch()
4614 *lengthptr += (int)(code - last_code); in compile_branch()
4616 (int)(code - last_code), c, c)); in compile_branch()
4636 last_code = code; in compile_branch()
4744 if (OFLOW_MAX - *lengthptr < code - last_code) in compile_branch()
4749 *lengthptr += (int)(code - last_code); /* To include callout length */ in compile_branch()