/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...] |
/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]);
|
/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...] |
Part.java | 351 * Write all parts and the last boundary to the specified output stream. 354 * @param parts The parts to write. 356 * @throws IOException If an I/O error occurs while writing the parts. 358 public static void sendParts(OutputStream out, final Part[] parts) 360 sendParts(out, parts, DEFAULT_BOUNDARY_BYTES); 364 * Write all parts and the last boundary to the specified output stream. 367 * @param parts The parts to write. 370 * @throws IOException If an I/O error occurs while writing the parts [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/ |
math_private.h | 56 } parts; member in union:__anon6220 68 } parts; member in union:__anon6222 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...] |
/libcore/luni/src/test/java/tests/api/org/xml/sax/helpers/ |
NamespaceSupportTest.java | 344 String[] parts = new String[3]; local 347 ns.processName("ak:hello", parts, false)); 348 assertEquals("Test 2: Incorrect namespace URI;", marketUri, parts[0]); 349 assertEquals("Test 3: Incorrect local name;", "hello", parts[1]); 350 assertEquals("Test 4: Incorrect raw name;", "ak:hello", parts[2]); 353 ns.processName("bk:", parts, false)); 354 assertEquals("Test 6: Incorrect namespace URI;", marketUri, parts[0]); 355 assertEquals("Test 7: Incorrect local name;", "", parts[1]); 356 assertEquals("Test 8: Incorrect raw name;", "bk:", parts[2]); 359 ns.processName("world", parts, false)) 392 String[] parts = new String[3]; local [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);
|
/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;
|
/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...] |
/frameworks/base/tools/preload/ |
Record.java | 96 String[] parts = line.split(":"); local 98 ppid = Integer.parseInt(parts[0]); 99 pid = Integer.parseInt(parts[1]); 100 tid = Integer.parseInt(parts[2]); 102 processName = decode(parts[3]).intern(); 104 classLoader = Integer.parseInt(parts[4]); 105 className = vmTypeToLanguage(decode(parts[5])).intern(); 107 time = Long.parseLong(parts[6]);
|
/bionic/libc/bionic/ |
ldexp.c | 31 } parts; member in union:__anon3 45 } parts; member in union:__anon5 56 (ix0) = ew_u.parts.msw; \ 57 (ix1) = ew_u.parts.lsw; \ 66 (i) = gh_u.parts.msw; \ 75 sh_u.parts.msw = (v); \
|
/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...] |
/dalvik/vm/ |
IndirectRefTable.c | 77 if (sst.parts.topIndex > pRef->segmentState.parts.topIndex) { 79 pRef->segmentState.parts.topIndex, sst.parts.topIndex); 82 if (sst.parts.numHoles >= sst.parts.topIndex) { 84 sst.parts.numHoles, sst.parts.topIndex); 89 pRef, pRef->kind, sst.parts.topIndex, sst.parts.numHoles) [all...] |
Native.h | 102 union { u4 parts[2]; s8 whole; } conv; 103 conv.parts[0] = args[elem]; 104 conv.parts[1] = args[elem+1];
|
/development/testrunner/ |
android_mk.py | 56 parts = line.split(self._VAR_DELIMITER) 57 if len(parts) > 1: 58 self._variables[parts[0].strip()] = parts[1].strip()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/parts/ |
UiViewTreeEditPart.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.parts;
|
UiDocumentTreeEditPart.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.parts;
|
UiLayoutTreeEditPart.java | 17 package com.android.ide.eclipse.adt.internal.editors.layout.parts;
|
/bionic/libm/src/ |
math_private.h | 50 } parts; member in union:__anon562 64 } parts; member in union:__anon564 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...] |
/external/guava/src/com/google/common/base/ |
Joiner.java | 80 * Appends the string representation of each of {@code parts}, using the 83 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) 86 Iterator<?> iterator = parts.iterator(); 98 * Appends the string representation of each of {@code parts}, using the 102 A appendable, Object[] parts) throws IOException { 103 return appendTo(appendable, Arrays.asList(parts)); 117 * Appends the string representation of each of {@code parts}, using the 122 public final StringBuilder appendTo(StringBuilder builder, Iterable<?> parts) 125 appendTo((Appendable) builder, parts); 133 * Appends the string representation of each of {@code parts}, using th [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
SmsMessageBase.java | 386 String[] parts = messageBody.split("( /)|( )", 2); local 387 if (parts.length < 2) return; 388 emailFrom = parts[0]; 389 emailBody = parts[1];
|
/external/clearsilver/cgi/ |
html.c | 88 * text->html escapes, and convert special parts as special parts 113 struct _parts *parts; local 135 parts = (struct _parts *) malloc (sizeof(struct _parts) * part_count); 164 parts = (struct _parts *) realloc (parts, sizeof(struct _parts) * part_count); 168 parts[part].begin = url_match.rm_so; 169 parts[part].end = url_match.rm_eo; 170 parts[part].type = SC_TYPE_URL; 171 x = parts[part].end + 1 [all...] |
/external/chromium/net/ftp/ |
ftp_directory_listing_parser_vms.cc | 59 std::vector<string16> parts; local 60 SplitString(input, '/', &parts); 61 if (parts.size() != 2) 65 if (!StringToInt64(parts[0], &blocks_used)) 67 if (!StringToInt64(parts[1], &blocks_allocated)) 98 // We expect four parts of the file protection listing: for System, Owner, 100 std::vector<string16> parts; 101 SplitString(input.substr(1, input.length() - 2), ',', &parts); 102 if (parts.size() != 4) 105 return LooksLikeVmsFileProtectionListingPart(parts[0]) & [all...] |
/external/webkit/WebKitTools/wx/build/ |
wxpresets.py | 37 parts = cfg_line.split('=') 38 if len(parts) >= 1: 39 key = parts[0].strip() 41 if len(parts) >= 2: 42 value = parts[1].strip()
|