/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
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 = Path.find_first_of(separators, Position); in operator ++() local [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
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 ++() local 282 Component = Path.slice(Position, end_pos); in operator ++() [all …]
|
/third_party/skia/third_party/externals/freetype/src/sdf/ |
D | ftsdf.c | 312 FT_26D6_Vec end_pos; member 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.x in get_control_box() 924 cbox.yMin = edge.end_pos.y < cbox.yMin in get_control_box() 925 ? edge.end_pos.y in get_control_box() [all …]
|
/third_party/freetype/src/sdf/ |
D | ftsdf.c | 312 FT_26D6_Vec end_pos; member 706 edge->end_pos = *to; in sdf_line_to() 758 edge->end_pos = *to; in sdf_conic_to() 801 edge->end_pos = *to; in sdf_cubic_to() 929 cbox.xMin = edge.end_pos.x < cbox.xMin in get_control_box() 930 ? edge.end_pos.x in get_control_box() 932 cbox.xMax = edge.end_pos.x > cbox.xMax in get_control_box() 933 ? edge.end_pos.x in get_control_box() 936 cbox.yMin = edge.end_pos.y < cbox.yMin in get_control_box() 937 ? edge.end_pos.y in get_control_box() [all …]
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
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 << ")" 199 if (c.scope_end_pos != c.end_pos) {
|
D | construct.cc | 65 end_pos(the_end_pos), in Construct()
|
D | function.cc | 1752 const auto end_pos = in LabelControlFlowConstructs() local 1755 auto scope_end_pos = end_pos; in LabelControlFlowConstructs() 1761 scope_end_pos = parent->end_pos; in LabelControlFlowConstructs() 1766 end_pos, scope_end_pos)); in LabelControlFlowConstructs() 1899 if (construct->end_pos < default_block->pos) { in FindSwitchCaseHeaders() 1925 default_block->default_is_merge = default_block->pos == construct->end_pos; in FindSwitchCaseHeaders() 1965 if (construct->end_pos < case_block->pos) { in FindSwitchCaseHeaders() 2120 if (src_pos != continue_construct->end_pos - 1) { in ClassifyCFGEdges() 2147 (src_pos != continue_construct->end_pos - 1)) { in ClassifyCFGEdges() 2221 if (dest_info->pos > src_construct.end_pos) { in ClassifyCFGEdges()
|
/third_party/gstreamer/gstplugins_bad/gst/dvbsubenc/ |
D | gstdvbsubenc-util.c | 554 guint seg_size_pos, end_pos; in dvbenc_write_object_data() local 591 end_pos = gst_byte_writer_get_pos (b); in dvbenc_write_object_data() 595 if (((end_pos - top_start_pos) & 1) == 0) { in dvbenc_write_object_data() 597 end_pos = gst_byte_writer_get_pos (b); in dvbenc_write_object_data() 602 if (end_pos - (seg_size_pos + 2) > G_MAXUINT16) in dvbenc_write_object_data() 604 gst_byte_writer_put_uint16_be (b, end_pos - (seg_size_pos + 2)); in dvbenc_write_object_data() 608 if (end_pos - bottom_start_pos > G_MAXUINT16) in dvbenc_write_object_data() 613 gst_byte_writer_put_uint16_be (b, end_pos - bottom_start_pos); in dvbenc_write_object_data() 614 gst_byte_writer_set_pos (b, end_pos); in dvbenc_write_object_data() 617 end_pos - (seg_size_pos + 2), bottom_start_pos - top_start_pos, in dvbenc_write_object_data() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
D | cord_rep_ring.cc | 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() 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() 185 begin_pos = end_pos; in IsValid() 300 pos_type end_pos = entry_end_pos(back); in GetAppendBuffer() local 302 size_t entry_length = Distance(entry_begin_pos(back), end_pos); in GetAppendBuffer() 306 entry_end_pos()[back] = end_pos + n; in GetAppendBuffer() 484 pos_type end_pos = rep->begin_pos_; in PrependLeaf() local [all …]
|
D | cord_rep_ring.h | 111 static constexpr size_t Distance(pos_type pos, pos_type end_pos); 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/cef/libcef/browser/net/ |
D | chrome_scheme_handler.cc | 247 int start_pos, end_pos = 0; in Parse() local 252 start_pos = tmpl->find(ident_start_, end_pos); in Parse() 254 end_pos = tmpl->find(ident_end_, start_pos + ident_start_len); in Parse() 255 if (end_pos >= 0) { in Parse() 258 end_pos - start_pos - ident_start_len); in Parse() 262 tmpl->replace(start_pos, end_pos + ident_end_len - start_pos, in Parse() 264 end_pos = start_pos + it->second.length(); in Parse() 267 end_pos += ident_end_len; in Parse() 270 if (end_pos >= static_cast<int>(tmpl->length()) - ident_start_len - in Parse()
|
/third_party/jerryscript/jerry-core/ecma/base/ |
D | ecma-helpers-string.c | 1061 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_cesu8_buffer() argument 1072 if (start_pos >= string_length || start_pos >= end_pos) in ecma_substring_copy_to_cesu8_buffer() 1077 if (end_pos > string_length) in ecma_substring_copy_to_cesu8_buffer() 1079 end_pos = string_length; in ecma_substring_copy_to_cesu8_buffer() 1089 size = end_pos - start_pos; in ecma_substring_copy_to_cesu8_buffer() 1100 end_pos -= start_pos; in ecma_substring_copy_to_cesu8_buffer() 1108 while (end_pos--) in ecma_substring_copy_to_cesu8_buffer() 1140 ecma_length_t end_pos, /**< position of the last character */ in ecma_substring_copy_to_utf8_buffer() argument 1153 if (start_pos >= utf8_str_length || start_pos >= end_pos) in ecma_substring_copy_to_utf8_buffer() 1158 if (end_pos > utf8_str_length) in ecma_substring_copy_to_utf8_buffer() [all …]
|
D | ecma-helpers.h | 328 ecma_length_t end_pos, 334 ecma_length_t end_pos, 367 …ecma_string_substr (const ecma_string_t *string_p, ecma_length_t start_pos, ecma_length_t end_pos);
|
/third_party/ffmpeg/libavcodec/ |
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 - start_pos + 7) / 8; in cbs_av1_write_obu() [all …]
|
D | mpegaudiodec_template.c | 718 static void switch_buffer(MPADecodeContext *s, int *pos, int *end_pos, in switch_buffer() argument 726 skip_bits_long(&s->gb, *pos - *end_pos); in switch_buffer() 728 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer() 756 int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8); in huffman_decode() local 783 if (pos >= end_pos){ in huffman_decode() 784 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode() 785 if (pos >= end_pos) in huffman_decode() 847 if (pos >= end_pos) { in huffman_decode() 853 …ctx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, end_pos2-pos… in huffman_decode() 858 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode() [all …]
|
/third_party/NuttX/fs/dirent/ |
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/json/third_party/cpplint/ |
D | cpplint.py | 1841 (end_pos, stack) = FindEndOfExpressionInLine(line, pos, []) 1842 if end_pos > -1: 1843 return (line, linenum, end_pos) 1849 (end_pos, stack) = FindEndOfExpressionInLine(line, 0, stack) 1850 if end_pos > -1: 1851 return (line, linenum, end_pos) 2740 (_, end_line, end_pos) = CloseExpression(clean_lines, linenum, pos - 1) 2741 if end_pos < 0: 2745 pos = end_pos 3589 (_, _, end_pos) = CloseExpression( [all …]
|
/third_party/NuttX/include/nuttx/fs/ |
D | dirent_fs.h | 325 int16_t end_pos; member
|
/third_party/libuv/src/win/ |
D | fs.c | 755 LARGE_INTEGER pos, end_pos; in fs__read_filemap() local 792 end_pos.QuadPart = pos.QuadPart + read_size; in fs__read_filemap() 838 fd_info->current_pos = end_pos; in fs__read_filemap() 936 LARGE_INTEGER pos, end_pos; in fs__write_filemap() local 969 end_pos.QuadPart = pos.QuadPart + write_size; in fs__write_filemap() 972 if (end_pos.QuadPart > fd_info->size.QuadPart) { in fs__write_filemap() 980 end_pos.HighPart, in fs__write_filemap() 981 end_pos.LowPart, in fs__write_filemap() 993 fd_info->size = end_pos; in fs__write_filemap() 1042 fd_info->current_pos = end_pos; in fs__write_filemap()
|
/third_party/jerryscript/jerry-core/include/ |
D | jerryscript-core.h | 460 jerry_length_t end_pos, 465 jerry_length_t end_pos,
|
/third_party/python/Lib/ |
D | pickletools.py | 2337 for opcode, arg, pos, end_pos in _genops(p, yield_end_pos=True): 2356 protoheader = p[pos:end_pos] 2358 opcodes.append((pos, end_pos)) 2360 opcodes.append((pos, end_pos))
|
/third_party/protobuf/python/google/protobuf/internal/ |
D | decoder.py | 958 def _DecodeUnknownFieldSet(buffer, pos, end_pos=None): argument 962 while end_pos is None or pos < end_pos:
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | cord_test.cc | 409 for (size_t end_pos : positions) { in TEST_P() local 410 if (end_pos < pos || end_pos > a.size()) continue; in TEST_P() 411 absl::Cord sa = a.Subcord(pos, end_pos - pos); in TEST_P() 412 ASSERT_EQ(absl::string_view(s).substr(pos, end_pos - pos), in TEST_P()
|
/third_party/jerryscript/jerry-core/parser/js/ |
D | js-parser-expr.c | 2992 parser_pattern_end_marker_t end_pos = parser_pattern_get_target (context_p, flags); in parser_parse_array_initializer() local 3034 parser_pattern_finalize (context_p, flags, &end_pos); in parser_parse_array_initializer() 3044 parser_pattern_end_marker_t end_pos = parser_pattern_get_target (context_p, flags); in parser_parse_object_initializer() local 3051 parser_pattern_finalize (context_p, flags, &end_pos); in parser_parse_object_initializer() 3135 parser_pattern_finalize (context_p, flags, &end_pos); in parser_parse_object_initializer()
|
/third_party/python/Lib/asyncio/ |
D | proactor_events.py | 723 end_pos = min(offset + count, fsize) if count else fsize 728 blocksize = min(end_pos - offset, blocksize)
|