/third_party/boost/libs/filesystem/src/ |
D | path.cpp | 94 size_type end_pos); // end_pos is past-the-end position 302 size_type end_pos(filename_pos(m_pathname, m_pathname.size())); in m_parent_path_end() local 305 && detail::is_directory_separator(m_pathname[end_pos]); in m_parent_path_end() 308 size_type root_dir_pos(root_directory_start(m_pathname, end_pos)); in m_parent_path_end() 310 end_pos > 0 in m_parent_path_end() 311 && (end_pos-1) != root_dir_pos in m_parent_path_end() 312 && detail::is_directory_separator(m_pathname[end_pos-1]) in m_parent_path_end() 314 --end_pos) {} in m_parent_path_end() 316 return (end_pos == 1 && root_dir_pos == 0 && filename_was_separator) in m_parent_path_end() 318 : end_pos; in m_parent_path_end() [all …]
|
/third_party/boost/tools/build/src/engine/ |
D | pathsys.cpp | 320 for (auto end_pos = result.length(); end_pos > 0; ) in normalize() local 322 auto path_pos = result.rfind('/', end_pos-1); in normalize() 324 if (path_pos == end_pos-1) in normalize() 329 else if ((end_pos-path_pos == 2) && result[path_pos+1] == '.') in normalize() 334 else if ((end_pos-path_pos == 3) && result[path_pos+1] == '.' && result[path_pos+2] == '.') in normalize() 343 result.erase(path_pos, end_pos-path_pos); in normalize() 346 end_pos = path_pos; in normalize()
|
/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/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()
|
/third_party/boost/tools/inspect/ |
D | ascii_check.cpp | 63 std::size_t end_pos = contents.find_first_of ( kCRLF, pos + 1 ); in find_line() local 65 if ( end_pos == std::string::npos ) in find_line() 68 line_end = contents.begin () + end_pos - 1; in find_line()
|
/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/cef/libcef/browser/net/ |
D | chrome_scheme_handler.cc | 246 int start_pos, end_pos = 0; in Parse() local 251 start_pos = tmpl->find(ident_start_, end_pos); in Parse() 253 end_pos = tmpl->find(ident_end_, start_pos + ident_start_len); in Parse() 254 if (end_pos >= 0) { in Parse() 257 end_pos - start_pos - ident_start_len); in Parse() 261 tmpl->replace(start_pos, end_pos + ident_end_len - start_pos, in Parse() 263 end_pos = start_pos + it->second.length(); in Parse() 266 end_pos += ident_end_len; in Parse() 269 if (end_pos >= static_cast<int>(tmpl->length()) - ident_start_len - in Parse()
|
/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/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 | 893 int err, start_pos, end_pos; in cbs_av1_read_unit() local 1042 end_pos = get_bits_count(&gbc); in cbs_av1_read_unit() 1043 av_assert0(end_pos <= unit->data_size * 8); in cbs_av1_read_unit() 1049 int nb_bits = obu->obu_size * 8 + start_pos - end_pos; in cbs_av1_read_unit() 1071 int err, start_pos, end_pos, data_pos; in cbs_av1_write_obu() local 1176 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1177 header_size = (end_pos - start_pos + 7) / 8; in cbs_av1_write_obu() 1182 err = cbs_av1_write_trailing_bits(ctx, pbc, 8 - end_pos % 8); in cbs_av1_write_obu() 1185 end_pos = put_bits_count(pbc); in cbs_av1_write_obu() 1186 obu->obu_size = header_size = (end_pos - start_pos + 7) / 8; in cbs_av1_write_obu() [all …]
|
D | mpegaudiodec_template.c | 822 static void switch_buffer(MPADecodeContext *s, int *pos, int *end_pos, in switch_buffer() argument 830 skip_bits_long(&s->gb, *pos - *end_pos); in switch_buffer() 832 *end_pos = *end_pos2 + get_bits_count(&s->gb) - *pos; in switch_buffer() 860 int end_pos = FFMIN(end_pos2, s->gb.size_in_bits - s->extrasize * 8); in huffman_decode() local 887 if (pos >= end_pos){ in huffman_decode() 888 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode() 889 if (pos >= end_pos) in huffman_decode() 951 if (pos >= end_pos) { in huffman_decode() 957 …ctx, AV_LOG_INFO, "overread, skip %d enddists: %d %d\n", last_pos - pos, end_pos-pos, end_pos2-pos… in huffman_decode() 962 switch_buffer(s, &pos, &end_pos, &end_pos2); in huffman_decode() [all …]
|
/third_party/NuttX/fs/dirent/ |
D | fs_readdir.c | 165 if (idir->cur_pos != 0 && idir->cur_pos < MAX_DIRENT_NUM && idir->cur_pos < idir->end_pos) in readdir() 180 idir->end_pos = dirent_len / sizeof(struct dirent); in readdir()
|
/third_party/curl/lib/vtls/ |
D | vtls.c | 885 char *stripped_pem, *begin_pos, *end_pos; in pubkey_pem_to_der() local 906 end_pos = strstr(pem + pem_count, "\n-----END PUBLIC KEY-----"); in pubkey_pem_to_der() 907 if(!end_pos) in pubkey_pem_to_der() 910 pem_len = end_pos - pem; in pubkey_pem_to_der() 958 char *encoded, *pinkeycopy, *begin_pos, *end_pos; in Curl_pin_peer_pubkey() local 997 end_pos = strstr(begin_pos, ";sha256//"); in Curl_pin_peer_pubkey() 1002 if(end_pos) in Curl_pin_peer_pubkey() 1003 end_pos[0] = '\0'; in Curl_pin_peer_pubkey() 1016 if(end_pos) { in Curl_pin_peer_pubkey() 1017 end_pos[0] = ';'; in Curl_pin_peer_pubkey() [all …]
|
/third_party/curl/src/ |
D | tool_formparse.c | 350 static char *get_param_word(char **str, char **end_pos, char endchar) in get_param_word() argument 372 *end_pos = ptr; in get_param_word() 381 while(ptr < *end_pos); in get_param_word() 382 *end_pos = ptr2; in get_param_word() 397 *str = *end_pos = ptr; in get_param_word()
|
/third_party/boost/libs/math/reporting/performance/ |
D | table_helper.cpp | 140 std::string::size_type pos = content.find("[template " + list_name + "[]"), end_pos; in add_to_all_sections() local 165 end_pos = i->first - content.begin(); in add_to_all_sections() 177 content.replace(pos + 12 + list_name.size(), end_pos - pos - 12 - list_name.size(), new_list); in add_to_all_sections()
|
/third_party/boost/libs/regex/performance/ |
D | table_helper.cpp | 130 std::string::size_type pos = content.find("[template " + list_name + "[]"), end_pos; in add_to_all_sections() local 155 end_pos = i->first - content.begin(); in add_to_all_sections() 167 content.replace(pos + 12 + list_name.size(), end_pos - pos - 12 - list_name.size(), new_list); in add_to_all_sections()
|
/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/glib/glib/ |
D | gregex.h | 595 gint *end_pos); 603 gint *end_pos);
|
/third_party/boost/boost/interprocess/ipc/ |
D | message_queue.hpp | 338 size_type end_pos() const in end_pos() function in boost::interprocess::ipcdetail::mq_hdr_t 348 size_type pos = this->end_pos(); in top_msg() 360 { return &mp_index[this->end_pos()]; } in inserted_ptr_end() 440 const size_type pos_end = this->end_pos(); in insert_at()
|
/third_party/NuttX/include/nuttx/fs/ |
D | dirent_fs.h | 325 int16_t end_pos; member
|
/third_party/boost/libs/math/reporting/accuracy/ |
D | handle_test_result.hpp | 117 std::string::size_type pos = content.find("[template " + list_name + "[]"), end_pos; in add_to_all_sections() local 142 end_pos = i->first - content.begin(); in add_to_all_sections() 154 content.replace(pos + 12 + list_name.size(), end_pos - pos - 12 - list_name.size(), new_list); in add_to_all_sections()
|