/third_party/boost/boost/geometry/algorithms/detail/buffer/ |
D | turn_in_piece_visitor.hpp | 51 inline bool skip(Operation const& op, Piece const& piece) const in skip() 53 if (op.piece_index == piece.index) in skip() 58 if (pc.left_index == piece.index || pc.right_index == piece.index) in skip() 104 inline bool apply(Turn const& turn, Piece const& piece) in apply() argument 112 if (piece.type == strategy::buffer::buffered_flat_end in apply() 113 || piece.type == strategy::buffer::buffered_concave) in apply() 119 if (skip(turn.operations[0], piece) || skip(turn.operations[1], piece)) in apply() 124 return apply(turn, piece, piece.m_piece_border); in apply() 128 inline bool apply(Turn const& turn, Piece const& piece, Border const& border) in apply() argument 136 if (piece.type == geometry::strategy::buffer::buffered_point) in apply() [all …]
|
D | buffer_policies.hpp | 199 static inline void apply(Box& total, Piece const& piece) in apply() 206 if (piece.m_piece_border.m_has_envelope) in apply() 208 geometry::expand(total, piece.m_piece_border.m_envelope, in apply() 218 static inline bool apply(Box const& box, Piece const& piece) in apply() 220 if (piece.type == strategy::buffer::buffered_flat_end in apply() 221 || piece.type == strategy::buffer::buffered_concave) in apply() 229 if (! piece.m_piece_border.m_has_envelope) in apply() 234 return ! geometry::detail::disjoint::disjoint_box_box(box, piece.m_piece_border.m_envelope, in apply()
|
D | buffered_piece_collection.hpp | 169 struct piece struct 208 piece() in piece() function 260 typedef std::vector<piece> piece_vector_type; 543 piece& pc = *it; in update_piece_administration() 791 inline piece& create_piece(strategy::buffer::piece_type type, in create_piece() 799 piece pc; in create_piece() 820 inline void init_rescale_piece(piece& pc) in init_rescale_piece() 837 inline void add_piece_point(piece& pc, const point_type& point, bool add_to_original) in add_piece_point() 849 inline void sectionalize(piece const& pc, buffered_ring<Ring> const& ring) in sectionalize() 869 inline void finish_piece(piece& pc) in finish_piece() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | substitute.h | 180 absl::string_view piece() const { return piece_; } in piece() function 246 const absl::string_view args[] = {a0.piece()}; in SubstituteAndAppend() 254 const absl::string_view args[] = {a0.piece(), a1.piece()}; in SubstituteAndAppend() 263 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece()}; in SubstituteAndAppend() 273 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 274 a3.piece()}; in SubstituteAndAppend() 285 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 286 a3.piece(), a4.piece()}; in SubstituteAndAppend() 298 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 299 a3.piece(), a4.piece(), a5.piece()}; in SubstituteAndAppend() [all …]
|
D | str_cat.cc | 144 for (const absl::string_view& piece : pieces) total_size += piece.size(); in CatPieces() local 149 for (const absl::string_view& piece : pieces) { in CatPieces() local 150 const size_t this_size = piece.size(); in CatPieces() 152 memcpy(out, piece.data(), this_size); in CatPieces() 173 for (const absl::string_view& piece : pieces) { in AppendPieces() local 174 ASSERT_NO_OVERLAP(*dest, piece); in AppendPieces() 175 total_size += piece.size(); in AppendPieces() 181 for (const absl::string_view& piece : pieces) { in AppendPieces() local 182 const size_t this_size = piece.size(); in AppendPieces() 184 memcpy(out, piece.data(), this_size); in AppendPieces()
|
D | string_view.cc | 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() argument 65 if (static_cast<size_t>(o.width()) > piece.size()) { in operator <<() 66 size_t pad = o.width() - piece.size(); in operator <<() 74 o.write(piece.data(), piece.size()); in operator <<()
|
/third_party/abseil-cpp/absl/strings/ |
D | substitute.h | 180 absl::string_view piece() const { return piece_; } in piece() function 246 const absl::string_view args[] = {a0.piece()}; in SubstituteAndAppend() 254 const absl::string_view args[] = {a0.piece(), a1.piece()}; in SubstituteAndAppend() 263 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece()}; in SubstituteAndAppend() 273 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 274 a3.piece()}; in SubstituteAndAppend() 285 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 286 a3.piece(), a4.piece()}; in SubstituteAndAppend() 298 const absl::string_view args[] = {a0.piece(), a1.piece(), a2.piece(), in SubstituteAndAppend() 299 a3.piece(), a4.piece(), a5.piece()}; in SubstituteAndAppend() [all …]
|
D | str_cat.cc | 144 for (const absl::string_view& piece : pieces) total_size += piece.size(); in CatPieces() local 149 for (const absl::string_view& piece : pieces) { in CatPieces() local 150 const size_t this_size = piece.size(); in CatPieces() 152 memcpy(out, piece.data(), this_size); in CatPieces() 173 for (const absl::string_view& piece : pieces) { in AppendPieces() local 174 ASSERT_NO_OVERLAP(*dest, piece); in AppendPieces() 175 total_size += piece.size(); in AppendPieces() 181 for (const absl::string_view& piece : pieces) { in AppendPieces() local 182 const size_t this_size = piece.size(); in AppendPieces() 184 memcpy(out, piece.data(), this_size); in AppendPieces()
|
D | string_view.cc | 60 std::ostream& operator<<(std::ostream& o, string_view piece) { in operator <<() argument 65 if (static_cast<size_t>(o.width()) > piece.size()) { in operator <<() 66 size_t pad = o.width() - piece.size(); in operator <<() 74 o.write(piece.data(), piece.size()); in operator <<()
|
/third_party/gn/src/base/strings/ |
D | string_split.cc | 35 size_t FindFirstOf(std::string_view piece, char c, size_t pos) { in FindFirstOf() argument 36 return piece.find(c, pos); in FindFirstOf() 38 size_t FindFirstOf(std::u16string_view piece, char16_t c, size_t pos) { in FindFirstOf() argument 39 return piece.find(c, pos); in FindFirstOf() 41 size_t FindFirstOf(std::string_view piece, in FindFirstOf() argument 44 return piece.find_first_of(one_of, pos); in FindFirstOf() 46 size_t FindFirstOf(std::u16string_view piece, in FindFirstOf() argument 49 return piece.find_first_of(one_of, pos); in FindFirstOf() 77 ViewType piece; in SplitStringT() local 79 piece = str.substr(start); in SplitStringT() [all …]
|
/third_party/skia/third_party/externals/brotli/research/ |
D | sieve.cc | 148 SampleIdx piece = 0; in sieve_generate() local 162 if (offsets[piece] == i) { in sieve_generate() 163 piece++; in sieve_generate() 177 if (item.mark != piece) { in sieve_generate() 178 item.mark = piece; in sieve_generate() 187 map.push_back({hashHead[hash], i, 1, piece}); in sieve_generate() 201 sliceLen, map.data(), shortcut.data(), end, end, a, ++piece); in sieve_generate() 205 data, sliceLen, map.data(), shortcut.data(), end, end, a, ++piece); in sieve_generate() 209 size = dryRun(sliceLen, map.data(), shortcut.data(), end, end, b, ++piece); in sieve_generate() 212 data, sliceLen, map.data(), shortcut.data(), end, end, b, ++piece); in sieve_generate() [all …]
|
/third_party/boost/libs/geometry/test/algorithms/buffer/ |
D | test_buffer_svg.hpp | 194 const piece_type& piece = *it; in map_pieces() local 195 bg::segment_identifier seg_id = piece.first_seg_id; in map_pieces() 210 bg::model::ring<point_type> const& corner = piece.m_piece_border.get_full_ring(); in map_pieces() 221 piece.type == bg::strategy::buffer::buffered_segment in map_pieces() 227 std::cerr << "Error for piece " << piece.index << std::endl; in map_pieces() 234 piece.type == bg::strategy::buffer::buffered_segment in map_pieces() 244 out << piece.index in map_pieces() 245 << (piece.is_flat_start ? " FS" : "") in map_pieces() 246 << (piece.is_flat_end ? " FE" : "") in map_pieces() 247 << " (" << piece_type_char(piece.type) << ") " in map_pieces() [all …]
|
/third_party/curl/lib/ |
D | http_chunks.c | 120 size_t piece; in Curl_httpchunk_read() local 193 piece = curlx_sotouz((ch->datasize >= length)?length:ch->datasize); in Curl_httpchunk_read() 198 result = Curl_unencode_write(data, k->writer_stack, datap, piece); in Curl_httpchunk_read() 200 result = Curl_client_write(data, CLIENTWRITE_BODY, datap, piece); in Curl_httpchunk_read() 208 *wrote += piece; in Curl_httpchunk_read() 209 ch->datasize -= piece; /* decrease amount left to expect */ in Curl_httpchunk_read() 210 datap += piece; /* move read pointer forward */ in Curl_httpchunk_read() 211 length -= piece; /* decrease space left in this round */ in Curl_httpchunk_read()
|
/third_party/ninja/src/ |
D | depfile_parser.in.cc | 172 StringPiece piece = StringPiece(filename, len); in Parse() local 174 std::vector<StringPiece>::iterator pos = std::find(ins_.begin(), ins_.end(), piece); in Parse() 182 ins_.push_back(piece); in Parse() 185 if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end()) in Parse() 186 outs_.push_back(piece); in Parse()
|
D | depfile_parser.cc | 336 StringPiece piece = StringPiece(filename, len); in Parse() local 338 std::vector<StringPiece>::iterator pos = std::find(ins_.begin(), ins_.end(), piece); in Parse() 346 ins_.push_back(piece); in Parse() 349 if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end()) in Parse() 350 outs_.push_back(piece); in Parse()
|
/third_party/node/deps/npm/lib/search/ |
D | format-package-stream.js | 105 return pieces.map(function (piece) { argument 106 piece = str.substr(p, piece.length) 108 str.substr(p + piece.length, arg.length) + 110 p += piece.length + arg.length 111 return piece + mark
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | string_utils.cpp | 41 std::string piece; in SplitString() local 44 piece = input.substr(start); in SplitString() 49 piece = input.substr(start, end - start); in SplitString() 55 piece = TrimString(piece, kWhitespaceASCII); in SplitString() 58 if (resultType == SPLIT_WANT_ALL || !piece.empty()) in SplitString() 60 result.push_back(std::move(piece)); in SplitString()
|
/third_party/node/deps/npm/node_modules/aws4/ |
D | aws4.js | 232 pathStr = pathStr.split('/').reduce(function(path, piece) { argument 233 if (normalizePath && piece === '..') { 235 } else if (!normalizePath || piece !== '.') { 236 if (decodePath) piece = decodeURIComponent(piece) 237 path.push(encodeRfc3986(encodeURIComponent(piece))) 305 path = path.split('/').map(function(piece) { argument 306 return encodeURIComponent(decodeURIComponent(piece))
|
/third_party/gettext/gettext-tools/tests/ |
D | msgfilter-6 | 74 a piece of cake 77 a piece of bread 80 a piece of cake 83 a piece of bread
|
/third_party/protobuf/src/google/protobuf/stubs/ |
D | bytestream.cc | 176 StringPiece piece(source_->Peek()); in Peek() local 177 if (piece.size() > limit_) { in Peek() 178 piece.set(piece.data(), limit_); in Peek() 181 return piece; in Peek()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | string_utils.cpp | 55 std::string piece; in SplitString() local 58 piece = input.substr(start); in SplitString() 63 piece = input.substr(start, end - start); in SplitString() 69 piece = TrimString(piece, kWhitespaceASCII); in SplitString() 72 if (resultType == SPLIT_WANT_ALL || !piece.empty()) in SplitString() 74 result.push_back(std::move(piece)); in SplitString()
|
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/translit/ |
D | CaseIterator.java | 429 String piece = null; in reset() local 431 for (int i = 0; i < source.length(); i += piece.length()) { in reset() 438 piece = UTF16.valueOf(source, i); in reset() 439 caseFold = (String) toCaseFold.get(piece); in reset() 444 piece = source.substring(i, j); in reset() 445 caseFold = (String) toCaseFold.get(piece); in reset() 452 piece = UTF16.valueOf(source, i); in reset() 453 variants[count++] = new String[] {piece}; // single item string in reset()
|
/third_party/jinja2/ |
D | loaders.py | 26 for piece in template.split("/"): 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 33 elif piece and piece != ".": 34 pieces.append(piece)
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | loaders.py | 27 for piece in template.split('/'): 28 if path.sep in piece \ 29 or (path.altsep and path.altsep in piece) or \ 30 piece == path.pardir: 32 elif piece and piece != '.': 33 pieces.append(piece)
|
/third_party/skia/third_party/externals/jinja2/ |
D | loaders.py | 26 for piece in template.split("/"): 28 path.sep in piece 29 or (path.altsep and path.altsep in piece) 30 or piece == path.pardir 33 elif piece and piece != ".": 34 pieces.append(piece)
|