Home
last modified time | relevance | path

Searched refs:rest (Results 1 – 25 of 1209) sorted by relevance

12345678910>>...49

/external/libchrome/base/third_party/nspr/
Dprtime.cc475 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/fonttools/Lib/fontTools/
DafmLib.py121 rest = line[pos:].strip()
125 self.parsechar(rest)
127 self.parsekernpair(rest)
129 self.parsecomposite(rest)
131 self.parseattr(word, rest)
133 def parsechar(self, rest): argument
134 m = charRE.match(rest)
136 raise error("syntax error in AFM file: " + repr(rest))
139 things.append(rest[fr:to])
145 def parsekernpair(self, rest): argument
[all …]
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_symbolizer_test.cc22 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/boringssl/src/ssl/test/runner/
Dshim_ticket.go121 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/grpc-grpc/tools/profiling/microbenchmarks/
Dbm_json.py137 rest = name
141 if '<' in rest:
142 tpl_bit = rest[rest.find('<') + 1:rest.rfind('>')]
161 rest = rest[:rest.find('<')] + rest[rest.rfind('>') + 1:]
162 if '/' in rest:
163 s = rest.split('/')
164 rest = s[0]
166 name = rest
/external/v8/src/
Dfast-dtoa.cc47 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/icu/icu4c/source/i18n/
Ddouble-conversion-fast-dtoa.cpp79 uint64_t rest, in RoundWeed() argument
155 ASSERT(rest <= unsafe_interval); in RoundWeed()
156 while (rest < small_distance && // Negated condition 1 in RoundWeed()
157 unsafe_interval - rest >= ten_kappa && // Negated condition 2 in RoundWeed()
158 (rest + ten_kappa < small_distance || // buffer{-1} > w_high in RoundWeed()
159 small_distance - rest >= rest + ten_kappa - small_distance)) { in RoundWeed()
161 rest += ten_kappa; in RoundWeed()
167 if (rest < big_distance && in RoundWeed()
168 unsafe_interval - rest >= ten_kappa && in RoundWeed()
169 (rest + ten_kappa < big_distance || in RoundWeed()
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc98 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/python/pyasn1-modules/tests/
Dtest_rfc2459.py49 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
51 assert not rest
59 … asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
61 assert not rest
85 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
87 assert not rest
95 … asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec, decodeOpenTypes=True)
97 assert not rest
123 asn1Object, rest = der_decoder.decode(substrate, asn1Spec=self.asn1Spec)
125 assert not rest
[all …]
/external/chromium-trace/catapult/common/py_vulcanize/py_vulcanize/
Dstrip_js_comments.py22 rest = text
25 while len(rest):
26 m = next_tok.search(rest)
29 yield rest
35 yield rest[:min_index]
37 yield rest[min_index:end_index]
38 rest = rest[end_index:]
/external/mksh/src/
Dcheck.pl505 local($type, $perm, $rest, $c, $len, $name);
511 ($type, $perm, $rest) =
513 $c = substr($rest, 0, 1);
514 $len = index($rest, $c, 1) - 1;
515 $name = substr($rest, 1, $len);
516 $rest = substr($rest, 2 + $len);
519 return undef if !&write_file($name, $rest);
533 local($ret) = symlink($rest, $name);
1038 local($type, $perm, $rest, $c, $len, $name);
1046 ($type, $perm, $rest) = ($1, $2, $3);
[all …]
/external/python/pyasn1-modules/tools/
Dcmcdump.py24 _, rest = decoder.decode(substrate, asn1Spec=rfc5652.ContentInfo()) variable
25 assert not rest
31 layer, rest = decoder.decode(data, asn1Spec=rfc5652.ContentInfo()) variable
33 assert not rest
42 layer, rest = decoder.decode(data, asn1Spec=rfc5652.SignedData()) variable
44 assert not rest
53 layer, rest = decoder.decode(data, asn1Spec=rfc6402.PKIData()) variable
55 assert not rest
/external/boringssl/src/util/
Ddoc.go98 func extractComment(lines []string, lineNo int) (comment []string, rest []string, restLineNo int, e…
104 rest = lines
107 if strings.HasPrefix(rest[0], commentStart) {
109 } else if !strings.HasPrefix(rest[0], lineComment) {
112 commentParagraph := rest[0][len(commentStart):]
113 rest = rest[1:]
116 for len(rest) > 0 {
132 line := rest[0]
164 rest = rest[1:]
172 func extractDecl(lines []string, lineNo int) (decl string, rest []string, restLineNo int, err error…
[all …]
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/zip/
DZip64SupportIT.java424 final byte[] rest = new byte[19];
425 a.readFully(rest);
443 }, rest);
636 byte[] rest = new byte[26];
637 a.readFully(rest);
656 }, rest);
708 rest = new byte[17];
709 a.readFully(rest);
723 }, rest);
890 byte[] rest = new byte[26];
[all …]
/external/boringssl/src/crypto/bio/
Dpair.c152 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/icu/android_icu4j/src/main/java/android/icu/impl/
DUnicodeSetStringSpan.java398 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/icu/icu4c/source/common/
Dunisetspan.cpp649 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/u-boot/board/keymile/common/
Dcommon.c259 char *rest = bidhwklist; in do_checkboardidhwk() local
273 while (*rest && !isxdigit(*rest)) in do_checkboardidhwk()
274 rest++; in do_checkboardidhwk()
279 bid = simple_strtoul(rest, &endp, 16); in do_checkboardidhwk()
282 rest = endp + 1; in do_checkboardidhwk()
287 hwkey = simple_strtoul(rest, &endp, 16); in do_checkboardidhwk()
288 rest = endp; in do_checkboardidhwk()
289 while (*rest && !isxdigit(*rest)) in do_checkboardidhwk()
290 rest++; in do_checkboardidhwk()
/external/ltp/pan/cgi/
Dresults.cgi67 @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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java394 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/v8/src/compiler/
Dfunctional-list.h23 Cons(A top, Cons* rest) in Cons()
24 : top(std::move(top)), rest(rest), size(1 + (rest ? rest->size : 0)) {} in Cons()
26 Cons* const rest; member
61 elements_ = elements_->rest; in DropFront()
99 current_ = current_->rest;
/external/libbrillo/brillo/dbus/
Ddbus_param_writer.h30 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/swiftshader/third_party/LLVM/lib/Support/
DStringExtras.cpp64 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/webrtc/webrtc/base/
Dstringencode_unittest.cc320 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/webp/src/dsp/
Dalpha_processing_mips_dsp_r2.c133 const int rest = len & 1; in PackARGB_MIPSdspR2() local
134 const uint32_t* const loop_end = out + len - rest; in PackARGB_MIPSdspR2()
165 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackARGB_MIPSdspR2()
175 const int rest = len & 1; in PackRGB_MIPSdspR2() local
177 const uint32_t* const loop_end = out + len - rest; in PackRGB_MIPSdspR2()
205 [loop_end]"r"(loop_end), [rest]"r"(rest) in PackRGB_MIPSdspR2()

12345678910>>...49