/external/chromium_org/chrome/common/ |
D | content_settings_pattern.cc | 165 PatternParts parts(parts_); in Build() local 166 if (!Canonicalize(&parts)) in Build() 169 ContentSettingsPattern(parts, true)) { in Build() 177 bool ContentSettingsPattern::Builder::Canonicalize(PatternParts* parts) { in Canonicalize() argument 179 const std::string scheme(StringToLowerASCII(parts->scheme)); in Canonicalize() 180 parts->scheme = scheme; in Canonicalize() 182 if (parts->scheme == std::string(chrome::kFileScheme) && in Canonicalize() 183 !parts->is_path_wildcard) { in Canonicalize() 185 std::string(content::kStandardSchemeSeparator) + parts->path); in Canonicalize() 186 parts->path = url.path(); in Canonicalize() [all …]
|
D | content_settings_pattern_parser.cc | 192 const ContentSettingsPattern::PatternParts& parts) { in ToString() argument 195 if (parts.is_scheme_wildcard && in ToString() 196 parts.has_domain_wildcard && in ToString() 197 parts.host.empty() && in ToString() 198 parts.is_port_wildcard) in ToString() 202 if (!parts.is_scheme_wildcard) in ToString() 203 str += parts.scheme + content::kStandardSchemeSeparator; in ToString() 205 if (parts.scheme == chrome::kFileScheme) { in ToString() 206 if (parts.is_path_wildcard) in ToString() 209 return str + parts.path; in ToString() [all …]
|
/external/chromium_org/google_apis/drive/ |
D | time_util.cc | 27 std::vector<base::StringPiece> parts; in ParseTimezone() local 28 int num_of_token = Tokenize(timezone, ":", &parts); in ParseTimezone() 31 if (!base::StringToInt(parts[0], &hour)) in ParseTimezone() 35 if (num_of_token > 1 && !base::StringToInt(parts[1], &minute)) in ParseTimezone() 55 std::vector<base::StringPiece> parts; in GetTimeFromString() local 56 if (Tokenize(raw_value, "T", &parts) != 2) in GetTimeFromString() 58 date = parts[0]; in GetTimeFromString() 59 time_and_tz = parts[1]; in GetTimeFromString() 64 std::vector<base::StringPiece> parts; in GetTimeFromString() local 71 } else if (Tokenize(time_and_tz, "+", &parts) == 2) { in GetTimeFromString() [all …]
|
/external/openssh/openbsd-compat/ |
D | inet_aton.c | 93 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/ |
D | Joiner.java | 99 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/chromium_org/ui/gfx/animation/ |
D | multi_animation_unittest.cc | 14 MultiAnimation::Parts parts; in TEST() local 15 parts.push_back(MultiAnimation::Part(100, Tween::LINEAR)); in TEST() 16 parts.push_back(MultiAnimation::Part(100, Tween::EASE_OUT)); in TEST() 18 MultiAnimation animation(parts, MultiAnimation::GetDefaultTimerInterval()); in TEST() 42 MultiAnimation::Parts parts; in TEST() local 43 parts.push_back(MultiAnimation::Part(200, Tween::LINEAR)); in TEST() 44 parts[0].start_time_ms = 100; in TEST() 45 parts[0].end_time_ms = 400; in TEST() 47 MultiAnimation animation(parts, MultiAnimation::GetDefaultTimerInterval()); in TEST() 64 MultiAnimation::Parts parts; in TEST() local [all …]
|
D | multi_animation.cc | 15 static int TotalTime(const MultiAnimation::Parts& parts) { in TotalTime() argument 17 for (size_t i = 0; i < parts.size(); ++i) { in TotalTime() 18 DCHECK(parts[i].end_time_ms - parts[i].start_time_ms >= parts[i].time_ms); in TotalTime() 19 time_ms += parts[i].time_ms; in TotalTime() 24 MultiAnimation::MultiAnimation(const Parts& parts, in MultiAnimation() argument 27 parts_(parts), in MultiAnimation() 28 cycle_time_ms_(TotalTime(parts)), in MultiAnimation()
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/builderTemplate/publishingFiles/staticDropFiles/ |
D | 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];
|
D | 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/chromium_org/chrome/browser/autocomplete/ |
D | autocomplete_input.cc | 128 url_parse::Parsed* parts, in Parse() argument 146 if (!parts) in Parse() 147 parts = &local_parts; in Parse() 148 const base::string16 parsed_scheme(URLFixerUpper::SegmentURL(text, parts)); in Parse() 167 if (parts->inner_parsed() && parts->inner_parsed()->scheme.is_valid()) in Parse() 177 if (parts->scheme.is_nonempty() && in Parse() 244 *parts = http_parts; in Parse() 269 if (!parts->host.is_nonempty()) in Parse() 274 const base::string16 host(text.substr(parts->host.begin, parts->host.len)); in Parse() 328 return (parts->scheme.is_nonempty() || in Parse() [all …]
|
/external/llvm/unittests/ADT/ |
D | StringRefTest.cpp | 145 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_org/chrome/common/net/ |
D | url_fixer_upper.cc | 53 url_parse::Parsed* parts) { in UTF8PartsToUTF16Parts() argument 55 *parts = parts_utf8; in UTF8PartsToUTF16Parts() 59 parts->scheme = in UTF8PartsToUTF16Parts() 61 parts ->username = in UTF8PartsToUTF16Parts() 63 parts->password = in UTF8PartsToUTF16Parts() 65 parts->host = in UTF8PartsToUTF16Parts() 67 parts->port = in UTF8PartsToUTF16Parts() 69 parts->path = in UTF8PartsToUTF16Parts() 71 parts->query = in UTF8PartsToUTF16Parts() 73 parts->ref = in UTF8PartsToUTF16Parts() [all …]
|
/external/chromium/chrome/browser/net/ |
D | url_fixer_upper.cc | 52 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/ |
D | index.php | 66 $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/ |
D | math_private.h | 56 } 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/chromium/chrome/browser/chromeos/login/ |
D | authenticator.cc | 28 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/guava/guava/src/com/google/common/net/ |
D | InternetDomainName.java | 123 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/oprofile/libpp/ |
D | parse_filename.cpp | 34 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/ |
D | code_generator.cc | 56 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_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
D | parse_url.js | 8 var parts = url.split("?"); 9 if (parts.length == 0) 13 var arglist = parts[1]; 17 var parts = args[i].split("="); 18 if (parts[0] == argname) 20 value = parts[1];
|
/external/chromium/net/base/ |
D | host_mapping_rules.cc | 71 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_org/net/base/ |
D | host_mapping_rules.cc | 71 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_org/third_party/protobuf/src/google/protobuf/compiler/ |
D | code_generator.cc | 61 vector<string> parts; in ParseGeneratorParameter() local 62 SplitStringUsing(text, ",", &parts); in ParseGeneratorParameter() 64 for (int i = 0; i < parts.size(); i++) { in ParseGeneratorParameter() 65 string::size_type equals_pos = parts[i].find_first_of('='); in ParseGeneratorParameter() 68 value.first = parts[i]; in ParseGeneratorParameter() 71 value.first = parts[i].substr(0, equals_pos); in ParseGeneratorParameter() 72 value.second = parts[i].substr(equals_pos + 1); in ParseGeneratorParameter()
|
/external/chromium_org/chrome_frame/cfinstall/src/miniclosure/ |
D | 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/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_generator.cc | 99 vector<string> parts; in Generate() local 100 SplitStringUsing(options[i].second, "|", &parts); in Generate() 101 if (parts.size() != 2) { in Generate() 106 params.set_java_package(parts[0], parts[1]); in Generate() 108 vector<string> parts; in Generate() local 109 SplitStringUsing(options[i].second, "|", &parts); in Generate() 110 if (parts.size() != 2) { in Generate() 116 params.set_java_outer_classname(parts[0], parts[1]); in Generate()
|