/external/libchrome/base/third_party/nspr/ |
D | prtime.cc | 475 const char *rest = string; in PR_ParseTimeString() local 482 while (*rest) in PR_ParseTimeString() 490 switch (*rest) in PR_ParseTimeString() 494 (rest[1] == 'p' || rest[1] == 'P') && in PR_ParseTimeString() 495 (rest[2] == 'r' || rest[2] == 'R')) in PR_ParseTimeString() 498 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString() 499 (rest[2] == 't' || rest[2] == 'T')) in PR_ParseTimeString() 502 (rest[1] == 'u' || rest[1] == 'U') && in PR_ParseTimeString() 503 (rest[2] == 'g' || rest[2] == 'G')) in PR_ParseTimeString() 508 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString() [all …]
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_symbolizer_test.cc | 22 const char *rest; in TEST() local 24 rest = ExtractToken("a;b;c", ";", &token); in TEST() 26 EXPECT_STREQ("b;c", rest); in TEST() 29 rest = ExtractToken("aaa-bbb.ccc", ";.-*", &token); in TEST() 31 EXPECT_STREQ("bbb.ccc", rest); in TEST() 37 const char *rest = ExtractInt("123,456;789", ";,", &token); in TEST() local 39 EXPECT_STREQ("456;789", rest); in TEST() 44 const char *rest = ExtractUptr("123,456;789", ";,", &token); in TEST() local 46 EXPECT_STREQ("456;789", rest); in TEST() 51 const char *rest = in TEST() local [all …]
|
/external/fonttools/Lib/fontTools/ |
D | afmLib.py | 120 rest = line[pos:].strip() 124 self.parsechar(rest) 126 self.parsekernpair(rest) 128 self.parsecomposite(rest) 130 self.parseattr(word, rest) 132 def parsechar(self, rest): argument 133 m = charRE.match(rest) 135 raise error("syntax error in AFM file: " + repr(rest)) 138 things.append(rest[fr:to]) 144 def parsekernpair(self, rest): argument [all …]
|
/external/boringssl/src/ssl/test/runner/ |
D | shim_ticket.go | 121 func parseDERElement(in []byte) (tag byte, body, rest []byte, ok bool) { 122 rest = in 123 if len(rest) < 1 { 127 tag = rest[0] 128 rest = rest[1:] 135 if len(rest) < 1 { 139 length := int(rest[0]) 140 rest = rest[1:] 151 if len(rest) < 1 || (length<<8)>>8 != length { 154 if length == 0 && rest[0] == 0 { [all …]
|
/external/compiler-rt/lib/sanitizer_common/ |
D | sanitizer_symbolizer_mac.cc | 98 const char *rest = trim; in ParseCommandOutput() local 100 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput() 101 if (rest[0] == '\0') { in ParseCommandOutput() 111 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput() 113 if (rest[0] == '(') { in ParseCommandOutput() 115 rest++; in ParseCommandOutput() 116 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput() 118 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput() 122 } else if (rest[0] == '+') { in ParseCommandOutput() 123 rest += 2; in ParseCommandOutput() [all …]
|
/external/v8/src/ |
D | fast-dtoa.cc | 47 uint64_t rest, in RoundWeed() argument 123 DCHECK(rest <= unsafe_interval); in RoundWeed() 124 while (rest < small_distance && // Negated condition 1 in RoundWeed() 125 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed() 126 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed() 127 small_distance - rest >= rest + ten_kappa - small_distance)) { in RoundWeed() 129 rest += ten_kappa; in RoundWeed() 135 if (rest < big_distance && in RoundWeed() 136 unsafe_interval - rest >= ten_kappa && in RoundWeed() 137 (rest + ten_kappa < big_distance || in RoundWeed() [all …]
|
/external/webp/src/dsp/ |
D | argb_mips_dsp_r2.c | 21 const int rest = len & 1; in PackARGB() local 22 const uint32_t* const loop_end = out + len - rest; in PackARGB() 53 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackARGB() 61 const int rest = len & 1; in PackRGB() local 63 const uint32_t* const loop_end = out + len - rest; in PackRGB() 91 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackRGB()
|
/external/mksh/src/ |
D | check.pl | 477 local($type, $perm, $rest, $c, $len, $name); 483 ($type, $perm, $rest) = 485 $c = substr($rest, 0, 1); 486 $len = index($rest, $c, 1) - 1; 487 $name = substr($rest, 1, $len); 488 $rest = substr($rest, 2 + $len); 491 return undef if !&write_file($name, $rest); 505 local($ret) = symlink($rest, $name); 998 local($type, $perm, $rest, $c, $len, $name); 1006 ($type, $perm, $rest) = ($1, $2, $3); [all …]
|
/external/ltp/pan/cgi/ |
D | results.cgi | 67 @rest = <DF>; 70 foreach (@rest) { s/\*/{/; } 71 foreach (@rest) { s/(\s)-(\s)/\1}\2/; } 72 @rest = sort @rest; 73 foreach (@rest) { s/{/*/; } 74 foreach (@rest) { s/}/-/; } 77 foreach (@rest) {
|
/external/boringssl/src/crypto/bio/ |
D | pair.c | 152 size_t rest; in bio_read() local 196 rest = size; in bio_read() 198 assert(rest > 0); in bio_read() 203 assert(rest <= peer_b->len); in bio_read() 204 if (peer_b->offset + rest <= peer_b->size) { in bio_read() 205 chunk = rest; in bio_read() 224 assert(chunk == rest); in bio_read() 227 rest -= chunk; in bio_read() 228 } while (rest); in bio_read() 235 size_t rest; in bio_write() local [all …]
|
/external/boringssl/src/util/ |
D | doc.go | 79 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e… 85 rest = lines 87 if !strings.HasPrefix(rest[0], commentStart) { 90 commentParagraph := rest[0][len(commentStart):] 91 rest = rest[1:] 94 for len(rest) > 0 { 108 line := rest[0] 133 rest = rest[1:] 141 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error… 146 rest = lines [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | UnicodeSetStringSpan.java | 398 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings() local 424 if (inc > rest) { in spanWithStrings() 429 if (inc == rest) { in spanWithStrings() 463 if (inc > rest || overlap < maxOverlap) { in spanWithStrings() 482 rest -= maxInc; in spanWithStrings() 483 if (rest == 0) { in spanWithStrings() 509 if (spanLength == rest || // Reached the end of the string, or in spanWithStrings() 515 rest -= spanLength; in spanWithStrings() 521 spanLength = spanOne(spanSet, s, pos, rest); in spanWithStrings() 523 if (spanLength == rest) { in spanWithStrings() [all …]
|
/external/libbrillo/brillo/dbus/ |
D | dbus_param_writer.h | 30 const RestOfParams&... rest) { in Append() 35 Append(writer, rest...); in Append() 49 const RestOfParams&... rest) { in AppendDBusOutParams() 53 AppendDBusOutParams(writer, rest...); in AppendDBusOutParams() 63 const RestOfParams&... rest) { in AppendDBusOutParams() 68 AppendDBusOutParams(writer, rest...); in AppendDBusOutParams()
|
/external/icu/icu4c/source/common/ |
D | unisetspan.cpp | 649 int32_t pos=spanLength, rest=length-pos; in span() local 673 if(inc>rest) { in span() 678 if(inc==rest) { in span() 712 if(inc>rest || overlap<maxOverlap) { in span() 732 rest-=maxInc; in span() 733 if(rest==0) { in span() 757 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span() 758 if( spanLength==rest || // Reached the end of the string, or in span() 764 rest-=spanLength; in span() 770 spanLength=spanOne(spanSet, s+pos, rest); in span() [all …]
|
/external/swiftshader/third_party/LLVM/lib/Support/ |
D | StringExtras.cpp | 64 StringRef rest = *this; in split() local 69 rest.data() != NULL && (MaxSplit < 0 || splits < MaxSplit); in split() 71 std::pair<llvm::StringRef, llvm::StringRef> p = rest.split(Separators); in split() 75 rest = p.second; in split() 78 if (rest.data() != NULL && (rest.size() != 0 || KeepEmpty)) in split() 79 A.push_back(rest); in split()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | UnicodeSetStringSpan.java | 394 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings() local 420 if (inc > rest) { in spanWithStrings() 425 if (inc == rest) { in spanWithStrings() 459 if (inc > rest || overlap < maxOverlap) { in spanWithStrings() 478 rest -= maxInc; in spanWithStrings() 479 if (rest == 0) { in spanWithStrings() 505 if (spanLength == rest || // Reached the end of the string, or in spanWithStrings() 511 rest -= spanLength; in spanWithStrings() 517 spanLength = spanOne(spanSet, s, pos, rest); in spanWithStrings() 519 if (spanLength == rest) { in spanWithStrings() [all …]
|
/external/webrtc/webrtc/base/ |
D | stringencode_unittest.cc | 320 std::string rest; in TEST() local 322 ASSERT_TRUE(tokenize_first("A &*${}", ' ', &token, &rest)); in TEST() 324 ASSERT_STREQ("&*${}", rest.c_str()); in TEST() 326 ASSERT_TRUE(tokenize_first("A B& *${}", ' ', &token, &rest)); in TEST() 328 ASSERT_STREQ("B& *${}", rest.c_str()); in TEST() 330 ASSERT_TRUE(tokenize_first("A B& *${} ", ' ', &token, &rest)); in TEST() 332 ASSERT_STREQ("B& *${} ", rest.c_str()); in TEST() 337 std::string rest; in TEST() local 339 ASSERT_TRUE(tokenize_first(" A B C", ' ', &token, &rest)); in TEST() 341 ASSERT_STREQ("A B C", rest.c_str()); in TEST() [all …]
|
/external/python/cpython2/Lib/ |
D | CGIHTTPServer.py | 108 dir, rest = self.cgi_info 109 path = dir + '/' + rest 117 dir, rest = nextdir, nextrest 123 rest, _, query = rest.partition('?') 127 i = rest.find('/') 129 script, rest = rest[:i], rest[i:] 131 script, rest = rest, '' 162 uqrest = urllib.unquote(rest)
|
D | ConfigParser.py | 696 def _interpolate_some(self, option, accum, rest, section, map, depth): argument 698 raise InterpolationDepthError(option, section, rest) 699 while rest: 700 p = rest.find("%") 702 accum.append(rest) 705 accum.append(rest[:p]) 706 rest = rest[p:] 708 c = rest[1:2] 711 rest = rest[2:] 713 m = self._interpvar_re.match(rest) [all …]
|
/external/python/cpython2/Demo/scripts/ |
D | update.py | 44 def process(self, lineno, rest): argument 47 self.filename, lineno, rest), 52 self.filename, lineno, rest), 54 if self.lines[i] == rest: 56 self.filename, lineno, rest), 63 self.lines[i] = rest
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
D | MethodSetterTest.java | 26 public void setRest(List<String> rest) { in arityStringsSetter() argument 27 this.rest = rest; in arityStringsSetter() 32 public List<String> rest; in arityStringsSetter() field in MethodSetterTest.ArgsArityStringSetter 41 Assert.assertEquals(args.rest.size(), 1); in arityStringsSetter() 42 Assert.assertEquals(args.rest.get(0), "rest"); in arityStringsSetter()
|
/external/curl/docs/libcurl/ |
D | mksymbolsmanpage.pl | 73 my ($symbol, $rest)=($1,$2); 75 if($rest =~ s/^([0-9.]*) *//) { 78 if($rest =~ s/^([0-9.]*) *//) { 81 if($rest =~ s/^([0-9.]*) *//) {
|
/external/icu/icu4c/as_is/os400/ |
D | cxxfilt.cpp | 9 char *rest; in showSym() local 10 struct Name *name = Demangle(str, rest); // "f__1XFi" in showSym() 13 if(*rest) printf("\trest: '%s'\n", rest); in showSym()
|
/external/python/cpython2/Demo/classes/ |
D | bitvec.py | 173 def __cmp__(self, other, *rest): argument 176 other = apply(bitvec, (other, ) + rest) 237 def __setslice__(self, i, j, sequence, *rest): argument 241 sequence = apply(bitvec, (sequence, ) + rest) 284 def __and__(self, otherseq, *rest): argument 287 otherseq = apply(bitvec, (otherseq, ) + rest) 293 def __xor__(self, otherseq, *rest): argument 296 otherseq = apply(bitvec, (otherseq, ) + rest) 302 def __or__(self, otherseq, *rest): argument 305 otherseq = apply(bitvec, (otherseq, ) + rest) [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_debug.c | 329 static char rest[64]; in debug_dump_enum() local 337 util_snprintf(rest, sizeof(rest), "0x%08lx", value); in debug_dump_enum() 338 return rest; in debug_dump_enum() 347 static char rest[64]; in debug_dump_enum_noprefix() local 361 util_snprintf(rest, sizeof(rest), "0x%08lx", value); in debug_dump_enum_noprefix() 362 return rest; in debug_dump_enum_noprefix() 370 static char rest[256]; in debug_dump_flags() local 394 util_snprintf(rest, sizeof(rest), "0x%08lx", value); in debug_dump_flags() 395 util_strncat(output, rest, sizeof(output) - strlen(output) - 1); in debug_dump_flags()
|