Home
last modified time | relevance | path

Searched refs:parse_string (Results 1 – 25 of 34) sorted by relevance

12

/external/protobuf/src/google/protobuf/
Dtext_format_unittest.cc552 string parse_string = strings::Substitute("optional_nested_enum: $0", in TEST_F() local
554 EXPECT_TRUE(TextFormat::ParseFromString(parse_string, &proto_)); in TEST_F()
561 string parse_string = strings::Substitute("sparse_enum: $0", in TEST_F() local
564 EXPECT_TRUE(TextFormat::ParseFromString(parse_string, &proto)); in TEST_F()
571 string parse_string = "optional_string: " in TEST_F() local
575 io::ArrayInputStream input_stream(parse_string.data(), in TEST_F()
576 parse_string.size()); in TEST_F()
585 string parse_string = "optional_string: \"foo\" \"bar\"\n"; in TEST_F() local
587 io::ArrayInputStream input_stream1(parse_string.data(), in TEST_F()
588 parse_string.size()); in TEST_F()
[all …]
/external/python/cpython2/Lib/lib2to3/tests/
Dtest_parser.py32 t = driver.parse_string(s)
104 support.parse_string(code)
289 tree = driver.parse_string(source)
295 driver.parse_string("a, *b, c = x\n")
296 driver.parse_string("[*a, b] = x\n")
297 driver.parse_string("(z, *y, w) = m\n")
298 driver.parse_string("for *z, m in d: pass\n")
303 driver.parse_string(support.dedent(s) + "\n\n")
Dsupport.py22 def parse_string(string): function
23 return driver.parse_string(reformat(string), debug=True)
/external/python/cpython3/Lib/lib2to3/tests/
Dtest_parser.py34 t = driver.parse_string(s)
106 support.parse_string(code)
390 tree = driver.parse_string(source)
401 driver.parse_string("a, *b, c = x\n")
402 driver.parse_string("[*a, b] = x\n")
403 driver.parse_string("(z, *y, w) = m\n")
404 driver.parse_string("for *z, m in d: pass\n")
410 driver.parse_string(support.dedent(s) + "\n\n")
Dsupport.py20 def parse_string(string): function
21 return driver.parse_string(reformat(string), debug=True)
/external/python/cpython2/Lib/json/
Dscanner.py18 parse_string = context.parse_string
35 return parse_string(string, idx + 1, encoding, strict)
Ddecoder.py356 self.parse_string = scanstring
/external/python/cpython3/Lib/json/
Dscanner.py18 parse_string = context.parse_string
35 return parse_string(string, idx + 1, strict)
Ddecoder.py329 self.parse_string = scanstring
/external/selinux/python/sepolgen/tests/
Dtest_audit.py151 a.parse_string(log1)
160 a.parse_string(log2)
178 parser.parse_string(log1)
185 parser.parse_string(granted1)
/external/e2fsprogs/debugfs/
Dset_fields.c69 static errcode_t parse_string(struct field_set_info *info, char *field, char *arg);
117 { "volume_name", &set_sb.s_volume_name, NULL, 16, parse_string },
118 { "last_mounted", &set_sb.s_last_mounted, NULL, 64, parse_string },
153 { "mount_opts", &set_sb.s_mount_opts, NULL, 64, parse_string },
167 { "first_error_func", &set_sb.s_first_error_func, NULL, 32, parse_string },
172 { "last_error_func", &set_sb.s_last_error_func, NULL, 32, parse_string },
286 parse_string },
288 parse_string },
552 static errcode_t parse_string(struct field_set_info *info, in parse_string() function
691 if (ss->func == parse_string) in print_possible_fields()
/external/pcre/pcrecpp/include/
Dpcrecpparg.h89 PCRE_MAKE_PARSER(std::string, parse_string);
113 static bool parse_string (const char* str, int n, void* dest);
/external/libxkbcommon/xkbcommon/src/compose/
Dparser.h28 parse_string(struct xkb_compose_table *table,
Dtable.c147 ok = parse_string(table, buffer, length, "(input string)"); in xkb_compose_table_new_from_buffer()
Dparser.c727 parse_string(struct xkb_compose_table *table, const char *string, size_t len, in parse_string() function
756 ok = parse_string(table, string, size, file_name); in parse_file()
/external/syslinux/com32/gpllib/zzjson/
Dzzjson_parse.c53 static char *parse_string(ZZJSON_CONFIG *config) { in parse_string() function
127 str = parse_string(config); in parse_string2()
393 str = parse_string(config); in parse_object()
/external/dhcpcd-6.8.2/
Dif-options.c277 #define parse_string(buf, len, arg) parse_string_hwaddr(buf, len, arg, 0) macro
410 if ((s = parse_string((char *)iaid, len, arg)) < 1) in parse_iaid1()
733 s = parse_string(ifo->hostname, HOSTNAME_MAX_LEN, arg); in parse_option()
750 s = parse_string((char *)ifo->vendorclassid + 1, in parse_option()
848 s = parse_string((char *)ifo->userclass + in parse_option()
869 s = parse_string((char *)ifo->vendor + 1, in parse_option()
908 s = parse_string((char *)ifo->vendor + in parse_option()
1754 s = parse_string(NULL, 0, fp); in parse_option()
1769 parse_string(np, dl, fp); in parse_option()
1861 s = parse_string(NULL, 0, arg); in parse_option()
[all …]
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
Dsocket.rb314 when /^"(.*)"$/ then parse_string( $1 )
334 def parse_string( string ) method in ANTLR3.Debug.RemoteEventSocketListener
/external/fio/lib/
Dpattern.c25 static const char *parse_string(const char *beg, char *out, in parse_string() function
275 end = parse_string(beg, out, out_len, &filled); in parse_and_fill_pattern()
/external/iptables/extensions/
Dlibxt_string.c80 parse_string(const char *s, struct xt_string_info *info) in parse_string() function
177 parse_string(cb->arg, stringinfo); in string_parse()
/external/syslinux/utils/
Dpxelinux-options21 @fmt_string = ("string", \&parse_string, \&show_string);
81 sub parse_string($) subroutine
/external/vulkan-validation-layers/libs/cjson/
DcJSON.c247 static const char *parse_string(cJSON *item, const char *str) { in parse_string() function
503 return parse_string(item, value); in parse_value()
727 value = skip(parse_string(child, skip(value))); in parse_object()
744 value = skip(parse_string(child, skip(value + 1))); in parse_object()
/external/python/cpython3/Lib/lib2to3/pgen2/
Ddriver.py103 def parse_string(self, text, debug=False): member in Driver
/external/python/cpython2/Lib/lib2to3/pgen2/
Ddriver.py103 def parse_string(self, text, debug=False): member in Driver
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c936 parse_string(const char *s, char *out) in parse_string() function
1080 while ((num = parse_string(env, name_a)) != 0) { in hud_parse_env_var()
1249 num = parse_string(env, s); in hud_parse_env_var()
1273 num = parse_string(env, s); in hud_parse_env_var()

12