HomeSort by relevance Sort by last modified time
    Searched full:substr (Results 1 - 25 of 2063) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/
substr.h 8 struct SubStr {
13 typedef struct SubStr SubStr;
15 int SubStr_eq(const SubStr *, const SubStr *);
17 static void SubStr_init_u(SubStr*, unsigned char*, unsigned int);
18 static SubStr *SubStr_new_u(unsigned char*, unsigned int);
20 static void SubStr_init(SubStr*, char*, unsigned int);
21 static SubStr *SubStr_new(char*, unsigned int);
23 static void SubStr_copy(SubStr*, const SubStr*)
    [all...]
token.h 4 #include "substr.h"
11 static void Token_init(Token *, SubStr, unsigned int);
12 static Token *Token_new(SubStr, unsigned int);
15 Token_init(Token *r, SubStr t, unsigned int l)
22 Token_new(SubStr t, unsigned int l)
parse.h 14 void Symbol_init(Symbol *, const SubStr*);
15 static Symbol *Symbol_new(const SubStr*);
16 Symbol *Symbol_find(const SubStr*);
22 Symbol_new(const SubStr *str)
scanner.h 19 static SubStr Scanner_token(Scanner*);
22 static SubStr
25 SubStr r;
substr.c 2 #include "tools/re2c/substr.h"
6 SubStr_out(const SubStr *s, FILE *o)
16 SubStr_eq(const SubStr *s1, const SubStr *s2)
22 Str_init(Str *r, const SubStr* s)
29 Str_new(const SubStr* s)
  /external/chromium_org/third_party/sqlite/src/test/
func2.test 20 # func2-1.*: substr implementation (ascii)
21 # func2-2.*: substr implementation (utf8)
22 # func2-3.*: substr implementation (blob)
34 # Test cases func2-1.*: substr implementation (ascii)
41 # substr(x,y), substr(x,y,z)
43 catchsql {SELECT SUBSTR()}
44 } {1 {wrong number of arguments to function SUBSTR()}}
46 catchsql {SELECT SUBSTR('Supercalifragilisticexpialidocious')}
47 } {1 {wrong number of arguments to function SUBSTR()}}
    [all...]
