/external/swiftshader/third_party/LLVM/unittests/ADT/ |
StringRefTest.cpp | 144 SmallVector<StringRef, 5> parts; local 148 StringRef(",ab,,c,").split(parts, ",", -1, false); 149 EXPECT_TRUE(parts == expected); 151 expected.clear(); parts.clear(); 154 StringRef(",ab,,c,").split(parts, ",", -1, true); 155 EXPECT_TRUE(parts == expected); 157 expected.clear(); parts.clear(); 159 StringRef("").split(parts, ",", -1, true); 160 EXPECT_TRUE(parts == expected); 162 expected.clear(); parts.clear() [all...] |
/external/guava/guava/src/com/google/common/base/ |
Joiner.java | 92 * Appends the string representation of each of {@code parts}, using the previously configured 95 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException { 96 return appendTo(appendable, parts.iterator()); 100 * Appends the string representation of each of {@code parts}, using the previously configured 105 public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { 107 if (parts.hasNext()) { 108 appendable.append(toString(parts.next())); 109 while (parts.hasNext()) { 111 appendable.append(toString(parts.next())); 118 * Appends the string representation of each of {@code parts}, using the previously configure [all...] |
/frameworks/base/tools/preload/ |
Record.java | 126 String[] parts = line.split(":"); local 128 ppid = Integer.parseInt(parts[0]); 129 pid = Integer.parseInt(parts[1]); 130 tid = Integer.parseInt(parts[2]); 132 processName = decode(parts[3]).intern(); 134 classLoader = Integer.parseInt(parts[4]); 135 className = vmTypeToLanguage(decode(parts[5])).intern(); 137 time = Long.parseLong(parts[6]);
|
/libcore/luni/src/test/java/libcore/sun/security/x509/ |
ReasonFlagsTest.java | 32 String[] parts = new String[] { local 46 Utils.test_toString_bitArrayBasedClass(parts, objectCreator, prefix, suffix);
|
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
inet_network.c | 71 in_addr_t parts[4], *pp = parts;
local 102 if (pp >= parts + 4 || val > 0xff)
109 if (pp >= parts + 4 || val > 0xff)
112 n = pp - parts;
117 val |= parts[i] & 0xff;
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
LocaleUtility.java | 121 // Split the locale into parts and remove the rightmost part 122 String[] parts = new String[] local 126 if (parts[i].length() != 0) { 127 parts[i] = ""; 132 return null; // All parts were empty 134 return new Locale(parts[0], parts[1], parts[2]);
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/impl/ |
LocaleUtility.java | 119 // Split the locale into parts and remove the rightmost part 120 String[] parts = new String[] local 124 if (parts[i].length() != 0) { 125 parts[i] = ""; 130 return null; // All parts were empty 132 return new Locale(parts[0], parts[1], parts[2]);
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
LocaleUtility.java | 119 // Split the locale into parts and remove the rightmost part 120 String[] parts = new String[] local 124 if (parts[i].length() != 0) { 125 parts[i] = ""; 130 return null; // All parts were empty 132 return new Locale(parts[0], parts[1], parts[2]);
|
/external/protobuf/src/google/protobuf/compiler/ |
code_generator.cc | 67 vector<string> parts = Split(text, ",", true); local 69 for (int i = 0; i < parts.size(); i++) { 70 string::size_type equals_pos = parts[i].find_first_of('='); 73 value.first = parts[i]; 76 value.first = parts[i].substr(0, equals_pos); 77 value.second = parts[i].substr(equals_pos + 1);
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
BandwidthUtils.java | 77 String[] parts = line.trim().split(" "); local 78 String iface = parts[1]; 82 String foreground = parts[4]; 86 String tag = parts[2]; 87 int uid = Integer.parseInt(parts[3]); 88 int rb = Integer.parseInt(parts[5]); 89 int rp = Integer.parseInt(parts[6]); 90 int tb = Integer.parseInt(parts[7]); 91 int tp = Integer.parseInt(parts[8]); 120 String[] parts = line.trim().split("[ :]+") local [all...] |
/system/core/base/ |
strings_test.cpp | 27 std::vector<std::string> parts = android::base::Split("", ","); local 28 ASSERT_EQ(1U, parts.size()); 29 ASSERT_EQ("", parts[0]); 33 std::vector<std::string> parts = android::base::Split("foo", ","); local 34 ASSERT_EQ(1U, parts.size()); 35 ASSERT_EQ("foo", parts[0]); 39 std::vector<std::string> parts = android::base::Split("foo,bar,baz", ","); local 40 ASSERT_EQ(3U, parts.size()); 41 ASSERT_EQ("foo", parts[0]); 42 ASSERT_EQ("bar", parts[1]) 47 std::vector<std::string> parts = android::base::Split("foo,,bar", ","); local 55 std::vector<std::string> parts = local 63 std::vector<std::string> parts = android::base::Split("foo:bar,baz", ",:"); local 71 std::vector<std::string> parts = android::base::Split("foo:,bar", ",:"); local [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
math_private.h | 50 } parts;
member in union:__anon12223 65 } parts;
member in union:__anon12225 76 (ix0) = ew_u.parts.msw; \
77 (ix1) = ew_u.parts.lsw; \
86 (i) = gh_u.parts.msw; \
95 (i) = gl_u.parts.lsw; \
103 iw_u.parts.msw = (ix0); \
104 iw_u.parts.lsw = (ix1); \
114 sh_u.parts.msw = (v); \
124 sl_u.parts.lsw = (v); \ [all...] |
/external/tcpdump/ |
strtoaddr.c | 66 u_int parts[4]; local 67 u_int *pp = parts; 104 if (pp >= parts + 3) 117 * Find the number of parts specified. 121 n = pp - parts + 1; 125 * parts[0-2] were set to the first 3 parts of the address; 130 if ((parts[0] | parts[1] | parts[2] | val) > 0xff [all...] |
/dalvik/opcode-gen/ |
opcode-gen.awk | 247 function readBytecodes(i, parts, line, cmd, status, count) { 248 # locals: parts, line, cmd, status, count 263 count = split(line, parts); 265 cmd = parts[1]; 286 function defineOpcode(line, count, parts, idx) { 287 # locals: count, parts, idx 288 count = split(line, parts); 290 idx = parseHex(parts[1]); 294 hex[idx] = parts[1]; 295 name[idx] = parts[2] [all...] |
/external/autotest/client/deps/fakegudev/src/ |
fakesyscalls.c | 147 gchar **parts; local 158 parts = g_regex_split (key_value_delimiter, buf, 0); 161 if (g_strv_length (parts) != 2) { 164 g_strfreev (parts); 167 if (strlen (parts[0]) == 0 || parts[0][0] != '/' || 168 strlen (parts[1]) == 0 || parts[1][0] != '/') { 172 g_strfreev (parts); 177 parts[0], parts[1]) [all...] |
/developers/build/prebuilts/gradle/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ElizaResponder.java | 140 String[] parts = afterKeyword.split("\\s+"); local 144 for (int j = 0; j < parts.length; ++j) { 145 if (parts[j].equals(first)) { 146 parts[j] = second; 147 } else if (parts[j].equals(second)) { 148 parts[j] = first; 152 afterKeyword = TextUtils.join(" ", parts);
|
/developers/samples/android/wearable/wear/ElizaChat/Application/src/main/java/com/example/android/wearable/elizachat/ |
ElizaResponder.java | 140 String[] parts = afterKeyword.split("\\s+"); local 144 for (int j = 0; j < parts.length; ++j) { 145 if (parts[j].equals(first)) { 146 parts[j] = second; 147 } else if (parts[j].equals(second)) { 148 parts[j] = first; 152 afterKeyword = TextUtils.join(" ", parts);
|
/development/samples/browseable/ElizaChat/src/com.example.android.wearable.elizachat/ |
ElizaResponder.java | 140 String[] parts = afterKeyword.split("\\s+"); local 144 for (int j = 0; j < parts.length; ++j) { 145 if (parts[j].equals(first)) { 146 parts[j] = second; 147 } else if (parts[j].equals(second)) { 148 parts[j] = first; 152 afterKeyword = TextUtils.join(" ", parts);
|
/frameworks/base/tools/split-select/ |
SplitDescription.cpp | 85 ssize_t parseAbi(const Vector<String8>& parts, const ssize_t index, 87 const ssize_t N = parts.size(); 90 if (parts[endIndex] == "arm64") { 93 if (parts[endIndex] == "v8a") { 98 } else if (parts[endIndex] == "armeabi") { 102 if (parts[endIndex] == "v7a") { 107 } else if (parts[endIndex] == "x86") { 110 } else if (parts[endIndex] == "x86_64") { 113 } else if (parts[endIndex] == "mips") { 116 } else if (parts[endIndex] == "mips64") 148 Vector<String8> parts = AaptUtil::splitAndLowerCase(extensionStr, '-'); local [all...] |
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/utils/ |
Utility.java | 31 public static String combine(Object[] parts, char separator) { 32 if (parts == null) { 36 for (int i = 0; i < parts.length; i++) { 37 sb.append(parts[i].toString()); 38 if (i < parts.length - 1) {
|
/external/llvm/unittests/ADT/ |
StringRefTest.cpp | 151 SmallVector<StringRef, 5> parts; local 155 StringRef(",ab,,c,").split(parts, ",", -1, false); 156 EXPECT_TRUE(parts == expected); 158 expected.clear(); parts.clear(); 161 StringRef(",ab,,c,").split(parts, ",", -1, true); 162 EXPECT_TRUE(parts == expected); 164 expected.clear(); parts.clear(); 166 StringRef("").split(parts, ",", -1, true); 167 EXPECT_TRUE(parts == expected); 169 expected.clear(); parts.clear() [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
AbiUtilsTest.java | 58 String[] parts = AbiUtils.parseId(ABI_ID); local 59 assertEquals("Wrong size array", 2, parts.length); 60 assertEquals("Wrong abi name", ABI_NAME, parts[0]); 61 assertEquals("Wrong module name", MODULE_NAME, parts[1]); 66 String[] parts = AbiUtils.parseId(null); local 67 assertEquals(2, parts.length); 68 assertEquals("", parts[0]); 69 assertEquals("", parts[1]); 70 parts = AbiUtils.parseId(""); 71 assertEquals(2, parts.length) [all...] |
/external/r8/src/test/java/com/android/tools/r8/utils/ |
ArtErrorParser.java | 166 String[] parts = lineContent.split(":"); local 167 if (parts.length == 2) { 169 methodSig = parts[0]; 170 errorMessageContent.append(parts[1]); 171 } else if (methodSig.equals(parts[0])) { 172 errorMessageContent.append(parts[1]); 176 } else if (parts.length >= 3) { 178 methodSig = parts[1]; 179 for (int i = 2; i < parts.length; ++i) { 180 errorMessageContent.append(parts[i]) 202 String[] parts = lineContent.split(":"); local [all...] |
/frameworks/base/tools/aapt2/ |
Locale_test.cpp | 29 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); local 31 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); 39 << count << " parts were consumed parsing '" << input 56 std::vector<std::string> parts = util::SplitAndLowercase(input, '-'); local 58 ssize_t count = lv.InitFromParts(std::begin(parts), std::end(parts)); 66 << count << " parts were consumed parsing '" << input
|
/external/ltp/testcases/kernel/fs/fs_maim/ |
maimparts | 24 # partitions ($parts). This sets up the device for partbeat 40 $parts=3; 61 $psize = int($Cyl/$parts); 66 for($i=1;$i<=$parts;$i++) { 75 for ($k=1;$k<=$parts;$k++) {
|