Home
last modified time | relevance | path

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

12345678910>>...29

/external/libchrome/base/third_party/nspr/
Dprtime.cc544 const char *rest = string; in PR_ParseTimeString() local
551 while (*rest) in PR_ParseTimeString()
559 switch (*rest) in PR_ParseTimeString()
563 (rest[1] == 'p' || rest[1] == 'P') && in PR_ParseTimeString()
564 (rest[2] == 'r' || rest[2] == 'R')) in PR_ParseTimeString()
567 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString()
568 (rest[2] == 't' || rest[2] == 'T')) in PR_ParseTimeString()
571 (rest[1] == 'u' || rest[1] == 'U') && in PR_ParseTimeString()
572 (rest[2] == 'g' || rest[2] == 'G')) in PR_ParseTimeString()
577 (rest[1] == 's' || rest[1] == 'S') && in PR_ParseTimeString()
[all …]
/external/chromium-trace/catapult/telemetry/third_party/modulegraph/modulegraph/
Dzipio.py66 rest = []
70 rest.append(bn)
84 rest.reverse()
85 return path, '/'.join(rest).strip('/')
97 path, rest = _locate(path)
98 if not rest:
111 data = zf.read(rest)
130 path, rest = _locate(path)
131 if not rest and not _os.path.isfile(path):
147 if rest is None:
[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/fonttools/Lib/fontTools/
DafmLib.py120 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/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/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer_mac.cc121 const char *rest = trim; in ParseCommandOutput() local
123 rest = ExtractTokenUpToDelimiter(rest, " (in ", &symbol_name); in ParseCommandOutput()
124 if (rest[0] == '\0') { in ParseCommandOutput()
134 rest = ExtractTokenUpToDelimiter(rest, ") ", out_module); in ParseCommandOutput()
136 if (rest[0] == '(') { in ParseCommandOutput()
138 rest++; in ParseCommandOutput()
139 rest = ExtractTokenUpToDelimiter(rest, ":", out_file); in ParseCommandOutput()
141 rest = ExtractTokenUpToDelimiter(rest, ")", &extracted_line_number); in ParseCommandOutput()
145 } else if (rest[0] == '+') { in ParseCommandOutput()
146 rest += 2; in ParseCommandOutput()
[all …]
/external/chromium-trace/catapult/third_party/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/webp/src/dsp/
Dargb_mips_dsp_r2.c21 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/
Dcheck.pl477 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/v8/test/mjsunit/harmony/
Ddestructuring-assignment.js244 assertArrayEquals([6, 7, 8, 9], obj.rest);
365 var x, rest, array = [1, 2, 3];
366 assertEquals(array, [x, ...rest] = array);
368 assertEquals([2, 3], rest);
371 assertEquals(array, [, ...rest] = array);
372 assertEquals([5, 6], rest);
441 for ([x.firstLetter, ...x.rest] in object) {
443 assertEquals(["p", "e", "n", "g", "u", "i", "n"], x.rest);
447 assertEquals(["s", "p", "o", "r", "k"], x.rest);
450 log.push({ firstLetter: x.firstLetter, rest: x.rest }); property
[all …]
/external/boringssl/src/util/
Ddoc.go79 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/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUnicodeSetStringSpan.java390 int pos = spanLimit, rest = length - spanLimit; in spanWithStrings() local
416 if (inc > rest) { in spanWithStrings()
421 if (inc == rest) { in spanWithStrings()
455 if (inc > rest || overlap < maxOverlap) { in spanWithStrings()
474 rest -= maxInc; in spanWithStrings()
475 if (rest == 0) { in spanWithStrings()
501 if (spanLength == rest || // Reached the end of the string, or in spanWithStrings()
507 rest -= spanLength; in spanWithStrings()
513 spanLength = spanOne(spanSet, s, pos, rest); in spanWithStrings()
515 if (spanLength == rest) { in spanWithStrings()
[all …]
/external/icu/android_icu4j/src/main/java/android/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/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/icu/icu4c/source/common/
Dunisetspan.cpp647 int32_t pos=spanLength, rest=length-pos; in span() local
671 if(inc>rest) { in span()
676 if(inc==rest) { in span()
710 if(inc>rest || overlap<maxOverlap) { in span()
730 rest-=maxInc; in span()
731 if(rest==0) { in span()
755 spanLength=spanSet.span(s+pos, rest, USET_SPAN_CONTAINED); in span()
756 if( spanLength==rest || // Reached the end of the string, or in span()
762 rest-=spanLength; in span()
768 spanLength=spanOne(spanSet, s+pos, rest); in span()
[all …]
/external/v8/test/mjsunit/regress/
Dregress-1582.js30 function f(restIsArray, rest) { argument
32 if (typeof rest === "object" && (rest instanceof Array)) {
33 arr = rest;
39 var arrIsArguments = (arr[1] !== rest);
/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/valgrind/drd/scripts/
Drun-splash217 read avg1 stddev1 vsz1 vszdev1 rest < "$tmp"
21 if [ "${rest}" != "" ]; then
22 echo "Internal error ($rest)"
29 read avg2 stddev2 vsz2 vszdev2 rest < "$tmp"
33 if [ "${rest}" != "" ]; then
34 echo "Internal error ($rest)"
41 read avg4 stddev4 vsz4 vszdev4 rest < "$tmp"
46 if [ "${rest}" != "" ]; then
47 echo "Internal error ($rest)"
/external/boringssl/src/crypto/bio/
Dpair.c358 size_t rest; in BIO_zero_copy_get_write_buf_done() local
391 rest = bio_zero_copy_get_write_buf(b, &dummy_write_buf, &dummy_write_offset); in BIO_zero_copy_get_write_buf_done()
393 if (bytes_written > rest) { in BIO_zero_copy_get_write_buf_done()
407 size_t rest; in bio_read() local
451 rest = size; in bio_read()
453 assert(rest > 0); in bio_read()
458 assert(rest <= peer_b->len); in bio_read()
459 if (peer_b->offset + rest <= peer_b->size) { in bio_read()
460 chunk = rest; in bio_read()
482 assert(chunk == rest); in bio_read()
[all …]
/external/chromium-trace/catapult/tracing/tracing_build/
Dupdate_gypi.py30 rest = text
32 while len(rest):
33 m = token_regex.search(rest)
38 yield _Token(rest)
43 yield _Token(rest[:min_index])
46 rest = rest[end_index:]
/external/jcommander/src/test/java/com/beust/jcommander/
DMethodSetterTest.java26 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/
Dmksymbolsmanpage.pl73 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/
Dcxxfilt.cpp7 char *rest; in showSym() local
8 struct Name *name = Demangle(str, rest); // "f__1XFi" in showSym()
11 if(*rest) printf("\trest: '%s'\n", rest); in showSym()
/external/valgrind/VEX/orig_amd64/
DSortedToOrig.hs17 rest = unwords (tail ws) function
22 rest,
29 foo (x:y:rest) = x:y:' ':foo rest
/external/guava/guava/src/com/google/common/base/
DJoiner.java129 A appendable, @Nullable Object first, @Nullable Object second, Object... rest) in appendTo() argument
131 return appendTo(appendable, iterable(first, second, rest)); in appendTo()
174 StringBuilder builder, @Nullable Object first, @Nullable Object second, Object... rest) { in appendTo() argument
175 return appendTo(builder, iterable(first, second, rest)); in appendTo()
208 public final String join(@Nullable Object first, @Nullable Object second, Object... rest) { in join() argument
209 return join(iterable(first, second, rest)); in join()
438 final Object first, final Object second, final Object[] rest) {
439 checkNotNull(rest);
442 return rest.length + 2;
452 return rest[index - 2];

12345678910>>...29