/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);
|
/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_org/chrome/common/extensions/docs/server2/ |
test_file_system.py | 48 def Resolve(parts): 49 '''Resolves |parts| of a path info |self._obj|. 51 result = self._obj.get(parts[0]) 52 for part in parts[1:]: 77 parts = path.split('/') 78 if parts[-1] != '': 79 file_contents = Resolve(parts) 83 (path, parts, file_contents)) 86 dir_contents = Resolve(parts[:-1]) 90 (path, parts, dir_contents) [all...] |
/external/hyphenation/ |
README.compound | 15 is for hyphenation within words or word parts. 19 The algorithm is recursive: every word parts of a successful 24 the second level hyphenation for the word or the word parts. 26 Word endings and word parts 29 word parts, too.
|
/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,
|
request_priority.h | 11 // Prioritization used in various parts of the networking code such
|
/external/chromium_org/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,
|
request_priority.h | 10 // Prioritization used in various parts of the networking code such
|
/system/core/libpixelflinger/codeflinger/ |
GGLAssembler.cpp | 189 fragment_parts_t parts; local 195 build_scanline_prolog(parts, needs); 208 MOV(AL, 0, parts.count.reg, 209 reg_imm(parts.count.reg, ROR, GGL_DITHER_ORDER_SHIFT)); 210 ADD(AL, 0, parts.count.reg, parts.count.reg, 212 MOV(AL, 0, parts.count.reg, 213 reg_imm(parts.count.reg, ROR, 32 - GGL_DITHER_ORDER_SHIFT)); 222 build_depth_test(parts, Z_TEST|Z_WRITE); 226 build_depth_test(parts, Z_TEST) [all...] |
/art/runtime/ |
indirect_reference_table.cc | 81 size_t topIndex = segment_state_.parts.topIndex; 88 DCHECK_GE(segment_state_.parts.numHoles, prevState.parts.numHoles); 125 int numHoles = segment_state_.parts.numHoles - prevState.parts.numHoles; 132 DCHECK_GE(pScan, table_ + prevState.parts.topIndex); 137 segment_state_.parts.numHoles--; 143 segment_state_.parts.topIndex = topIndex; 146 LOG(INFO) << "+++ added at " << ExtractIndex(result) << " top=" << segment_state_.parts.topIndex 147 << " holes=" << segment_state_.parts.numHoles [all...] |
/external/chromium_org/chrome_frame/cfinstall/src/miniclosure/ |
base.js | 21 var parts = name.split('.'); 27 if (!(parts[0] in cur) && cur.execScript) 28 cur.execScript('var ' + parts[0]); 36 for (var part; parts.length && (part = parts.shift());) { 37 if (!parts.length && opt_object !== undefined) {
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/ |
consoleLogs.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]);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/templateFiles/ |
testResults.php.template | 5 $parts = explode("/", getcwd()); 6 $parts2 = explode("-", $parts[count($parts) - 1]); 15 $parts = explode(",", $aLine); 16 $dropNames[trim($parts[0])] = trim($parts[1]);
|
/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])
|
/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...] |
/frameworks/base/core/java/com/android/internal/http/multipart/ |
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/guava/guava/src/com/google/common/base/ |
Joiner.java | 92 * @deprecated use {@link #appendTo(Appendable, Iterator)} by casting {@code parts} to 99 appendTo(A appendable, I parts) throws IOException { 100 return appendTo(appendable, (Iterator<?>) parts); 104 * Appends the string representation of each of {@code parts}, using the previously configured 107 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException { 108 return appendTo(appendable, parts.iterator()); 112 * Appends the string representation of each of {@code parts}, using the previously configured 118 public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { 120 if (parts.hasNext()) { 121 appendable.append(toString(parts.next())) [all...] |
/external/lzma/CPP/7zip/UI/Common/ |
ExtractingFilePath.cpp | 105 UString MakePathNameFromParts(const UStringVector &parts)
108 for (int i = 0; i < parts.Size(); i++)
112 result += parts[i];
129 UStringVector parts;
local 130 SplitPathToParts(path, parts);
131 for (int i = 0; i < parts.Size(); i++)
133 UString &s = parts[i];
141 return MakePathNameFromParts(parts);
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MultipartMimeContent.java | 36 * Get the number of Content parts. 38 * @return - the content parts.
|
/packages/screensavers/PhotoTable/res/values-sw600dp/ |
config.xml | 17 <!-- Parts per million ratio between image size and screen size. --> 20 <!-- Parts per million ratio between image size on the table and screen size. -->
|
/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...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
utils.js | 35 var parts = $String.split(typeName, '.'); 36 if (parts.length == 1) { 44 var schemaName = $Array.join($Array.slice(parts, 0, parts.length - 1), '.');
|
/external/chromium_org/ppapi/tests/ |
DEPS | 1 # ppapi/tests should not be dependent on other parts of chromium; it should stay
|
/external/chromium_org/third_party/gtk+/ |
README.chromium | 11 gtk/compose-parse.py is modified in some parts to generate
|
/external/chromium_org/tools/git/ |
mass-rename.py | 32 parts = line.split('\t') 33 if len(parts) != 3: 34 print 'Skipping: %s -- not a rename?' % parts 36 attrs, fro, to = parts
|