HomeSort by relevance Sort by last modified time
    Searched refs:pieces (Results 1 - 25 of 166) sorted by null

1 2 3 4 5 6 7

  /external/libchrome/base/strings/
strcat.h 61 BASE_EXPORT std::string StrCat(span<const StringPiece> pieces);
62 BASE_EXPORT string16 StrCat(span<const StringPiece16> pieces);
63 BASE_EXPORT std::string StrCat(span<const std::string> pieces);
64 BASE_EXPORT string16 StrCat(span<const string16> pieces);
67 inline std::string StrCat(std::initializer_list<StringPiece> pieces) {
68 return StrCat(make_span(pieces.begin(), pieces.size()));
70 inline string16 StrCat(std::initializer_list<StringPiece16> pieces) {
71 return StrCat(make_span(pieces.begin(), pieces.size()))
    [all...]
strcat.cc 29 void StrAppendT(DestString* dest, span<const InputString> pieces) {
31 for (const auto& cur : pieces)
35 for (const auto& cur : pieces)
41 std::string StrCat(span<const StringPiece> pieces) {
43 StrAppendT(&result, pieces);
47 string16 StrCat(span<const StringPiece16> pieces) {
49 StrAppendT(&result, pieces);
53 std::string StrCat(span<const std::string> pieces) {
55 StrAppendT(&result, pieces);
59 string16 StrCat(span<const string16> pieces) {
    [all...]
  /external/tensorflow/tensorflow/core/profiler/internal/
tfprof_utils.cc 84 tensorflow::Status ReturnError(const std::vector<string>& pieces, int idx) {
86 if (pieces.size() > idx + 1) {
87 val = pieces[idx + 1];
91 strings::StrCat("Invalid option '", pieces[idx], "' value: '", val, "'"));
117 std::vector<string> pieces = local
121 if (std::find(cmds_str.begin(), cmds_str.end(), pieces[0]) ==
126 *cmd = pieces[0];
128 for (int i = 1; i < pieces.size(); ++i) {
129 if (pieces[i] == string(tensorflow::tfprof::kOptions[0])) {
130 if (pieces.size() <= i + 1 |
    [all...]
  /external/tensorflow/tensorflow/python/autograph/core/
naming.py 69 pieces = cn.split('.')
72 pieces = tuple(misc.capitalize_initial(p) for p in pieces)
73 return ''.join(pieces)
75 return '_'.join(pieces)
115 pieces = name_root.split('_')
116 if pieces[-1].isdigit():
117 name_root = '_'.join(pieces[:-1])
118 n = int(pieces[-1])
  /external/tensorflow/tensorflow/compiler/xla/tests/
test_macros.cc 59 std::vector<string> pieces = absl::StrSplit(line, ' '); local
60 CHECK_GE(pieces.size(), 1);
61 auto& platforms = manifest[pieces[0]];
62 for (int64 i = 1; i < pieces.size(); ++i) {
63 platforms.push_back(pieces[i]);
  /external/libtextclassifier/utils/sentencepiece/
encoder_test.cc 33 const char pieces[] = "hell\0hello\0o\0there\0"; local
37 /*num_pieces=*/4, offsets, StringPiece(pieces, 18)));
58 const char pieces[] = "hell\0hello\0o\0there\0"; local
62 /*num_pieces=*/4, offsets, StringPiece(pieces, 18)));
88 const char pieces[] = "hell\0hello\0o\0there\0"; local
92 /*num_pieces=*/4, offsets, StringPiece(pieces, 18)));
sorted_strings_table.h 29 // A matcher to find string pieces matching prefixes of an input string.
33 // num_pieces: Number of sentence pieces.
34 // offsets: Offsets into `pieces` where a string starts.
35 // pieces: String pieces, concatenated in sorted order and zero byte separated.
41 StringPiece pieces,
45 pieces_(pieces),
  /external/cldr/tools/java/org/unicode/cldr/util/
LocaleIDParser.java 86 String[] pieces = new String[100]; // fix limitation later local
87 Utility.split(localeID, '_', pieces);
89 language = pieces[i++];
90 if (i >= pieces.length) return this;
91 if (pieces[i].length() == 4) {
92 script = pieces[i++];
93 if (i >= pieces.length) return this;
95 if (pieces[i].length() == 2 && letters.containsAll(pieces[i])
96 || pieces[i].length() == 3 && digits.containsAll(pieces[i]))
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/
buffer_liveness.cc 77 std::vector<string> pieces; local
78 pieces.push_back(
80 pieces.push_back("HloOrdering:");
81 pieces.push_back(hlo_ordering_->ToString());
82 pieces.push_back("Aliased buffers:");
84 pieces.push_back(absl::StrFormat(" %s", buffer->ToString()));
86 pieces.push_back("Live out buffers:");
88 pieces.push_back(absl::StrFormat(" %s", buffer->ToString()));
90 return absl::StrJoin(pieces, "\n");
  /external/turbine/javatests/com/google/turbine/parse/
ParserIntegrationTest.java 103 List<String> pieces = Splitter.onPattern("===+").splitToList(result);
104 String input = pieces.get(0).trim();
105 String expected = pieces.size() > 1 ? pieces.get(1).trim() : input;
  /external/cldr/tools/java/org/unicode/cldr/tool/
AddPopulationData.java 29 String get(String[] pieces) {
30 return ordinal() < pieces.length ? pieces[ordinal()] : EMPTY;
36 String get(String[] pieces) {
37 return pieces[ordinal()];
43 String get(String[] pieces) {
44 return pieces[ordinal()];
109 String[] pieces = altName.split("\t"); local
110 String code = pieces[0];
116 System.out.println(code + "; " + pieces[2] + "; " + pieces[1])
247 String[] pieces = line.split(";"); local
    [all...]
  /external/tensorflow/tensorflow/stream_executor/rocm/
rocm_diagnostics.cc 59 std::vector<string> pieces = port::Split(value, '.'); local
60 if (pieces.size() != 2 && pieces.size() != 3) {
70 if (!port::safe_strto32(pieces[0], &major)) {
75 pieces[0].c_str(), value.c_str())};
77 if (!port::safe_strto32(pieces[1], &minor)) {
82 pieces[1].c_str(), value.c_str())};
84 if (pieces.size() == 3 && !port::safe_strto32(pieces[2], &patch)) {
89 pieces[2].c_str(), value.c_str())}
124 std::vector<string> pieces = port::Split(library_path, ':'); local
    [all...]
  /external/v8/tools/
objdump-v8 48 pieces = line.split(None, 3)
49 return " " + pieces[0][2:] + ":\t" + pieces[3]
  /external/python/cpython2/Demo/tkinter/guido/
electrons.py 35 self.pieces = []
39 self.pieces.append(p)
45 for p in self.pieces:
  /external/tensorflow/tensorflow/stream_executor/cuda/
cuda_diagnostics.cc 68 std::vector<string> pieces = port::Split(value, '.'); local
69 if (pieces.size() < 2 || pieces.size() > 4) {
80 if (!port::safe_strto32(pieces[0], &major)) {
85 pieces[0].c_str(), value.c_str()));
87 if (!port::safe_strto32(pieces[1], &minor)) {
92 pieces[1].c_str(), value.c_str()));
94 if (pieces.size() == 3 && !port::safe_strto32(pieces[2], &patch)) {
99 pieces[2].c_str(), value.c_str()))
180 std::vector<string> pieces = port::Split(library_path, ':'); local
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/
text_literal_reader.cc 80 std::vector<absl::string_view> pieces; local
85 pieces = absl::StrSplit(line, ':');
87 absl::StripAsciiWhitespace(pieces[0]);
88 absl::string_view value_string = absl::StripAsciiWhitespace(pieces[1]);
  /bootable/recovery/minadbd/
minadbd_services.cpp 101 auto pieces = android::base::Split(args, ":"); local
104 if (pieces.size() != 2 || !android::base::ParseInt(pieces[0], &file_size) || file_size <= 0 ||
105 !android::base::ParseInt(pieces[1], &block_size) || block_size <= 0) {
212 auto pieces = android::base::Split(args, ":"); local
213 if (pieces.size() != 2 || pieces[0] != "userdata") {
219 if (!android::base::ParseUint(pieces[1], &message_size) ||
  /external/skia/tools/lua/
count_dashes.lua 51 local pieces = 2*p
52 if pieces < 5 then
55 if pieces > 5 and pieces < 10 then
  /external/skqp/tools/lua/
count_dashes.lua 51 local pieces = 2*p
52 if pieces < 5 then
55 if pieces > 5 and pieces < 10 then
  /external/syzkaller/pkg/hash/
hash.go 16 func Hash(pieces ...[]byte) Sig {
18 for _, data := range pieces {
26 func String(pieces ...[]byte) string {
27 sig := Hash(pieces...)
  /external/icu/icu4c/source/common/
caniter.cpp 71 pieces(NULL),
90 if(pieces != NULL) {
92 if(pieces[i] != NULL) {
93 delete[] pieces[i];
96 uprv_free(pieces);
97 pieces = NULL;
146 buffer.append(pieces[i][current[i]]);
185 pieces = (UnicodeString **)uprv_malloc(sizeof(UnicodeString *));
190 if (pieces == NULL || pieces_lengths == NULL || current == NULL) {
195 pieces[0] = new UnicodeString[1]
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/draft/
UnicodeMapBuilder.java 72 final String[] pieces = semi.split(line); local
73 if (pieces.length < 2) {
76 final String codelist = pieces[0].trim();
77 final String valueString = pieces[1].trim();
78 if (UnicodeSet.resemblesPattern(pieces[0], 0)) {
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
repr.py 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)]
49 if n > maxiter: pieces.append('...')
50 s = ', '.join(pieces)
82 pieces = []
86 pieces.append('%s: %s' % (keyrepr, valrepr))
87 if n > self.maxdict: pieces.append('...')
88 s = ', '.join(pieces)
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
repr.py 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)]
49 if n > maxiter: pieces.append('...')
50 s = ', '.join(pieces)
82 pieces = []
86 pieces.append('%s: %s' % (keyrepr, valrepr))
87 if n > self.maxdict: pieces.append('...')
88 s = ', '.join(pieces)
  /external/python/cpython2/Lib/
repr.py 48 pieces = [repr1(elem, newlevel) for elem in islice(x, maxiter)]
49 if n > maxiter: pieces.append('...')
50 s = ', '.join(pieces)
82 pieces = []
86 pieces.append('%s: %s' % (keyrepr, valrepr))
87 if n > self.maxdict: pieces.append('...')
88 s = ', '.join(pieces)

Completed in 2003 milliseconds

1 2 3 4 5 6 7