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.py35 t = driver.parse_string(s)
119 support.parse_string(code)
304 tree = driver.parse_string(source)
310 driver.parse_string("a, *b, c = x\n")
311 driver.parse_string("[*a, b] = x\n")
312 driver.parse_string("(z, *y, w) = m\n")
313 driver.parse_string("for *z, m in d: pass\n")
318 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.py36 t = driver.parse_string(s)
120 support.parse_string(code)
574 tree = driver.parse_string(source)
577 tree = driver_no_print_statement.parse_string(source)
586 driver.parse_string("a, *b, c = x\n")
587 driver.parse_string("[*a, b] = x\n")
588 driver.parse_string("(z, *y, w) = m\n")
589 driver.parse_string("for *z, m in d: pass\n")
595 driver.parse_string(support.dedent(s) + "\n\n")
Dsupport.py26 def parse_string(string): function
27 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.py327 self.parse_string = scanstring
/external/selinux/python/sepolgen/tests/
Dtest_audit.py187 a.parse_string(log1)
196 a.parse_string(log2)
215 a.parse_string(xperms2)
228 parser.parse_string(log1)
235 parser.parse_string(granted1)
/external/e2fsprogs/debugfs/
Dset_fields.c69 static errcode_t parse_string(struct field_set_info *info, char *field, char *arg);
119 { "volume_name", &set_sb.s_volume_name, NULL, 16, parse_string },
120 { "last_mounted", &set_sb.s_last_mounted, NULL, 64, parse_string },
155 { "mount_opts", &set_sb.s_mount_opts, NULL, 64, parse_string },
169 { "first_error_func", &set_sb.s_first_error_func, NULL, 32, parse_string },
174 { "last_error_func", &set_sb.s_last_error_func, NULL, 32, parse_string },
287 parse_string },
289 parse_string },
555 static errcode_t parse_string(struct field_set_info *info, in parse_string() function
694 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/yapf/yapf/yapflib/
Dpytree_utils.py115 tree = parser_driver.parse_string(code, debug=False)
121 tree = parser_driver.parse_string(code, debug=False)
/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/antlr/runtime/Ruby/lib/antlr3/debug/
Dsocket.rb314 when /^"(.*)"$/ then parse_string( $1 )
334 def parse_string( string ) method in ANTLR3.Debug.RemoteEventSocketListener
/external/openssh/
Dreadconf.c950 goto parse_string; in process_config_line_depth()
1079 goto parse_string; in process_config_line_depth()
1083 parse_string: in process_config_line_depth()
1116 goto parse_string; in process_config_line_depth()
1120 goto parse_string; in process_config_line_depth()
1124 goto parse_string; in process_config_line_depth()
1128 goto parse_string; in process_config_line_depth()
1132 goto parse_string; in process_config_line_depth()
1411 goto parse_string; in process_config_line_depth()
1563 goto parse_string; in process_config_line_depth()
[all …]
/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/python/cpython3/Lib/lib2to3/pgen2/
Ddriver.py101 def parse_string(self, text, debug=False): member in Driver
/external/python/cpython2/Lib/lib2to3/pgen2/
Ddriver.py104 def parse_string(self, text, debug=False): member in Driver
/external/mesa3d/src/gallium/auxiliary/hud/
Dhud_context.c1037 parse_string(const char *s, char *out) in parse_string() function
1182 while ((num = parse_string(env, name_a)) != 0) { in hud_parse_env_var()
1366 num = parse_string(env, s); in hud_parse_env_var()
1390 num = parse_string(env, s); in hud_parse_env_var()
/external/selinux/python/audit2allow/
Daudit2allow171 parser.parse_string(messages)
Daudit2why171 parser.parse_string(messages)
/external/grpc-grpc/src/core/ext/transport/chttp2/transport/
Dhpack_parser.cc1429 static grpc_error* parse_string(grpc_chttp2_hpack_parser* p, const uint8_t* cur, in parse_string() function
1444 p->state = parse_string; in parse_string()
1485 return parse_string(p, cur, end); in begin_parse_string()

12