/third_party/vk-gl-cts/external/amber/src/src/ |
H A D | tokenizer.cc | 168 size_t end_pos = current_position_; in NextToken() local 169 while (end_pos < data_.length()) { in NextToken() 170 if (data_[end_pos] == ' ' || data_[end_pos] == '\r' || in NextToken() 171 data_[end_pos] == '\n' || data_[end_pos] == ')' || in NextToken() 172 data_[end_pos] == ',' || data_[end_pos] == '(') { in NextToken() 175 ++end_pos; in NextToken() 179 data_.substr(current_position_, end_pos in NextToken() [all...] |
/third_party/node/deps/v8/src/parsing/ |
H A D | preparser.cc | 93 CheckStrictOctalLiteral(start_position, scanner()->location().end_pos); in PreParseProgram() 151 int formals_end_position = scanner()->location().end_pos; in PreParseFunction() 188 inner_scope->set_end_position(scanner()->peek_location().end_pos); in PreParseFunction() 242 int end_pos = scanner()->location().end_pos; in PreParseFunction() local 243 CheckStrictOctalLiteral(function_scope->start_position(), end_pos); in PreParseFunction() 310 int formals_end_position = scanner()->location().end_pos; in ParseFunctionLiteral() 372 int body_end = scanner()->peek_location().end_pos; in ParseStatementListAndLogFunction()
|
H A D | scanner.h | 260 Location(int b, int e) : beg_pos(b), end_pos(e) { } in Location() 261 Location() : beg_pos(0), end_pos(0) { } in Location() 263 int length() const { return end_pos - beg_pos; } in length() 264 bool IsValid() const { return base::IsInRange(beg_pos, 0, end_pos); } in IsValid() 269 int end_pos; member 702 int source_length = (location.end_pos - location.beg_pos); in LiteralContainsEscapes()
|
H A D | parser.cc | 41 int end_pos) { in DefaultConstructor() 1044 if (scanner()->location().end_pos == end_position) { in DoParseFunction() 1252 location.end_pos = scanner()->location().end_pos; in ParseExportClause() 1393 location.end_pos = scanner()->location().end_pos; in ParseImportAssertClause() 1763 loc.end_pos = scanner()->location().end_pos; in ParseExportDeclaration() 1861 VariableKind kind, int beg_pos, int end_pos, in DeclareFunction() 1877 factory()->NewSloppyBlockFunctionStatement(end_pos, declaratio in DeclareFunction() 39 DefaultConstructor(const AstRawString* name, bool call_super, int pos, int end_pos) DefaultConstructor() argument 1859 DeclareFunction(const AstRawString* variable_name, FunctionLiteral* function, VariableMode mode, VariableKind kind, int beg_pos, int end_pos, ZonePtrList<const AstRawString>* names) DeclareFunction() argument 1885 DeclareClass(const AstRawString* variable_name, Expression* value, ZonePtrList<const AstRawString>* names, int class_token_pos, int end_pos) DeclareClass() argument 2517 AddArrowFunctionFormalParameters( ParserFormalParameters* parameters, Expression* expr, int end_pos) AddArrowFunctionFormalParameters() argument 3261 RewriteClassLiteral(ClassScope* block_scope, const AstRawString* name, ClassInfo* class_info, int pos, int end_pos) RewriteClassLiteral() argument [all...] |
H A D | scanner-character-streams.h | 26 int start_pos, int end_pos);
|
H A D | scanner-character-streams.cc | 863 int start_pos, int end_pos) { in For() 865 DCHECK_LE(start_pos, end_pos); in For() 866 DCHECK_LE(end_pos, data->length()); in For() 880 start_offset, static_cast<size_t>(end_pos)); in For() 884 start_offset, static_cast<size_t>(end_pos)); in For() 888 start_offset, static_cast<size_t>(end_pos)); in For() 893 static_cast<size_t>(end_pos)); in For() 862 For(Isolate* isolate, Handle<String> data, int start_pos, int end_pos) For() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Path.cpp | 136 size_t end_pos = filename_pos(path); in parent_path_end() local 138 bool filename_was_sep = path.size() > 0 && is_separator(path[end_pos]); in parent_path_end() 141 size_t root_dir_pos = root_dir_start(path.substr(0, end_pos)); in parent_path_end() 143 while(end_pos > 0 && in parent_path_end() 144 (end_pos - 1) != root_dir_pos && in parent_path_end() 145 is_separator(path[end_pos - 1])) in parent_path_end() 146 --end_pos; in parent_path_end() 148 if (end_pos == 1 && root_dir_pos == 0 && filename_was_sep) in parent_path_end() 151 return end_pos; in parent_path_end() 295 size_t end_pos in operator ++() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Path.cpp | 138 size_t end_pos = filename_pos(path, style); in parent_path_end() local 141 path.size() > 0 && is_separator(path[end_pos], style); in parent_path_end() 145 while (end_pos > 0 && in parent_path_end() 146 (root_dir_pos == StringRef::npos || end_pos > root_dir_pos) && in parent_path_end() 147 is_separator(path[end_pos - 1], style)) in parent_path_end() 148 --end_pos; in parent_path_end() 150 if (end_pos == root_dir_pos && !filename_was_sep) { in parent_path_end() 157 return end_pos; in parent_path_end() 281 size_t end_pos = Path.find_first_of(separators(S), Position); in operator ++() 282 Component = Path.slice(Position, end_pos); in operator ++() [all...] |
/third_party/skia/third_party/externals/freetype/src/sdf/ |
H A D | ftsdf.c | 290 * end_pos :: 312 FT_26D6_Vec end_pos; member 333 * Contains the value of `end_pos' of the last edge in the list of 706 edge->end_pos = *to; in sdf_line_to() 746 edge->end_pos = *to; in sdf_conic_to() 789 edge->end_pos = *to; in sdf_cubic_to() 917 cbox.xMin = edge.end_pos.x < cbox.xMin in get_control_box() 918 ? edge.end_pos.x in get_control_box() 920 cbox.xMax = edge.end_pos.x > cbox.xMax in get_control_box() 921 ? edge.end_pos in get_control_box() [all...] |
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | construct.h | 107 return begin_pos <= pos && pos < end_pos; in ContainsPos() 148 const uint32_t end_pos = 0; member 193 << c.end_pos << ")" in operator <<() 199 if (c.scope_end_pos != c.end_pos) { in operator <<()
|
H A D | construct.cc | 65 end_pos(the_end_pos), in Construct()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_ring.cc | 97 << ", end_pos = " << static_cast<ptrdiff_t>(rep.entry_end_pos(head)) in operator <<() 119 void Add(CordRep* child, size_t offset, pos_type end_pos) { in Add() argument 120 rep_->entry_end_pos()[pos_] = end_pos; in Add() 151 << back << "].end_pos " << entry_end_pos(back); in IsValid() 158 pos_type end_pos = entry_end_pos(head); in IsValid() local 159 size_t entry_length = Distance(begin_pos, end_pos); in IsValid() 162 << " from begin_pos " << begin_pos << " and end_pos " << end_pos; in IsValid() local 185 begin_pos = end_pos; in IsValid() 300 pos_type end_pos in GetAppendBuffer() local 484 pos_type end_pos = rep->begin_pos_; PrependLeaf() local 620 pos_type end_pos = entry_end_pos(head); FindSlow() local [all...] |
H A D | cord_rep_ring.h | 74 // `end_pos` which is the `end_pos` of the previous node (or `begin_pos`) plus 110 // Returns the distance in bytes from `pos` to `end_pos`. 111 static constexpr size_t Distance(pos_type pos, pos_type end_pos); 324 // entry(retreat(pos.pos)).end_pos -= pos.offset; 493 inline constexpr size_t CordRepRing::Distance(pos_type pos, pos_type end_pos) { in Distance() argument 494 return (end_pos - pos); in Distance()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
H A D | ecma-helpers-string.c | 1101 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_cesu8_buffer() 1112 if (start_pos >= string_length || start_pos >= end_pos) in ecma_substring_copy_to_cesu8_buffer() 1117 if (end_pos > string_length) in ecma_substring_copy_to_cesu8_buffer() 1119 end_pos = string_length; in ecma_substring_copy_to_cesu8_buffer() 1129 size = end_pos - start_pos; in ecma_substring_copy_to_cesu8_buffer() 1140 end_pos -= start_pos; in ecma_substring_copy_to_cesu8_buffer() 1148 while (end_pos--) in ecma_substring_copy_to_cesu8_buffer() 1180 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_utf8_buffer() 1193 if (start_pos >= utf8_str_length || start_pos >= end_pos) in ecma_substring_copy_to_utf8_buffer() 1198 if (end_pos > utf8_str_lengt in ecma_substring_copy_to_utf8_buffer() 1099 ecma_substring_copy_to_cesu8_buffer(const ecma_string_t *string_desc_p, ecma_length_t start_pos, ecma_length_t end_pos, lit_utf8_byte_t *buffer_p, lit_utf8_size_t buffer_size) ecma_substring_copy_to_cesu8_buffer() argument 1178 ecma_substring_copy_to_utf8_buffer(const ecma_string_t *string_desc_p, ecma_length_t start_pos, ecma_length_t end_pos, lit_utf8_byte_t *buffer_p, lit_utf8_size_t buffer_size) ecma_substring_copy_to_utf8_buffer() argument 2426 ecma_string_substr(const ecma_string_t *string_p, ecma_length_t start_pos, ecma_length_t end_pos) ecma_string_substr() argument [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | cbs_av1.c | 879 int err, start_pos, end_pos; in cbs_av1_read_unit() local 1031 end_pos = get_bits_count(&gbc); in cbs_av1_read_unit() 1032 av_assert0(end_pos <= unit->data_size * 8); in cbs_av1_read_unit() 1038 int nb_bits = obu->obu_size * 8 + start_pos - end_pos; in cbs_av1_read_unit() 1060 int err, start_pos, end_pos, data_pos; in cbs_av1_write_obu() local 1167 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1168 header_size = (end_pos - start_pos + 7) / 8; in cbs_av1_write_obu() 1173 err = cbs_av1_write_trailing_bits(ctx, pbc, 8 - end_pos % 8); in cbs_av1_write_obu() 1176 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1177 obu->obu_size = header_size = (end_pos in cbs_av1_write_obu() [all...] |
H A D | mpegaudiodec_template.c | 720 static void switch_buffer(MPADecodeContext *s, int *pos, int *end_pos, in switch_buffer() argument 728 skip_bits_long(&s->gb, *pos - *end_pos); in switch_buffer() 730 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer() 758 int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8); in huffman_decode() local 785 if (pos >= end_pos){ in huffman_decode() 786 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode() 787 if (pos >= end_pos) in huffman_decode() 849 if (pos >= end_pos) { in huffman_decode() 855 av_log(s->avctx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, end_pos2-pos); in huffman_decode() 860 switch_buffer(s, &pos, &end_pos, in huffman_decode() [all...] |
/third_party/NuttX/fs/dirent/ |
H A D | fs_readdir.c | 149 if (idir->cur_pos != 0 && idir->cur_pos < MAX_DIRENT_NUM && idir->cur_pos < idir->end_pos) in readdir() 164 idir->end_pos = dirent_len / sizeof(struct dirent); in readdir()
|
/third_party/node/deps/v8/src/execution/ |
H A D | messages.h | 40 MessageLocation(Handle<Script> script, int start_pos, int end_pos); 41 MessageLocation(Handle<Script> script, int start_pos, int end_pos, 51 int end_pos() const { return end_pos_; } in end_pos() function in v8::internal::MessageLocation
|
/third_party/curl/src/ |
H A D | tool_formparse.c | 330 char **end_pos, char endchar) in get_param_word() 353 *end_pos = ptr; in get_param_word() 362 while(ptr < *end_pos); in get_param_word() 363 *end_pos = ptr2; in get_param_word() 384 *str = *end_pos = ptr; in get_param_word() 329 get_param_word(struct OperationConfig *config, char **str, char **end_pos, char endchar) get_param_word() argument
|
/third_party/node/deps/v8/src/objects/ |
H A D | intl-objects.h | 41 int32_t end_pos; member 44 NumberFormatSpan(int32_t field_id, int32_t begin_pos, int32_t end_pos) in NumberFormatSpan() 45 : field_id(field_id), begin_pos(begin_pos), end_pos(end_pos) {} in NumberFormatSpan()
|
H A D | js-number-format.cc | 1746 if (a.end_pos < b.end_pos) return false; in cmp_NumberFormatSpan() 1747 if (a.end_pos > b.end_pos) return true; in cmp_NumberFormatSpan() 1801 int32_t entire_size = top_region.end_pos; in FlattenRegionsToParts() 1819 while (top_region.end_pos < next_region_begin_pos) { in FlattenRegionsToParts() 1820 if (climber < top_region.end_pos) { in FlattenRegionsToParts() 1823 top_region.end_pos)); in FlattenRegionsToParts() 1824 climber = top_region.end_pos; in FlattenRegionsToParts() 1902 Intl::ToString(isolate, formatted_text, part.begin_pos, part.end_pos), in ConstructParts() [all...] |
/third_party/json/tools/cpplint/ |
H A D | cpplint.py | 2108 (end_pos, stack) = FindEndOfExpressionInLine(line, pos, []) 2109 if end_pos > -1: 2110 return (line, linenum, end_pos) 2116 (end_pos, stack) = FindEndOfExpressionInLine(line, 0, stack) 2117 if end_pos > -1: 2118 return (line, linenum, end_pos) 3014 (_, end_line, end_pos) = CloseExpression(clean_lines, linenum, pos - 1) 3015 if end_pos < 0: 3019 pos = end_pos 3865 (_, _, end_pos) [all...] |
/third_party/curl/lib/vtls/ |
H A D | vtls.c | 923 char *stripped_pem, *begin_pos, *end_pos; in pubkey_pem_to_der() local 944 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); in pubkey_pem_to_der() 945 if(!end_pos) in pubkey_pem_to_der() 948 pem_len = end_pos - pem; in pubkey_pem_to_der() 999 char *encoded = NULL, *pinkeycopy, *begin_pos, *end_pos; in Curl_pin_peer_pubkey() local 1034 end_pos = strstr(begin_pos, ";sha256//"); in Curl_pin_peer_pubkey() 1036 * if there is an end_pos, null terminate, in Curl_pin_peer_pubkey() 1039 if(end_pos) in Curl_pin_peer_pubkey() 1040 end_pos[0] = '\0'; in Curl_pin_peer_pubkey() 1053 if(end_pos) { in Curl_pin_peer_pubkey() [all...] |
/third_party/node/deps/v8/src/ast/ |
H A D | modules.cc | 165 location.beg_pos, location.end_pos); in Serialize() 349 entry->location.beg_pos, entry->location.end_pos, in Validate() 361 entry->location.beg_pos, entry->location.end_pos, in Validate()
|
/third_party/node/deps/v8/src/regexp/ |
H A D | regexp-compiler-tonode.cc | 1411 int end_pos = count; in RationalizeConsecutiveAtoms() local 1415 end_pos = i; in RationalizeConsecutiveAtoms() 1423 // [start_pos..end_pos[. Ranges before start_pos or at or after end_pos are in RationalizeConsecutiveAtoms() 1425 // If start_pos == end_pos, the range must be inserted before start_pos. in RationalizeConsecutiveAtoms() 1426 // if start_pos < end_pos, the entire range from start_pos to end_pos in RationalizeConsecutiveAtoms() 1429 if (start_pos == end_pos) { in RationalizeConsecutiveAtoms() 1437 if (start_pos + 1 == end_pos) { in RationalizeConsecutiveAtoms() 1445 // Replace a number of existing ranges from start_pos to end_pos in RationalizeConsecutiveAtoms() [all...] |