/third_party/boost/boost/numeric/odeint/external/mpi/ |
D | mpi_vector_state.hpp | 45 std::vector< InnerState > pieces; in split() local 48 pieces.resize(num); in split() 51 boost::numeric::odeint::resize(pieces[i], part); in split() 52 boost::numeric::odeint::copy(part, pieces[i]); in split() 56 boost::mpi::scatter(to.world, pieces, to(), 0); in split() 70 std::vector< InnerState > pieces; in unsplit() local 72 boost::mpi::gather(from.world, from(), pieces, 0); in unsplit() 76 for(size_t i = 0 ; i < pieces.size() ; i++) in unsplit() 77 total_size += boost::size(pieces[i]); in unsplit() 81 for(size_t i = 0 ; i < pieces.size() ; i++) in unsplit() [all …]
|
/third_party/boost/boost/geometry/algorithms/detail/ |
D | occupation_info.hpp | 140 inline void move_index(Pieces const& pieces, signed_size_type& index, signed_size_type& piece_index… in move_index() argument 145 && piece_index < static_cast<signed_size_type>(boost::size(pieces)) ); in move_index() 148 && index < static_cast<signed_size_type>(boost::size(pieces[piece_index].robust_ring))); in move_index() 160 piece_index = boost::size(pieces) - 1; in move_index() 162 index = boost::size(pieces[piece_index].robust_ring) - 1; in move_index() 165 && index >= static_cast<signed_size_type>(boost::size(pieces[piece_index].robust_ring))) in move_index() 168 if (piece_index >= static_cast<signed_size_type>(boost::size(pieces))) in move_index() 187 Pieces const& pieces, // using rescaled offsets of it in add_incoming_and_outgoing_angles() argument 201 while(comparator(pieces[piece_index].robust_ring[index], intersection_point)) in add_incoming_and_outgoing_angles() 203 move_index(pieces, index, piece_index, i == 0 ? -1 : 1); in add_incoming_and_outgoing_angles() [all …]
|
/third_party/glib/gio/tests/ |
D | sleepy-stream.c | 63 gint pieces; in cook_pieces() local 65 pieces = g_test_rand_int_range (0, MAX_PIECES + 1); in cook_pieces() 66 array = g_new (char *, pieces + 1); in cook_pieces() 67 array[pieces] = NULL; in cook_pieces() 69 while (pieces--) in cook_pieces() 70 array[pieces] = cook_piece (); in cook_pieces() 80 gchar **pieces; member 101 if (sleepy->pieces[sleepy->index] == NULL) in G_DEFINE_TYPE() 114 sleepy->current = sleepy->pieces[sleepy->index++]; in G_DEFINE_TYPE() 130 sleepy->pieces = cook_pieces (); in sleepy_stream_init() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/resindvd/ |
D | resindvdbin.c | 291 g_object_set (dvdbin->pieces[DVD_ELEM_SPUQ], in rsn_dvdbin_no_more_pads() 304 if (dvdbin->pieces[index] != NULL) { in try_create_piece() 327 dvdbin->pieces[index] = e; in try_create_piece() 443 g_object_set (G_OBJECT (dvdbin->pieces[DVD_ELEM_SOURCE]), in create_elements() 452 if (gst_element_link (dvdbin->pieces[DVD_ELEM_SOURCE], in create_elements() 453 dvdbin->pieces[DVD_ELEM_DEMUX]) == FALSE) in create_elements() 457 g_signal_connect (G_OBJECT (dvdbin->pieces[DVD_ELEM_DEMUX]), "pad-added", in create_elements() 460 g_signal_connect (G_OBJECT (dvdbin->pieces[DVD_ELEM_DEMUX]), "no-more-pads", in create_elements() 467 g_object_set (dvdbin->pieces[DVD_ELEM_MQUEUE], in create_elements() 485 if (!try_link_pieces (dvdbin->pieces[DVD_ELEM_VIDPARSE], "src", in create_elements() [all …]
|
/third_party/icu/icu4c/source/common/ |
D | caniter.cpp | 71 pieces(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[0] = new UnicodeString[1]; in setSource() [all …]
|
/third_party/skia/third_party/externals/icu/source/common/ |
D | caniter.cpp | 71 pieces(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[0] = new UnicodeString[1]; in setSource() [all …]
|
/third_party/node/deps/icu-small/source/common/ |
D | caniter.cpp | 71 pieces(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[0] = new UnicodeString[1]; in setSource() [all …]
|
/third_party/flutter/skia/third_party/externals/icu/source/common/ |
D | caniter.cpp | 71 pieces(NULL), in UOBJECT_DEFINE_RTTI_IMPLEMENTATION() 90 if(pieces != NULL) { in cleanPieces() 92 if(pieces[i] != NULL) { in cleanPieces() 93 delete[] pieces[i]; in cleanPieces() 96 uprv_free(pieces); in cleanPieces() 97 pieces = NULL; in cleanPieces() 146 buffer.append(pieces[i][current[i]]); in next() 185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *)); in setSource() 190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) { in setSource() 195 pieces[0] = new UnicodeString[1]; in setSource() [all …]
|
/third_party/node/benchmark/buffers/ |
D | buffer-concat.js | 5 pieces: [4, 16], property 11 function main({ n, pieces, pieceSize, withTotalLength }) { property 12 const list = Array.from({ length: pieces }) 15 const totalLength = withTotalLength ? pieces * pieceSize : undefined;
|
D | buffer-concat-fill.js | 10 const pieces = 4; 13 const list = Array.from({ length: pieces }) 16 const totalLength = (pieces * pieceSize) + extraSize;
|
/third_party/flutter/skia/tools/lua/ |
D | count_dashes.lua | 51 local pieces = 2*p 52 if pieces < 5 then 55 if pieces > 5 and pieces < 10 then
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | CanonicalIterator.java | 89 for (int i = 0; i < pieces.length; ++i) { in next() 90 buffer.append(pieces[i][current[i]]); in next() 102 if (current[i] < pieces[i].length) break; // got sequence in next() 119 pieces = new String[1][]; in setSource() 121 pieces[0] = new String[]{""}; in setSource() 145 pieces = new String[segmentList.size()][]; in setSource() 147 for (i = 0; i < pieces.length; ++i) { in setSource() 149 pieces[i] = getEquivalents(segmentList.get(i)); in setSource() 235 private String[][] pieces; field in CanonicalIterator
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | CanonicalIterator.java | 92 for (int i = 0; i < pieces.length; ++i) { in next() 93 buffer.append(pieces[i][current[i]]); in next() 105 if (current[i] < pieces[i].length) break; // got sequence in next() 123 pieces = new String[1][]; in setSource() 125 pieces[0] = new String[]{""}; in setSource() 149 pieces = new String[segmentList.size()][]; in setSource() 151 for (i = 0; i < pieces.length; ++i) { in setSource() 153 pieces[i] = getEquivalents(segmentList.get(i)); in setSource() 239 private String[][] pieces; field in CanonicalIterator
|
/third_party/python/Lib/ |
D | reprlib.py | 71 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)] 72 if n > maxiter: pieces.append('...') 73 s = ', '.join(pieces) 111 pieces = [] 115 pieces.append('%s: %s' % (keyrepr, valrepr)) 116 if n > self.maxdict: pieces.append('...') 117 s = ', '.join(pieces)
|
/third_party/gettext/gettext-tools/tests/ |
D | msgfilter-6 | 75 %d pieces of cake 78 %d pieces of bread 81 %d pieces of cake 84 %d pieces of bread
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_cat_test.cc | 118 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 140 result = absl::StrCat(strs[1], pieces[2]); in TEST() 146 result = absl::StrCat(strs[0], ", ", pieces[2]); in TEST() 152 result = absl::StrCat(pieces[0], ", ", pieces[1], " ", pieces[2]); in TEST() 330 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 350 absl::StrAppend(&result, strs[1], pieces[2]); in TEST() 354 absl::StrAppend(&result, stdstrs[0], ", ", pieces[2]); in TEST() 362 absl::StrAppend(&result, pieces[0], ", ", pieces[1], " ", pieces[2]); in TEST()
|
/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | ByteStringTest.java | 149 final List<ByteString> pieces = makeConcretePieces(testBytes); in testCopyFrom_Iterable() local 151 ByteString byteString = ByteString.copyFrom(pieces); in testCopyFrom_Iterable() 157 return pieces.iterator(); in testCopyFrom_Iterable() 499 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCompositeSubstring() local 500 ByteString listString = ByteString.copyFrom(pieces); in testCompositeSubstring() 535 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testCopyFromList() local 536 ByteString listString = ByteString.copyFrom(pieces); in testCopyFromList() 548 List<ByteString> pieces = makeConcretePieces(referenceBytes); in testConcat() local 550 Iterator<ByteString> iter = pieces.iterator(); in testConcat() 578 List<ByteString> pieces = new ArrayList<ByteString>(); in makeConcretePieces() local [all …]
|
/third_party/abseil-cpp/absl/strings/ |
D | str_cat_test.cc | 118 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 140 result = absl::StrCat(strs[1], pieces[2]); in TEST() 146 result = absl::StrCat(strs[0], ", ", pieces[2]); in TEST() 152 result = absl::StrCat(pieces[0], ", ", pieces[1], " ", pieces[2]); in TEST() 330 absl::string_view pieces[] = {"Hello", "Cruel", "World"}; in TEST() local 350 absl::StrAppend(&result, strs[1], pieces[2]); in TEST() 354 absl::StrAppend(&result, stdstrs[0], ", ", pieces[2]); in TEST() 362 absl::StrAppend(&result, pieces[0], ", ", pieces[1], " ", pieces[2]); in TEST()
|
D | str_cat.cc | 141 std::string CatPieces(std::initializer_list<absl::string_view> pieces) { in CatPieces() argument 144 for (const absl::string_view& piece : pieces) total_size += piece.size(); in CatPieces() 149 for (const absl::string_view& piece : pieces) { in CatPieces() 170 std::initializer_list<absl::string_view> pieces) { in AppendPieces() argument 173 for (const absl::string_view& piece : pieces) { in AppendPieces() 181 for (const absl::string_view& piece : pieces) { in AppendPieces()
|
/third_party/icu/icu4c/source/tools/genrb/ |
D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/skia/third_party/externals/icu/source/tools/genrb/ |
D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/node/deps/icu-small/source/tools/genrb/ |
D | filterrb.cpp | 55 const std::list<std::string>& ResKeyPath::pieces() const { in pieces() function in ResKeyPath 60 if (value.pieces().empty()) { in operator <<() 62 } else for (auto& key : value.pieces()) { in operator <<() 94 fRoot.applyRule(path, path.pieces().begin(), inclusionRule, status); in addRule() 111 for (auto& key : path.pieces()) { in match() 168 if (it == path.pieces().end()) { in applyRule()
|
/third_party/jinja2/ |
D | loaders.py | 25 pieces = [] 34 pieces.append(piece) 35 return pieces 177 pieces = split_template_path(template) 179 filename = path.join(searchpath, *pieces) 245 pieces = split_template_path(template) 246 p = "/".join((self.package_path,) + tuple(pieces))
|
/third_party/node/tools/inspector_protocol/jinja2/ |
D | loaders.py | 26 pieces = [] 33 pieces.append(piece) 34 return pieces 168 pieces = split_template_path(template) 170 filename = path.join(searchpath, *pieces) 232 pieces = split_template_path(template) 233 p = '/'.join((self.package_path,) + tuple(pieces))
|
/third_party/skia/third_party/externals/jinja2/ |
D | loaders.py | 25 pieces = [] 34 pieces.append(piece) 35 return pieces 177 pieces = split_template_path(template) 179 filename = path.join(searchpath, *pieces) 245 pieces = split_template_path(template) 246 p = "/".join((self.package_path,) + tuple(pieces))
|