substr.test 12 # focus of this file is testing the built-in SUBSTR() functions.
14 # $Id: substr.test,v 1.7 2009/02/03 13:10:54 drh Exp $
29 proc substr-test {id string i1 i2 result} {
34 do_test substr-$id.1 [subst {
36 SELECT substr(t, $i1, $i2) FROM t1
40 do_test substr-$id.2 [subst {
42 SELECT substr($qstr, $i1, $i2)
51 do_test substr-$id.1 [subst {
53 SELECT hex(substr(b, $i1, $i2)) FROM t1
56 do_test substr-$id.2 [subst
    [all...]
  /external/chromium_org/v8/test/webkit/
string-substr-expected.txt 24 This test checks the boundary cases of substr().
29 PASS 'bar'.substr(0) is 'bar'
30 PASS 'bar'.substr(3) is ''
31 PASS 'bar'.substr(4) is ''
32 PASS 'bar'.substr(-1) is 'r'
33 PASS 'bar'.substr(-3) is 'bar'
34 PASS 'bar'.substr(-4) is 'bar'
35 PASS 'bar'.substr(0, 0) is ''
36 PASS 'bar'.substr(0, 1) is 'b'
37 PASS 'bar'.substr(0, 3) is 'bar
    [all...]
string-substr.js 25 "This test checks the boundary cases of substr()."
28 shouldBe("'bar'.substr(0)", "'bar'");
29 shouldBe("'bar'.substr(3)", "''");
30 shouldBe("'bar'.substr(4)", "''");
31 shouldBe("'bar'.substr(-1)", "'r'");
32 shouldBe("'bar'.substr(-3)", "'bar'");
33 shouldBe("'bar'.substr(-4)", "'bar'");
35 shouldBe("'bar'.substr(0, 0)", "''");
36 shouldBe("'bar'.substr(0, 1)", "'b'");
37 shouldBe("'bar'.substr(0, 3)", "'bar'")
    [all...]
  /external/chromium_org/v8/test/mjsunit/
substr.js 29 assertEquals(s, s.substr());
30 assertEquals(s, s.substr(0));
31 assertEquals(s, s.substr('0'));
32 assertEquals(s, s.substr(void 0));
33 assertEquals(s, s.substr(null));
34 assertEquals(s, s.substr(false));
35 assertEquals(s, s.substr(0.9));
36 assertEquals(s, s.substr({ valueOf: function() { return 0; } }));
37 assertEquals(s, s.substr({ toString: function() { return '0'; } }));
40 assertEquals(s1, s.substr(1))
    [all...]
string-slices.js 31 assertEquals(s, s.substr());
32 assertEquals(s, s.substr(0));
33 assertEquals(s, s.substr('0'));
34 assertEquals(s, s.substr(void 0));
35 assertEquals(s, s.substr(null));
36 assertEquals(s, s.substr(false));
37 assertEquals(s, s.substr(0.9));
38 assertEquals(s, s.substr({ valueOf: function() { return 0; } }));
39 assertEquals(s, s.substr({ toString: function() { return '0'; } }));
42 assertEquals(s1, s.substr(1))
    [all...]
  /external/v8/test/mjsunit/
substr.js 29 assertEquals(s, s.substr());
30 assertEquals(s, s.substr(0));
31 assertEquals(s, s.substr('0'));
32 assertEquals(s, s.substr(void 0));
33 assertEquals(s, s.substr(null));
34 assertEquals(s, s.substr(false));
35 assertEquals(s, s.substr(0.9));
36 assertEquals(s, s.substr({ valueOf: function() { return 0; } }));
37 assertEquals(s, s.substr({ toString: function() { return '0'; } }));
40 assertEquals(s1, s.substr(1))
    [all...]
string-slices.js 31 assertEquals(s, s.substr());
32 assertEquals(s, s.substr(0));
33 assertEquals(s, s.substr('0'));
34 assertEquals(s, s.substr(void 0));
35 assertEquals(s, s.substr(null));
36 assertEquals(s, s.substr(false));
37 assertEquals(s, s.substr(0.9));
38 assertEquals(s, s.substr({ valueOf: function() { return 0; } }));
39 assertEquals(s, s.substr({ toString: function() { return '0'; } }));
42 assertEquals(s1, s.substr(1))
    [all...]
  /art/test/020-string/src/
Main.java 60 String subStr;
62 subStr = baseStr.substring(5, baseStr.length() - 4);
63 System.out.println("subStr is '" + subStr + "'");
67 subStr.indexOf('T') + ":" +
68 subStr.indexOf('u') + ":" +
70 subStr.indexOf('y') + ":" +
71 subStr.indexOf('d') + ":" +
73 subStr.indexOf('x', 0) + ":" +
74 subStr.indexOf('x', -1) + ":"
    [all...]
  /dalvik/tests/020-string/src/
Main.java 60 String subStr;
62 subStr = baseStr.substring(5, baseStr.length() - 4);
63 System.out.println("subStr is '" + subStr + "'");
67 subStr.indexOf('T') + ":" +
68 subStr.indexOf('u') + ":" +
70 subStr.indexOf('y') + ":" +
71 subStr.indexOf('d') + ":" +
73 subStr.indexOf('x', 0) + ":" +
74 subStr.indexOf('x', -1) + ":"
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_bigmem.py 39 SUBSTR = ' abc def ghi'
40 s = '-' * size + SUBSTR
42 self.assertEqual(caps[-len(SUBSTR):],
43 SUBSTR.capitalize())
44 self.assertEqual(caps.lstrip('-'), SUBSTR)
48 SUBSTR = ' abc def ghi'
49 s = SUBSTR.center(size)
51 lpadsize = rpadsize = (len(s) - len(SUBSTR)) // 2
54 self.assertEqual(s[lpadsize:-rpadsize], SUBSTR)
55 self.assertEqual(s.strip(), SUBSTR.strip()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_bigmem.py 39 SUBSTR = ' abc def ghi'
40 s = '-' * size + SUBSTR
42 self.assertEqual(caps[-len(SUBSTR):],
43 SUBSTR.capitalize())
44 self.assertEqual(caps.lstrip('-'), SUBSTR)
48 SUBSTR = ' abc def ghi'
49 s = SUBSTR.center(size)
51 lpadsize = rpadsize = (len(s) - len(SUBSTR)) // 2
54 self.assertEqual(s[lpadsize:-rpadsize], SUBSTR)
55 self.assertEqual(s.strip(), SUBSTR.strip()
    [all...]
  /external/chromium_org/content/test/data/workers/
many_workers.html 4 var num_workers = parseInt(url.substr(url.search("count=") + 6));
  /external/chromium_org/tools/traceline/svgui/
traceline.xml 9 <body onload="loadJSON(document.location.hash.substr(1).split(','));">
  /external/e2fsprogs/lib/ss/
ct_c.awk 17 subr = substr($0, 6, length($0)-5)
21 help = substr($0, 6, length($0)-5)
25 cmd = substr($0, 6, length($0)-5)
31 opt = substr($0, 6, length($0)-5)
56 error = substr($0, 8, length($0)-7)
  /external/chromium_org/net/quic/
quic_spdy_decompressor_test.cc 33 string compressed_headers = compressor_.CompressHeaders(headers).substr(4);
46 string compressed_headers = compressor_.CompressHeaders(headers).substr(4);
54 string partial_compressed_headers = compressed_headers.substr(0, i);
61 compressed_headers.substr(partial_compressed_headers.length());
77 string compressed_headers = compressor_.CompressHeaders(headers).substr(4);
92 string compressed_headers = compressor_.CompressHeaders(headers).substr(4);
  /external/chromium_org/third_party/icu/source/test/intltest/
fldset.cpp 190 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) {
203 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
205 if(substr.length()==0) { // inherit requested
215 value = udbg_stoi(substr);
220 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
221 int32_t value = udbg_enumByString(type, substr);
226 parseValueDefault(inheritFrom,field,substr,status);
230 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
231 parseValueDefault(inheritFrom, field, substr, status);
245 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status)
    [all...]
  /external/icu4c/test/intltest/
fldset.cpp 194 int32_t FieldsSet::handleParseName(const FieldsSet* /* inheritFrom */, const UnicodeString& name, const UnicodeString& /* substr*/ , UErrorCode& status) {
207 void FieldsSet::parseValueDefault(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
209 if(substr.length()==0) { // inherit requested
219 value = udbg_stoi(substr);
224 void FieldsSet::parseValueEnum(UDebugEnumType type, const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
225 int32_t value = udbg_enumByString(type, substr);
230 parseValueDefault(inheritFrom,field,substr,status);
234 void FieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status) {
235 parseValueDefault(inheritFrom, field, substr, status);
249 void CalendarFieldsSet::handleParseValue(const FieldsSet* inheritFrom, int32_t field, const UnicodeString& substr, UErrorCode& status)
    [all...]
  /external/chromium_org/chrome/common/local_discovery/
service_discovery_client.cc 19 return service_name.substr(0, first_period);
28 return service_name.substr(first_period+1);
  /external/chromium_org/chrome/common/
pref_names_util.cc 24 *generic_family = pref_path.substr(start, pos - start);
26 *script = pref_path.substr(pos + 1);

Completed in 834 milliseconds

1 2 3 4 5 6 7 8 91011>>