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

1 2 3 4 5 6 7 8 9

  /system/core/fs_mgr/
fs_mgr_boot_config.cpp 35 std::vector<std::string> pieces = android::base::Split(entry, "="); local
36 if (pieces.size() == 2) {
37 if (pieces[0] == cmdline_key) {
38 *out_val = pieces[1];
  /external/toolchain-utils/
weekly_report.py 51 pieces = test_path.split('/')
52 test_name = pieces[-1]
105 pieces = test_path.split('/') variable
106 test_name = pieces[-1]
  /system/core/base/
parsenetaddress.cpp 51 std::vector<std::string> pieces = Split(address, ":"); local
52 *host = pieces[0];
53 if (pieces.size() > 1) {
54 port_str = pieces[1];
  /system/netd/netutils_wrappers/
NetUtilsWrapperTest-1.0.cpp 62 std::vector<std::string> pieces = android::base::Split(cmd.cmdString, " "); local
63 ASSERT_LE(pieces.size(), ARRAY_SIZE(argv));
64 for (size_t i = 0; i < pieces.size(); i++) {
65 argv[i] = const_cast<char*>(pieces[i].c_str());
67 EXPECT_EQ(cmd.valid, checkExpectedCommand(pieces.size(), argv)) <<
  /bootable/recovery/applypatch/
applypatch_modes.cpp 55 std::vector<std::string> pieces = android::base::Split(argv[i], ":"); local
56 if (pieces.size() != 2) {
62 if (ParseSha1(pieces[0].c_str(), digest) != 0) {
67 sha1s->push_back(pieces[0]);
69 if (LoadFileContents(pieces[1].c_str(), &fc) != 0) {
applypatch.cpp 98 std::vector<std::string> pieces = android::base::Split(filename, ":"); local
99 if (pieces.size() < 4 || pieces.size() % 2 != 0 || pieces[0] != "EMMC") {
104 size_t pair_count = (pieces.size() - 2) / 2; // # of (size, sha1) pairs in filename
108 if (!android::base::ParseUint(pieces[i * 2 + 2], &size) || size == 0) {
109 printf("LoadPartitionContents called with bad size \"%s\"\n", pieces[i * 2 + 2].c_str());
112 pairs.push_back({ size, pieces[i * 2 + 3] });
118 const char* partition = pieces[1].c_str();
219 std::vector<std::string> pieces = android::base::Split(target, ":") local
560 std::vector<std::string> pieces = android::base::Split(target_str, ":"); local
    [all...]
  /external/icu/icu4c/source/common/unicode/
caniter.h 85 * Cleans pieces
170 // 2 dimensional array holds the pieces of the string with
172 UnicodeString **pieces; member in class:U_FINAL
176 // current is used in iterating to combine pieces
  /external/tensorflow/tensorflow/compiler/xla/service/
buffer_liveness.cc 78 std::vector<string> pieces; local
79 pieces.push_back(tensorflow::strings::Printf("BufferLiveness(module=%s):",
81 pieces.push_back("HloOrdering:");
82 pieces.push_back(hlo_ordering_->ToString());
83 pieces.push_back(tensorflow::strings::Printf("Aliased buffers:"));
85 pieces.push_back(
88 pieces.push_back(tensorflow::strings::Printf("Live out buffers:"));
90 pieces.push_back(
93 return tensorflow::str_util::Join(pieces, "\n");
hlo_ordering.cc 266 std::vector<string> pieces; local
267 pieces.push_back(name);
269 pieces.push_back(tensorflow::strings::Printf("computation %s:",
273 pieces.push_back(tensorflow::strings::Printf(
278 pieces.push_back(
284 return tensorflow::str_util::Join(pieces, "\n");
332 std::vector<string> pieces; local
333 pieces.push_back("SequentialHloOrdering");
335 pieces.push_back(tensorflow::strings::Printf("computation %s order:",
351 pieces.push_back
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/tests/
test_macros.cc 56 std::vector<string> pieces = tensorflow::str_util::Split(line, ' '); local
57 CHECK_GE(pieces.size(), 1);
58 auto& platforms = manifest[pieces[0]];
59 for (int64 i = 1; i < pieces.size(); ++i) {
60 platforms.push_back(pieces[i]);
  /external/tensorflow/tensorflow/compiler/xla/
text_literal_reader.cc 108 std::vector<tensorflow::StringPiece> pieces; local
113 SplitByDelimToStringPieces(line, ':', &pieces);
114 tensorflow::StringPiece coordinates_string = pieces[0];
115 tensorflow::StringPiece value_string = pieces[1];
util.cc 152 std::vector<string> pieces = tensorflow::str_util::Split( local
155 pieces, "\n", [indentation](string* out, string s) {
  /external/tensorflow/tensorflow/examples/speech_commands/
accuracy_utils.cc 37 std::vector<string> pieces = tensorflow::str_util::Split(line, ','); local
38 if (pieces.size() != 2) {
42 if (!tensorflow::strings::safe_strtof(pieces[1].c_str(), &timestamp)) {
46 string label = pieces[0];
  /frameworks/base/tools/aapt2/jni/
aapt2_jni.cpp 68 * The returned pieces can only be used while the original ones have not been
72 std::vector<StringPiece> pieces; local
76 [&pieces](const ScopedUtfChars &p) { pieces.push_back(p.c_str()); });
78 return pieces;
  /bootable/recovery/otautil/
rangeset.cpp 48 std::vector<std::string> pieces = android::base::Split(range_text, ","); local
49 if (pieces.size() < 3) {
55 if (!android::base::ParseUint(pieces[0], &num, static_cast<size_t>(INT_MAX))) {
67 if (num != pieces.size() - 1) {
76 if (!android::base::ParseUint(pieces[i + 1], &first, static_cast<size_t>(INT_MAX)) ||
77 !android::base::ParseUint(pieces[i + 2], &second, static_cast<size_t>(INT_MAX))) {
  /external/tensorflow/tensorflow/core/lib/strings/
strcat_test.cc 70 StringPiece pieces[] = {"Hello", "Cruel", "World"}; local
86 result = tensorflow::strings::StrCat(strs[1], pieces[2]);
89 result = tensorflow::strings::StrCat(strs[0], ", ", pieces[2]);
97 tensorflow::strings::StrCat(pieces[0], ", ", pieces[1], " ", pieces[2]);
217 StringPiece pieces[] = {"Hello", "Cruel", "World"}; local
229 tensorflow::strings::StrAppend(&result, strs[1], pieces[2]);
233 tensorflow::strings::StrAppend(&result, strs[0], ", ", pieces[2]);
242 tensorflow::strings::StrAppend(&result, pieces[0], ", ", pieces[1], " "
    [all...]
  /frameworks/minikin/tests/unittest/
LayoutTest.cpp 57 const LayoutPieces& pieces) {
62 StartHyphenEdit::NO_EDIT, EndHyphenEdit::NO_EDIT, pieces);
560 LayoutPieces pieces; local
564 pieces.insert(utf8ToUtf16("I"), Range(0, 1), paint, false /* dir */,
567 Layout outLayout = doLayoutWithPrecomputedPieces("I", MinikinPaint(fc), pieces);
571 LayoutPieces pieces; local
575 pieces.insert(utf8ToUtf16("I"), Range(0, 1), paint, false /* dir */,
578 Layout outLayout = doLayoutWithPrecomputedPieces("II", MinikinPaint(fc), pieces);
579 // The layout pieces are used in word units. Should not be used "I" for "II".
584 LayoutPieces pieces; local
596 LayoutPieces pieces; local
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationUtils.java 171 * Split the string into pieces that are likely to be common
177 ArrayList<String> pieces = new ArrayList<String>(20); local
205 pieces.add(raw.substring(at, endAt));
209 int size = pieces.size();
213 list.set(i, new CstString(pieces.get(i)));
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationUtils.java 172 * Split the string into pieces that are likely to be common
178 ArrayList<String> pieces = new ArrayList<String>(20); local
206 pieces.add(raw.substring(at, endAt));
210 int size = pieces.size();
214 list.set(i, new CstString(pieces.get(i)));
  /external/guava/guava/src/com/google/common/net/
InternetDomainName.java 510 final String[] pieces = domain.split(DOT_REGEX, 2); local
511 return pieces.length == 2 && PublicSuffixPatterns.UNDER.containsKey(pieces[1]);
  /external/icu/android_icu4j/src/main/java/android/icu/text/
CanonicalIterator.java 89 for (int i = 0; i < pieces.length; ++i) {
90 buffer.append(pieces[i][current[i]]);
102 if (current[i] < pieces[i].length) break; // got sequence
119 pieces = new String[1][];
121 pieces[0] = new String[]{""};
145 pieces = new String[segmentList.size()][];
147 for (i = 0; i < pieces.length; ++i) {
149 pieces[i] = getEquivalents(segmentList.get(i));
235 private String[][] pieces; field in class:CanonicalIterator
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CanonicalIterator.java 92 for (int i = 0; i < pieces.length; ++i) {
93 buffer.append(pieces[i][current[i]]);
105 if (current[i] < pieces[i].length) break; // got sequence
123 pieces = new String[1][];
125 pieces[0] = new String[]{""};
149 pieces = new String[segmentList.size()][];
151 for (i = 0; i < pieces.length; ++i) {
153 pieces[i] = getEquivalents(segmentList.get(i));
239 private String[][] pieces; field in class:CanonicalIterator
  /external/tensorflow/tensorflow/core/framework/
attr_value_util.cc 89 std::vector<string> pieces; local
92 pieces.push_back(SummarizeString(attr_value.list().s(i)));
96 pieces.push_back(strings::StrCat(attr_value.list().i(i)));
100 pieces.push_back(strings::StrCat(attr_value.list().f(i)));
104 pieces.push_back(attr_value.list().b(i) ? "true" : "false");
108 pieces.push_back(EnumName_DataType(attr_value.list().type(i)));
112 pieces.push_back(
117 pieces.push_back(SummarizeTensor(attr_value.list().tensor(i)));
121 pieces.push_back(SummarizeFunc(attr_value.list().func(i)));
125 if (pieces.size() >= kMaxListSummarySize)
    [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/stream_executor/cuda/
cuda_diagnostics.cc 78 std::vector<string> pieces = port::Split(value, '.'); local
79 if (pieces.size() < 2 || pieces.size() > 4) {
89 if (!port::safe_strto32(pieces[0], &major)) {
94 pieces[0].c_str(), value.c_str())};
96 if (!port::safe_strto32(pieces[1], &minor)) {
101 pieces[1].c_str(), value.c_str())};
103 if (pieces.size() == 3 && !port::safe_strto32(pieces[2], &patch)) {
108 pieces[2].c_str(), value.c_str())}
172 std::vector<string> pieces = port::Split(library_path, ':'); local
    [all...]

Completed in 3157 milliseconds

1 2 3 4 5 6 7 8 9