/external/lzma/CPP/7zip/UI/Common/ |
ExtractingFilePath.cpp | 141 void Correct_FsPath(bool absIsAllowed, UStringVector &parts, bool isDir)
150 if (parts[0].IsEmpty())
154 if (parts.Size() > 1 && parts[1].IsEmpty())
157 if (parts.Size() > 2 && parts[2] == L"?")
160 if (parts.Size() > 3 && NWindows::NFile::NName::IsDrivePath2(parts[3]))
170 else if (NWindows::NFile::NName::IsDrivePath2(parts[0]))
179 const UString &ds = parts[i - 1]; [all...] |
/external/apache-http/android/src/com/android/internal/http/multipart/ |
MultipartEntity.java | 57 * a series of parts. Each part is expected to contain a content-disposition 71 * Part[] parts = { 76 * new MultipartRequestEntity(parts, filePost.getParams()) 117 /** The MIME parts as set by the constructor */ 118 protected Part[] parts; field in class:MultipartEntity 127 * Creates a new multipart entity containing the given parts. 128 * @param parts The parts to include. 131 public MultipartEntity(Part[] parts, HttpParams params) { 132 if (parts == null) [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/NetUtil/ |
inet_addr.c | 132 u_int8_t parts[4];
local 133 u_int8_t *pp = parts;
178 if (pp >= parts + 3 || val > 0xffU)
197 * the number of parts specified.
199 n = (int)(pp - parts + 1);
207 val |= parts[0] << 24;
213 val |= (parts[0] << 24) | (parts[1] << 16);
219 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); [all...] |
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;
|
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/ |
OS.java | 32 final String[] parts = version.split("\\."); external variable declarations 33 leopard = Integer.parseInt(parts[0]) >= 10 && Integer.parseInt(parts[1]) >= 5;
|
/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/gflags/src/ |
gflags_completions.sh | 92 parts=( ${COMP_LINE} ) 93 binary=${parts[1]}
|
/external/robolectric-shadows/annotations/src/main/java/org/robolectric/annotation/internal/ |
ConfigUtils.java | 15 String[] parts = parseStringArrayProperty(property); local 16 int[] result = new int[parts.length]; 17 for (int i = 0; i < parts.length; i++) { 18 result[i] = parseSdkInt(parts[i]);
|
/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);
|
/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...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Math/ |
math_private.h | 50 } parts;
member in union:__anon12079 65 } parts;
member in union:__anon12081 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...] |
/external/libtextclassifier/util/i18n/ |
locale.cc | 73 std::vector<StringPiece> parts = strings::Split(locale_tag, '-'); local 74 if (parts.empty()) { 78 auto parts_it = parts.begin(); 86 if (parts_it != parts.end()) { 96 if (parts_it != parts.end()) {
|