Searched refs:split (Results 1 - 25 of 2133) sorted by relevance

1234567891011>>

/external/v8/test/mjsunit/
H A Dstring-split.js29 result = "A<B>bold</B>and<CODE>coded</CODE>".split(/<(\/)?([^<>]+)>/);
33 assertArrayEquals(["a", "b"], "ab".split(/a*?/));
35 assertArrayEquals(["", "b"], "ab".split(/a*/));
37 assertArrayEquals(["a"], "ab".split(/a*?/, 1));
39 assertArrayEquals([""], "ab".split(/a*/, 1));
41 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d"));
43 assertArrayEquals(["as","fas","fas","f"], "asdfasdfasdf".split("d", -1));
45 assertArrayEquals(["as", "fas"], "asdfasdfasdf".split("d", 2));
47 assertArrayEquals([], "asdfasdfasdf".split("d", 0));
49 assertArrayEquals(["as","fas","fas",""], "asdfasdfasd".split("
[all...]
H A Dstring-split-cache.js38 var array = str.split("");
H A Dregexp-results-cache.js73 var words = string.split(" ");
76 words = string.split(" ");
/external/v8/test/mjsunit/regress/
H A Dregress-3026.js28 assertEquals([], "abc".split(undefined, 0));
H A Dstring-split-monkey-patching.js28 // Test that String.prototype.split with an regexp does not call the
37 "-".split(/-/);
38 "I-must-not-use-push!".split(/-/);
39 "Oh-no!".split(/(-)/);
40 "a".split(/(a)|(b)/);
H A Dregress-2172.js29 (i + "\0").split(/(.)\1/i);
33 (i + "\u1234\0").split(/(.)\1/i);
H A Dregress-1711.js28 // string.split needs to evaluate the separator's toString even if limit
37 'subject'.split(separator, 0);
/external/mesa3d/src/mesa/vbo/
H A Dvbo_split_inplace.c63 static void flush_vertex( struct split_context *split )
65 struct gl_context *ctx = split->ctx;
70 if (!split->dstprim_nr)
73 if (split->ib) {
74 ib = *split->ib;
76 ib.count = split->max_index - split->min_index + 1;
78 split->min_index * _mesa_sizeof_type(ib.type));
81 for (i = 0; i < split->dstprim_nr; i++)
82 split
121 update_index_bounds(struct split_context *split, const struct _mesa_prim *prim) argument
132 get_max_vertices(struct split_context *split, const struct _mesa_prim *prim) argument
148 split_prims( struct split_context *split) argument
274 struct split_context split; local
[all...]
/external/v8/test/mjsunit/harmony/
H A Dstring-split.js9 pattern[Symbol.split] = function(string, limit) {
13 assertThrows(() => String.prototype.split.call(null, pattern, limit),
16 assertEquals(15, "abcde".split(pattern, limit));
18 pattern[Symbol.split] = "dumdidum";
19 assertThrows(() => "abcde".split(pattern, limit), TypeError);
21 assertEquals("[Symbol.split]", RegExp.prototype[Symbol.split].name);
/external/v8/test/message/
H A Doverwritten-builtins.js28 String.prototype.split = function() { return "SPLIT ERROR"; };
/external/google-breakpad/src/testing/scripts/generator/cpp/
H A Dkeywords.py36 TYPES = set('bool char int long short double float void wchar_t unsigned signed'.split())
37 TYPE_MODIFIERS = set('auto register const inline extern static virtual volatile mutable'.split())
38 ACCESS = set('public protected private friend'.split())
40 CASTS = set('static_cast const_cast dynamic_cast reinterpret_cast'.split())
42 OTHERS = set('true false asm class namespace using explicit this operator sizeof'.split())
43 OTHER_TYPES = set('new delete typedef struct union enum typeid typename template'.split())
45 CONTROL = set('case switch default if else return goto'.split())
46 EXCEPTION = set('try catch throw'.split())
47 LOOP = set('while do for break continue'.split())
/external/autotest/client/virt/
H A Dvirt_installer.py14 help_output = help_raw.split("\n")
19 option = cleaned_line.split()[0]
20 option = option.split("=")[0]
/external/chromium-trace/catapult/third_party/mapreduce/mapreduce/
H A D__init__.py20 version = os.environ.get('CURRENT_VERSION_ID', '').split('.')[0]
/external/jcommander/src/main/java/com/beust/jcommander/converters/
H A DIParameterSplitter.java10 List<String> split(String value); method in interface:IParameterSplitter
H A DCommaParameterSplitter.java8 public List<String> split(String value) { method in class:CommaParameterSplitter
9 return Arrays.asList(value.split(","));
/external/pdfium/build/
H A Dgyp_pdfium.py7 path = os.path.abspath(os.path.split(__file__)[0])
/external/skia/
H A Dgyp_skia.py17 path = os.path.abspath(os.path.split(__file__)[0])
/external/toybox/toys/pending/
H A Dfold.c42 int pos = 0, split = -1; local
54 split = -1;
73 split = pos;
80 if (!(toys.optflags & FLAG_s) || split < 0) split = pos;
81 xwrite(1, buf, split + 1);
83 bufsz -= split + 1;
84 buf += split + 1;
86 split = -1;
/external/v8/build/
H A Dgyp_v8.py40 path = os.path.abspath(os.path.split(__file__)[0])
/external/webrtc/webrtc/build/
H A Dgyp_webrtc.py23 path = os.path.abspath(os.path.split(__file__)[0])
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/srt/
H A DSrtParser.java41 long startTime = parse(timeString.split("-->")[0]);
42 long endTime = parse(timeString.split("-->")[1]);
51 long hours = Long.parseLong(in.split(":")[0].trim());
52 long minutes = Long.parseLong(in.split(":")[1].trim());
53 long seconds = Long.parseLong(in.split(":")[2].split(",")[0].trim());
54 long millies = Long.parseLong(in.split(":")[2].split(",")[1].trim());
/external/tcpdump/
H A Datime.awk10 n = split ($1,t,":")
/external/clang/utils/analyzer/
H A DSumTimerInfo.py39 s = line.split()
45 s = line.split()
48 s = line.split()
51 s = line.split()
54 s = line.split()
57 s = line.split()
61 s = line.split()
64 s = line.split()
66 if (("The # of times we split the path due to imprecise dynamic dispatch info" in line) and (Mode == 1)) :
67 s = line.split()
[all...]
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/runtime/
H A DCommandLineSupportTest.java74 assertEquals(Arrays.asList(), CommandLineSupport.split(null));
79 assertEquals(Arrays.asList(), CommandLineSupport.split(""));
84 assertEquals(Arrays.asList("abc"), CommandLineSupport.split("abc"));
90 CommandLineSupport.split(" aa bbbb cccccc "));
96 CommandLineSupport.split("\"a a\" \"b b \" "));
101 assertEquals(Arrays.asList("a\"c"), CommandLineSupport.split("a\\\"c"));
106 assertEquals(Arrays.asList("a\\c"), CommandLineSupport.split("a\\c"));
111 assertEquals(Arrays.asList("a\\"), CommandLineSupport.split("a\\"));
117 CommandLineSupport.split("a\\ b"));
122 assertEquals(Arrays.asList("a\\b"), CommandLineSupport.split("
[all...]
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/
H A DSplitterTest.java42 COMMA_SPLITTER.split(null);
50 Iterable<String> letters = COMMA_SPLITTER.split(simple);
55 * All of the infrastructure of split and splitToString is identical, so we
57 * of split.
60 * both split and splitToString automatically.
69 assertEquals("[]", Splitter.on(',').split("").toString());
70 assertEquals("[a, b, c]", Splitter.on(',').split("a,b,c").toString());
71 assertEquals("[yam, bam, jam, ham]", Splitter.on(", ").split("yam, bam, jam, ham").toString());
76 Iterable<String> letters = Splitter.on('.').split(simple);
82 Iterable<String> letters = COMMA_SPLITTER.split(double
[all...]

Completed in 1486 milliseconds

1234567891011>>