/bionic/libc/inet/ |
inet_aton.c | 73 u_int parts[4]; local 74 u_int *pp = parts; 111 if (pp >= parts + 3) 125 * the number of parts specified. 127 n = pp - parts + 1; 137 if ((val > 0xffffff) || (parts[0] > 0xff)) 139 val |= parts[0] << 24; 143 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) 145 val |= (parts[0] << 24) | (parts[1] << 16) [all...] |
inet_pton.c | 112 u_int parts[4]; local 113 register u_int *pp = parts; 162 if (pp >= parts + 3) 176 * the number of parts specified. 178 n = pp - parts + 1; 191 if (parts[0] > 0xff || val > 0xffffff) 193 val |= parts[0] << 24; 197 if ((parts[0] | parts[1]) > 0xff || val > 0xffff) 199 val |= (parts[0] << 24) | (parts[1] << 16) [all...] |
/external/chromium/chrome/browser/chromeos/login/ |
authenticator.cc | 28 std::vector<std::string> parts; local 30 base::SplitString(email_address, at, &parts); 31 DCHECK_EQ(parts.size(), 2U) << "email_address should have only one @"; 32 if (parts[1] == kSpecialCaseDomain) // only strip '.' for gmail accounts. 33 RemoveChars(parts[0], ".", &parts[0]); 34 std::string new_email = StringToLowerASCII(JoinString(parts, at));
|
/libcore/luni/src/test/java/tests/api/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/chromium/chrome/browser/extensions/ |
extension_devtools_events.cc | 30 std::vector<std::string> parts; local 32 event_name.substr(strlen(kDevToolsEventPrefix)), '.', &parts); 33 if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) {
|
/frameworks/base/core/java/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/qemu/distrib/sdl-1.2.12/src/video/ |
math_private.h | 56 } parts; member in union:__anon9816 68 } parts; member in union:__anon9818 79 (ix0) = ew_u.parts.msw; \ 80 (ix1) = ew_u.parts.lsw; \ 89 (i) = gh_u.parts.msw; \ 98 (i) = gl_u.parts.lsw; \ 106 iw_u.parts.msw = (ix0); \ 107 iw_u.parts.lsw = (ix1); \ 117 sh_u.parts.msw = (v); \ 127 sl_u.parts.lsw = (v); [all...] |
/external/protobuf/src/google/protobuf/compiler/ |
code_generator.cc | 56 vector<string> parts; local 57 SplitStringUsing(text, ",", &parts); 59 for (int i = 0; i < parts.size(); i++) { 60 string::size_type equals_pos = parts[i].find_first_of('='); 63 value.first = parts[i]; 66 value.first = parts[i].substr(0, equals_pos); 67 value.second = parts[i].substr(equals_pos + 1);
|
/external/chromium/net/base/ |
host_mapping_rules.cc | 71 std::vector<std::string> parts; local 72 base::SplitString(trimmed, ' ', &parts); 75 if (parts.size() == 2 && LowerCaseEqualsASCII(parts[0], "exclude")) { 77 rule.hostname_pattern = StringToLowerASCII(parts[1]); 83 if (parts.size() == 3 && LowerCaseEqualsASCII(parts[0], "map")) { 85 rule.hostname_pattern = StringToLowerASCII(parts[1]); 87 if (!ParseHostAndPort(parts[2], &rule.replacement_hostname,
|
/frameworks/base/tools/localize/ |
Values.cpp | 86 split(const string& raw, vector<string>*parts) 92 parts->push_back(string(raw, index, next-index)); 95 parts->push_back(string(raw, index)); 104 vector<string> parts; local 105 split(raw, &parts); 107 const size_t N = parts.size(); 110 if (parts[i].length() == 0) { 115 if (N == 2 && parts[0] == "string") { 116 *id = parts[1]; 120 else if (N == 3 && parts[0] == "array") [all...] |
/sdk/hierarchyviewer/src/com/android/hierarchyviewer/util/ |
OS.java | 32 final String[] parts = version.split("\\."); typedefs 33 leopard = Integer.parseInt(parts[0]) >= 10 && Integer.parseInt(parts[1]) >= 5;
|
/external/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...] |
/frameworks/base/tools/preload/ |
Record.java | 98 String[] parts = line.split(":"); local 100 ppid = Integer.parseInt(parts[0]); 101 pid = Integer.parseInt(parts[1]); 102 tid = Integer.parseInt(parts[2]); 104 processName = decode(parts[3]).intern(); 106 classLoader = Integer.parseInt(parts[4]); 107 className = vmTypeToLanguage(decode(parts[5])).intern(); 109 time = Long.parseLong(parts[6]);
|
/external/webkit/LayoutTests/fast/js/resources/ |
script-line-number.js | 14 parts = e.stack.split(":"); 15 return parts[parts.length - 2];
|
/dalvik/opcode-gen/ |
opcode-gen.awk | 246 function readBytecodes(i, parts, line, cmd, status, count) { 247 # locals: parts, line, cmd, status, count 262 count = split(line, parts); 264 cmd = parts[1]; 285 function defineOpcode(line, count, parts, idx) { 286 # locals: count, parts, idx 287 count = split(line, parts); 289 idx = parseHex(parts[1]); 293 hex[idx] = parts[1]; 294 name[idx] = parts[2] [all...] |
/dalvik/vm/ |
IndirectRefTable.cpp | 65 size_t topIndex = segmentState.parts.topIndex; 71 assert(segmentState.parts.numHoles >= prevState.parts.numHoles); 80 int numHoles = segmentState.parts.numHoles - prevState.parts.numHoles; 88 assert(slot >= table_ + prevState.parts.topIndex); 90 segmentState.parts.numHoles--; 124 segmentState.parts.topIndex = topIndex; 157 u4 topIndex = segmentState.parts.topIndex; 197 return findObject(obj, 0, segmentState.parts.topIndex, table_) >= 0 [all...] |
/bionic/libc/bionic/ |
ldexp.c | 31 } parts; member in union:__anon4 45 } parts; member in union:__anon6 56 (ix0) = ew_u.parts.msw; \ 57 (ix1) = ew_u.parts.lsw; \ 66 (i) = gh_u.parts.msw; \ 75 sh_u.parts.msw = (v); \
|
/external/harfbuzz/contrib/tables/ |
unicode_parse_common.py | 23 parts = token.split('..') 24 if len(parts) == 2: 25 return (fromHex(parts[0]), fromHex(parts[1])) 26 elif len(parts) == 1: 27 return fromHex(parts[0])
|
/external/chromium/chrome/browser/net/ |
url_fixer_upper.h | 27 // Segments the given text string into parts of a URL. This is most useful 32 std::string SegmentURL(const std::string& text, url_parse::Parsed* parts); 33 string16 SegmentURL(const string16& text, url_parse::Parsed* parts);
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/mediacontrol/seekbackwardbutton/ |
seekbackward_button.edc | 29 parts {
|
/external/webkit/Source/WebKit/efl/DefaultTheme/widget/mediacontrol/seekforwardbutton/ |
seekforward_button.edc | 29 parts {
|
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 188 fragment_parts_t parts; local 194 build_scanline_prolog(parts, needs); 207 MOV(AL, 0, parts.count.reg, 208 reg_imm(parts.count.reg, ROR, GGL_DITHER_ORDER_SHIFT)); 209 ADD(AL, 0, parts.count.reg, parts.count.reg, 211 MOV(AL, 0, parts.count.reg, 212 reg_imm(parts.count.reg, ROR, 32 - GGL_DITHER_ORDER_SHIFT)); 221 build_depth_test(parts, Z_TEST|Z_WRITE); 225 build_depth_test(parts, Z_TEST) [all...] |
/build/tools/ |
event_log_tags.py | 68 parts = re.split(r"\s+", line, 2) 70 if len(parts) < 2: 74 if parts[0] == "option": 75 self.options[parts[1]] = parts[2:] 78 if parts[0] == "?": 82 tag = int(parts[0]) 84 self.AddError("\"%s\" isn't an integer tag or '?'" % (parts[0],)) 87 tagname = parts[1] 88 if len(parts) == 3 [all...] |
/bionic/libm/src/ |
math_private.h | 50 } parts; member in union:__anon622 64 } parts; member in union:__anon624 75 (ix0) = ew_u.parts.msw; \ 76 (ix1) = ew_u.parts.lsw; \ 85 (i) = gh_u.parts.msw; \ 94 (i) = gl_u.parts.lsw; \ 102 iw_u.parts.msw = (ix0); \ 103 iw_u.parts.lsw = (ix1); \ 113 sh_u.parts.msw = (v); \ 123 sl_u.parts.lsw = (v); [all...] |