Home
last modified time | relevance | path

Searched refs:keyword_length (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/v8/src/
Dscanner.cc908 const int keyword_length = sizeof(keyword) - 1; \ in KeywordOrIdentifierToken()
909 STATIC_ASSERT(keyword_length >= kMinLength); \ in KeywordOrIdentifierToken()
910 STATIC_ASSERT(keyword_length <= kMaxLength); \ in KeywordOrIdentifierToken()
911 if (input_length == keyword_length && \ in KeywordOrIdentifierToken()
913 (keyword_length <= 2 || input[2] == keyword[2]) && \ in KeywordOrIdentifierToken()
914 (keyword_length <= 3 || input[3] == keyword[3]) && \ in KeywordOrIdentifierToken()
915 (keyword_length <= 4 || input[4] == keyword[4]) && \ in KeywordOrIdentifierToken()
916 (keyword_length <= 5 || input[5] == keyword[5]) && \ in KeywordOrIdentifierToken()
917 (keyword_length <= 6 || input[6] == keyword[6]) && \ in KeywordOrIdentifierToken()
918 (keyword_length <= 7 || input[7] == keyword[7]) && \ in KeywordOrIdentifierToken()
[all …]
/external/libpng/
Dpngrutil.c1372 uInt read_length, keyword_length; in png_handle_iCCP() local
1385 keyword_length = 0; in png_handle_iCCP()
1386 while (keyword_length < 80 && keyword_length < read_length && in png_handle_iCCP()
1387 keyword[keyword_length] != 0) in png_handle_iCCP()
1388 ++keyword_length; in png_handle_iCCP()
1391 if (keyword_length >= 1 && keyword_length <= 79) in png_handle_iCCP()
1396 if (keyword_length+1 < read_length && in png_handle_iCCP()
1397 keyword[keyword_length+1] == PNG_COMPRESSION_TYPE_BASE) in png_handle_iCCP()
1399 read_length -= keyword_length+2; in png_handle_iCCP()
1407 png_ptr->zstream.next_in = (Bytef*)keyword + (keyword_length+2); in png_handle_iCCP()
[all …]
/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_edit_model.cc1382 size_t keyword_length = new_text.length() - 1; in MaybeAcceptKeywordBySpace() local
1385 (keyword_.length() == keyword_length) && in MaybeAcceptKeywordBySpace()
1386 IsSpaceCharForAcceptingKeyword(new_text[keyword_length]) && in MaybeAcceptKeywordBySpace()
1387 !new_text.compare(0, keyword_length, keyword_, 0, keyword_length) && in MaybeAcceptKeywordBySpace()