Home
last modified time | relevance | path

Searched refs:word_string (Results 1 – 1 of 1) sorted by relevance

/aosp_15_r20/external/cronet/testing/libfuzzer/fuzzers/
H A Dgenerate_javascript_parser_proto.py14 def ParseWord(word_string): argument
18 word_string = word_string.lstrip().rstrip()
21 while len(word_string) > 0:
22 if word_string[0] == '"':
23 end_ix = 1 + word_string[1:].index('"')
24 parts.append(word_string[1:end_ix])
25 word_string = word_string[(end_ix + 1):]
26 elif word_string[0] == '$':
27 if ' ' in word_string:
28 end_ix = word_string.index(' ')
[all …]