Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 25 of 413) sorted by relevance

12345678910>>...17

/external/openssh/openbsd-compat/
Dinet_aton.c93 u_int parts[4]; in inet_aton() local
94 u_int *pp = parts; in inet_aton()
131 if (pp >= parts + 3) in inet_aton()
147 n = pp - parts + 1; in inet_aton()
157 if ((val > 0xffffff) || (parts[0] > 0xff)) in inet_aton()
159 val |= parts[0] << 24; in inet_aton()
163 if ((val > 0xffff) || (parts[0] > 0xff) || (parts[1] > 0xff)) in inet_aton()
165 val |= (parts[0] << 24) | (parts[1] << 16); in inet_aton()
169 if ((val > 0xff) || (parts[0] > 0xff) || (parts[1] > 0xff) || (parts[2] > 0xff)) in inet_aton()
171 val |= (parts[0] << 24) | (parts[1] << 16) | (parts[2] << 8); in inet_aton()
/external/guava/guava/src/com/google/common/base/
DJoiner.java99 appendTo(A appendable, I parts) throws IOException { in appendTo() argument
100 return appendTo(appendable, (Iterator<?>) parts); in appendTo()
107 public <A extends Appendable> A appendTo(A appendable, Iterable<?> parts) throws IOException { in appendTo() argument
108 return appendTo(appendable, parts.iterator()); in appendTo()
118 public <A extends Appendable> A appendTo(A appendable, Iterator<?> parts) throws IOException { in appendTo() argument
120 if (parts.hasNext()) { in appendTo()
121 appendable.append(toString(parts.next())); in appendTo()
122 while (parts.hasNext()) { in appendTo()
124 appendable.append(toString(parts.next())); in appendTo()
134 public final <A extends Appendable> A appendTo(A appendable, Object[] parts) throws IOException { in appendTo() argument
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/
DbuildNotes.php4 $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];
DconsoleLogs.php4 $parts = explode("/", getcwd()); variable
5 $parts2 = explode("-", $parts[count($parts) - 1]);
14 $parts = explode(",", $aLine); variable
15 $dropNames[trim($parts[0])] = trim($parts[1]);
Ddownload.php7 $parts = explode("-", $dropFile); variable
9 for ($i =0; $i<count($parts); $i++) {
11 $clickFile = $clickFile.$parts[$i];
12 if ($i < count($parts) - 1) {
/external/llvm/unittests/ADT/
DStringRefTest.cpp145 SmallVector<StringRef, 5> parts; in TEST() local
149 StringRef(",ab,,c,").split(parts, ",", -1, false); in TEST()
150 EXPECT_TRUE(parts == expected); in TEST()
152 expected.clear(); parts.clear(); in TEST()
155 StringRef(",ab,,c,").split(parts, ",", -1, true); in TEST()
156 EXPECT_TRUE(parts == expected); in TEST()
158 expected.clear(); parts.clear(); in TEST()
160 StringRef("").split(parts, ",", -1, true); in TEST()
161 EXPECT_TRUE(parts == expected); in TEST()
163 expected.clear(); parts.clear(); in TEST()
[all …]
/external/chromium/chrome/browser/net/
Durl_fixer_upper.cc52 url_parse::Parsed* parts) { in UTF8PartsToUTF16Parts() argument
54 *parts = parts_utf8; in UTF8PartsToUTF16Parts()
58 parts->scheme = in UTF8PartsToUTF16Parts()
60 parts ->username = in UTF8PartsToUTF16Parts()
62 parts->password = in UTF8PartsToUTF16Parts()
64 parts->host = in UTF8PartsToUTF16Parts()
66 parts->port = in UTF8PartsToUTF16Parts()
68 parts->path = in UTF8PartsToUTF16Parts()
70 parts->query = in UTF8PartsToUTF16Parts()
72 parts->ref = in UTF8PartsToUTF16Parts()
[all …]
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/dropSiteRootFiles/
Dindex.php66 $parts = explode("-", $anEntry); variable
67 if (count($parts) == 3) {
69 $buckets[$parts[0]][] = $anEntry;
71 $timePart = $parts[2];
81 if ($timeStamp > $latestTimeStamp[$parts[0]]) {
82 $latestTimeStamp[$parts[0]] = $timeStamp;
83 $latestFile[$parts[0]] = $anEntry;
100 $parts = explode("-", $fileName); variable
106 echo "<td><a href=\"drops/$fileName/index.html\">$parts[1]</a></td>";
132 $parts = explode("-", $innerValue); variable
[all …]
/external/qemu/distrib/sdl-1.2.15/src/video/
Dmath_private.h56 } parts; member
68 } parts; member
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); \
/external/guava/guava/src/com/google/common/net/
DInternetDomainName.java123 private final ImmutableList<String> parts; field in InternetDomainName
152 this.parts = ImmutableList.copyOf(DOT_SPLITTER.split(name)); in InternetDomainName()
153 checkArgument(parts.size() <= MAX_PARTS, "Domain has too many parts: '%s'", name); in InternetDomainName()
154 checkArgument(validateSyntax(parts), "Not a valid domain name: '%s'", name); in InternetDomainName()
166 final int partsSize = parts.size(); in findPublicSuffix()
169 String ancestorName = DOT_JOINER.join(parts.subList(i, partsSize)); in findPublicSuffix()
234 private static boolean validateSyntax(List<String> parts) { in validateSyntax() argument
235 final int lastIndex = parts.size() - 1; in validateSyntax()
239 if (!validatePart(parts.get(lastIndex), true)) { in validateSyntax()
244 String part = parts.get(i); in validateSyntax()
[all …]
/external/chromium/chrome/browser/chromeos/login/
Dauthenticator.cc28 std::vector<std::string> parts; in Canonicalize() local
30 base::SplitString(email_address, at, &parts); in Canonicalize()
31 DCHECK_EQ(parts.size(), 2U) << "email_address should have only one @"; in Canonicalize()
32 if (parts[1] == kSpecialCaseDomain) // only strip '.' for gmail accounts. in Canonicalize()
33 RemoveChars(parts[0], ".", &parts[0]); in Canonicalize()
34 std::string new_email = StringToLowerASCII(JoinString(parts, at)); in Canonicalize()
/external/oprofile/libpp/
Dparse_filename.cpp34 parts_type parts = separate_token(event_spec, '.'); in parse_event_spec() local
36 if (parts.size() != nr_parts) { in parse_event_spec()
41 if (parts[i].empty()) { in parse_event_spec()
49 result.event = parts[i++]; in parse_event_spec()
50 result.count = parts[i++]; in parse_event_spec()
51 result.unitmask = parts[i++]; in parse_event_spec()
52 result.tgid = parts[i++]; in parse_event_spec()
53 result.tid = parts[i++]; in parse_event_spec()
54 result.cpu = parts[i++]; in parse_event_spec()
94 vector<string> parts = separate_token(str, '.'); in parse_anon() local
[all …]
/external/protobuf/src/google/protobuf/compiler/
Dcode_generator.cc56 vector<string> parts; in ParseGeneratorParameter() local
57 SplitStringUsing(text, ",", &parts); in ParseGeneratorParameter()
59 for (int i = 0; i < parts.size(); i++) { in ParseGeneratorParameter()
60 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter()
63 value.first = parts[i]; in ParseGeneratorParameter()
66 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter()
67 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
/external/chromium/net/base/
Dhost_mapping_rules.cc71 std::vector<std::string> parts; in AddRuleFromString() local
72 base::SplitString(trimmed, ' ', &parts); in AddRuleFromString()
75 if (parts.size() == 2 && LowerCaseEqualsASCII(parts[0], "exclude")) { in AddRuleFromString()
77 rule.hostname_pattern = StringToLowerASCII(parts[1]); in AddRuleFromString()
83 if (parts.size() == 3 && LowerCaseEqualsASCII(parts[0], "map")) { in AddRuleFromString()
85 rule.hostname_pattern = StringToLowerASCII(parts[1]); in AddRuleFromString()
87 if (!ParseHostAndPort(parts[2], &rule.replacement_hostname, in AddRuleFromString()
/external/chromium/net/ftp/
Dftp_directory_listing_parser_vms.cc66 std::vector<string16> parts; in ParseVmsFilesize() local
67 base::SplitString(input, '/', &parts); in ParseVmsFilesize()
68 if (parts.size() != 2) in ParseVmsFilesize()
72 if (!base::StringToInt64(parts[0], &blocks_used)) in ParseVmsFilesize()
74 if (!base::StringToInt64(parts[1], &blocks_allocated)) in ParseVmsFilesize()
107 std::vector<string16> parts; in LooksLikeVmsFileProtectionListing() local
108 base::SplitString(input.substr(1, input.length() - 2), ',', &parts); in LooksLikeVmsFileProtectionListing()
109 if (parts.size() != 4) in LooksLikeVmsFileProtectionListing()
112 return LooksLikeVmsFileProtectionListingPart(parts[0]) && in LooksLikeVmsFileProtectionListing()
113 LooksLikeVmsFileProtectionListingPart(parts[1]) && in LooksLikeVmsFileProtectionListing()
[all …]
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_generator.cc117 vector<string> parts; in Generate() local
118 SplitStringUsing(options[i].second, "|", &parts); in Generate()
119 if (parts.size() != 2) { in Generate()
124 params.set_java_package(parts[0], parts[1]); in Generate()
126 vector<string> parts; in Generate() local
127 SplitStringUsing(options[i].second, "|", &parts); in Generate()
128 if (parts.size() != 2) { in Generate()
134 params.set_java_outer_classname(parts[0], parts[1]); in Generate()
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/
Dbench_wsh.py49 parts = line.split(' ')
50 if len(parts) != 3:
52 wait = float(parts[0])
53 count = int(parts[1])
54 message = parts[2]
/external/chromium/chrome/common/extensions/docs/examples/extensions/calendar/javascript/
Dbackground.js535 var parts = DATE_TIME_REGEX.exec(rfc3339);
538 if (!parts) {
539 parts = DATE_TIME_REGEX_Z.exec(rfc3339);
542 if (parts && parts.length > 0) {
544 d.setUTCFullYear(parts[1], parseInt(parts[2], 10) - 1, parts[3]);
545 d.setUTCHours(parts[4]);
546 d.setUTCMinutes(parts[5]);
547 d.setUTCSeconds(parts[6]);
550 if (parts.length > 7) {
551 tzOffsetFeedMin = parseInt(parts[8], 10) * 60 + parseInt(parts[9], 10);
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/
Dcall-stack.rb9 parts = call_string.split( ':', 3 )
10 file = parts.shift
11 line = parts.shift.to_i
12 if parts.empty?
15 mstring = parts.shift
Dgrammar.rb247 parts = %w(java)
249 parts.push( '-cp', jar_path )
250 parts << 'org.antlr.Tool'
251 parts.push( '-fo', output_directory )
252 options[ :profile ] and parts << '-profile'
253 options[ :debug ] and parts << '-debug'
254 options[ :trace ] and parts << '-trace'
255 options[ :debug_st ] and parts << '-XdbgST'
256 parts << File.expand_path( @path )
257 parts.map! { |part| shell_escape( part ) }.join( ' ' ) << ' 2>&1'
/external/harfbuzz/contrib/tables/
Dunicode_parse_common.py23 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-trace/trace-viewer/third_party/closure_linter/closure_linter/
Dclosurizednamespacesinfo.py184 parts = namespace.split('.')
185 if len(parts) > 1 and parts[-2][0].isupper():
462 parts = identifier.split('.')
467 last_part = parts[-1]
479 for part in parts:
489 if parts[-1] in ('apply', 'inherits', 'call'):
490 parts.pop()
491 parts.pop()
495 if parts and parts[-1].endswith('_'):
496 parts.pop()
[all …]
/external/llvm/lib/Support/
DAPInt.cpp2316 APInt::tcSet(integerPart *dst, integerPart part, unsigned int parts) in tcSet() argument
2320 assert(parts > 0); in tcSet()
2323 for (i = 1; i < parts; i++) in tcSet()
2329 APInt::tcAssign(integerPart *dst, const integerPart *src, unsigned int parts) in tcAssign() argument
2333 for (i = 0; i < parts; i++) in tcAssign()
2339 APInt::tcIsZero(const integerPart *src, unsigned int parts) in tcIsZero() argument
2343 for (i = 0; i < parts; i++) in tcIsZero()
2352 APInt::tcExtractBit(const integerPart *parts, unsigned int bit) in tcExtractBit() argument
2354 return (parts[bit / integerPartWidth] & in tcExtractBit()
2360 APInt::tcSetBit(integerPart *parts, unsigned int bit) in tcSetBit() argument
[all …]
/external/chromium/chrome/browser/autocomplete/
Dautocomplete.cc121 url_parse::Parsed* parts, in Parse() argument
139 if (!parts) in Parse()
140 parts = &local_parts; in Parse()
141 const string16 parsed_scheme(URLFixerUpper::SegmentURL(text, parts)); in Parse()
162 if (parts->scheme.is_nonempty() && in Parse()
229 *parts = http_parts; in Parse()
254 if (!parts->host.is_nonempty()) in Parse()
259 const string16 host(text.substr(parts->host.begin, parts->host.len)); in Parse()
308 return (parts->scheme.is_nonempty() || in Parse()
319 if (parts->port.is_nonempty()) { in Parse()
[all …]
/external/chromium/chrome/browser/extensions/
Dextension_devtools_events.cc30 std::vector<std::string> parts; in IsDevToolsEventName() local
32 event_name.substr(strlen(kDevToolsEventPrefix)), '.', &parts); in IsDevToolsEventName()
33 if (parts.size() == 2 && base::StringToInt(parts[0], tab_id)) { in IsDevToolsEventName()

12345678910>>...17