/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/ |
BatteryStatsDumpsysTest.java | 62 String[] parts = line.split(",", -1); local 63 assertInteger(parts[0]); // old version 64 assertInteger(parts[1]); // UID 65 switch (parts[2]) { // aggregation type 72 fail("malformed stat: " + parts[2]); 74 assertNotNull(parts[3]); 75 seenTags.add(parts[3]); 78 switch (parts[3]) { 80 checkVersion(parts); 83 checkUid(parts); 716 String[] parts = line.split(","); local [all...] |
ProcessStatsDumpsysTest.java | 101 String[] parts = commaSplit(line); local 102 seenTags.add(parts[0]); 104 switch (parts[0]) { 106 assertEquals(2, parts.length); 107 assertEquals(5, Integer.parseInt(parts[1])); 110 checkPeriod(parts); 113 checkPkgProc(parts); 116 checkPkgPss(parts, checkAvg); 122 checkPkgSvc(parts); 125 checkPkgKills(parts, checkAvg) 413 String parts[] = commaSplit(findLine( local [all...] |
StoragedDumpsysTest.java | 78 String[] parts; local 85 parts = line.split(","); 86 assertTrue(parts.length == 2); 87 if (!parts[0].isEmpty()) { 88 assertInteger(parts[0]); 90 assertInteger(parts[1]); 94 parts = line.split(" "); 95 assertTrue(parts.length == 9); 96 for (int i = 1; i < parts.length; i++) { 97 assertInteger(parts[i]) [all...] |
/bionic/libc/bionic/ |
arpa_inet.cpp | 38 unsigned long parts[4]; local 43 parts[i] = strtoul(cp, &end, 0); 52 if (parts[0] > 0xffffffff) return 0; 53 result = parts[0]; 56 if (parts[0] > 0xff || parts[1] > 0xffffff) return 0; 57 result = (parts[0] << 24) | parts[1]; 60 if (parts[0] > 0xff || parts[1] > 0xff || parts[2] > 0xffff) return 0 [all...] |
/external/openssh/openbsd-compat/ |
inet_aton.c | 93 u_int parts[4]; local 94 u_int *pp = parts; 131 if (pp >= parts + 3) 145 * the number of parts specified. 147 n = pp - parts + 1; 157 if ((val > 0xffffff) || (parts[0] > 0xff)) 159 val |= parts[0] << 24; 163 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) 165 val |= (parts[0] << 24) | (parts[1] << 16) [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 9 parts = call_string.split( ':', 3 ) 10 file = parts.shift 11 line = parts.shift.to_i 12 if parts.empty? 15 mstring = parts.shift
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/ |
NotARotationMatrixException.java | 41 * @param parts to insert in the format (no translation) 45 public NotARotationMatrixException(String specifier, Object ... parts) { 46 super(specifier, parts); 53 * @param parts to insert in the format (no translation) 56 public NotARotationMatrixException(Localizable specifier, Object ... parts) { 57 super(specifier, parts);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/ |
IntegratorException.java | 38 * @param parts to insert in the format (no translation) 42 public IntegratorException(final String specifier, final Object ... parts) { 43 super(specifier, parts); 49 * @param parts to insert in the format (no translation) 52 public IntegratorException(final Localizable specifier, final Object ... parts) { 53 super(specifier, parts);
|
DerivativeException.java | 39 * @param parts to insert in the format (no translation) 41 public DerivativeException(final String specifier, final Object ... parts) { 42 this(new DummyLocalizable(specifier), parts); 48 * @param parts to insert in the format (no translation) 51 public DerivativeException(final Localizable specifier, final Object ... parts) { 52 super(specifier, parts);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/ode/events/ |
EventException.java | 37 * @param parts to insert in the format (no translation) 41 public EventException(final String specifier, final Object ... parts) { 42 super(specifier, parts); 48 * @param parts to insert in the format (no translation) 51 public EventException(final Localizable specifier, final Object ... parts) { 52 super(specifier, parts);
|
/external/libbrillo/brillo/strings/ |
string_utils_unittest.cc | 17 std::vector<std::string> parts; local 19 parts = string_utils::Split("", ",", false, false); 20 EXPECT_EQ(0, parts.size()); 22 parts = string_utils::Split("abc", ",", false, false); 23 EXPECT_EQ(1, parts.size()); 24 EXPECT_EQ("abc", parts[0]); 26 parts = string_utils::Split(",a,bc , d, ,e, ", ",", true, true); 27 EXPECT_EQ(4, parts.size()); 28 EXPECT_EQ("a", parts[0]); 29 EXPECT_EQ("bc", parts[1]) [all...] |
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
RulesFileParser.java | 50 String[] parts = line.split("\\s+"); local 51 if (parts.length < 2) 52 error(c, parts); 53 String type = parts[0]; 56 if (parts.length < 3) 57 error(c, parts); 59 rule.setResult(parts[2]); 66 error(c, parts); 68 element.setPattern(parts[1]); 78 private static void error(int line, String[] parts) { [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/ |
buildNotes.php | 4 $parts = explode("/", getcwd());
variable 5 $parts2 = explode("-", $parts[count($parts) - 1]);
14 $parts = explode(",", $aLine);
variable 15 $dropNames[trim($parts[0])] = trim($parts[1]);
43 $parts = explode("_", $anEntry);
variable 44 $baseName = $parts[1];
45 $parts = explode(".", $baseName);
variable 46 $component = $parts[0]; [all...] |
/frameworks/base/tools/aapt/ |
AaptUtil.cpp | 25 Vector<String8> parts; local 32 parts.add(String8(p, strlen(p))); 33 return parts; 36 parts.add(String8(p, q-p)); 39 return parts; 43 Vector<String8> parts; local 52 parts.add(val); 53 return parts; 58 parts.add(val); 61 return parts; [all...] |
/libcore/support/src/test/java/libcore/sun/security/x509/ |
Utils.java | 28 * @param parts The different parts of the result 34 String[] parts, 38 testWithEachSinglePart(parts, objectCreator, prefix, suffix); 39 testWithAllParts(parts, objectCreator, prefix, suffix); 40 testWithNoParts(parts, objectCreator, prefix, suffix); 41 testWithEveryOtherPart(parts, objectCreator, prefix, suffix); 45 String[] parts, Function<byte[], Object> objectCreator, String prefix, String suffix) { 47 for (int i = 0; i < parts.length; i++) { 56 assertEquals(prefix + parts[i] + suffix, o.toString()) [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/helpers/ |
NamespaceSupportTest.java | 240 String[] parts = new String[3]; local 243 ns.processName("ak:hello", parts, false)); 244 assertEquals("Test 2: Incorrect namespace URI;", marketUri, parts[0]); 245 assertEquals("Test 3: Incorrect local name;", "hello", parts[1]); 246 assertEquals("Test 4: Incorrect raw name;", "ak:hello", parts[2]); 249 ns.processName("bk:", parts, false)); 250 assertEquals("Test 6: Incorrect namespace URI;", marketUri, parts[0]); 251 assertEquals("Test 7: Incorrect local name;", "", parts[1]); 252 assertEquals("Test 8: Incorrect raw name;", "bk:", parts[2]); 255 ns.processName("world", parts, false)) 276 String[] parts = new String[3]; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
CDATASectionImpl.java | 49 * Splits this CDATA node into parts that do not contain a "]]>" sequence. 58 String[] parts = getData().split("\\]\\]>"); local 59 parent.insertBefore(new CDATASectionImpl(document, parts[0] + "]]"), this); 60 for (int p = 1; p < parts.length - 1; p++) { 61 parent.insertBefore(new CDATASectionImpl(document, ">" + parts[p] + "]]"), this); 63 setData(">" + parts[parts.length - 1]);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/estimation/ |
EstimationException.java | 44 * @param parts to insert in the format (no translation) 46 public EstimationException(String specifier, Object ... parts) { 47 this(new DummyLocalizable(specifier), parts); 54 * @param parts to insert in the format (no translation) 57 public EstimationException(Localizable specifier, Object ... parts) { 58 super(specifier, parts);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
OptimizationException.java | 41 * @param parts to insert in the format (no translation) 45 public OptimizationException(String specifier, Object ... parts) { 46 this(new DummyLocalizable(specifier), parts); 53 * @param parts to insert in the format (no translation) 56 public OptimizationException(Localizable specifier, Object ... parts) { 57 super(specifier, parts);
|
/cts/common/host-side/util/src/com/android/compatibility/common/util/ |
TestFilter.java | 37 * Test identifier can contain multiple parts, eg parameterized tests. 46 String[] parts = filter.split(" "); local 53 if (parts.length == 1) { 54 name = parts[0]; 57 if (AbiUtils.isAbiSupportedByCompatibility(parts[0])) { 58 abi = parts[0]; 61 name = parts[index]; 63 parts = filter.split(" ", index + 1); 64 if (parts.length > index) { 65 test = parts[index] [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ExtractingFilePath.h | 8 UString MakePathNameFromParts(const UStringVector &parts);
19 void Correct_IfEmptyLastPart(UStringVector &parts);
|
/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...] |
/external/libpcap/Win32/Src/ |
inet_net.c | 51 u_long parts[4], *pp = parts; local 85 if (pp >= parts + 4) 93 n = pp - parts; 98 val |= parts[i] & 0xff;
|
/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...] |
/external/chromium-trace/catapult/telemetry/third_party/web-page-replay/third_party/dns/ |
reversename.py | 40 parts = list(dns.ipv6.inet_aton(text).encode('hex_codec')) 43 parts = ['%d' % ord(byte) for byte in dns.ipv4.inet_aton(text)] 45 parts.reverse() 46 return dns.name.from_text('.'.join(parts), origin=origin) 65 parts = [] 69 parts.append(''.join(labels[i:i+4])) 71 text = ':'.join(parts)
|