Home
last modified time | relevance | path

Searched refs:parse (Results 51 - 75 of 2030) sorted by relevance

12345678910>>...82

/kernel/linux/linux-6.6/sound/soc/intel/avs/
H A Dtopology.c120 * @parse: parsing function, extracts and assigns value to object's field
126 int (*parse)(struct snd_soc_component *comp, void *elem, void *object, u32 offset); member
212 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_uuid_tokens()
238 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_string_tokens()
269 ret = parsers[j].parse(comp, tuple, object, parsers[j].offset); in avs_parse_word_tokens()
439 dev_err(comp->dev, "parse entry: %d of type: %d failed: %d\n", in parse_dictionary_entries()
479 .parse = avs_parse_string_token,
501 .parse = avs_parse_word_token,
507 .parse = avs_parse_word_token,
513 .parse
[all...]
/third_party/rust/crates/syn/tests/
H A Dtest_visibility.rs7 use syn::parse::{Parse, ParseStream};
17 fn parse(input: ParseStream) -> Result<Self> { in parse() functions
19 vis: input.parse()?, in parse()
20 rest: input.parse()?, in parse()
31 let expected = $rest.parse::<TokenStream>().unwrap();
32 let parse: VisRest = syn::parse_str($input).unwrap();
34 match parse.vis {
36 _ => panic!("Expected {}, got {:?}", stringify!($p), parse.vis),
41 assert_eq!(parse.rest.to_string(), expected.to_string());
45 syn::parse2::<VisRest>($input.parse()
[all...]
H A Dtest_parse_buffer.rs4 use syn::parse::discouraged::Speculative as _;
5 use syn::parse::{Parse, ParseStream, Parser, Result};
9 #[should_panic(expected = "Fork was not derived from the advancing parse stream")]
13 fn parse(input1: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_sources() functions
26 #[should_panic(expected = "Fork was not derived from the advancing parse stream")]
30 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_between_brackets() functions
44 #[should_panic(expected = "Fork was not derived from the advancing parse stream")]
48 fn parse(input: ParseStream) -> Result<Self> { in smuggled_speculative_cursor_into_brackets() functions
61 fn parse(input: ParseStream) -> Result<()> { in trailing_empty_none_group() functions
62 input.parse in trailing_empty_none_group()
[all...]
/third_party/rust/crates/syn/src/
H A Dpath.rs281 use crate::parse::{Parse, ParseStream, Result};
285 fn parse(input: ParseStream) -> Result<Self> { in parse() functions
292 fn parse(input: ParseStream) -> Result<Self> { in parse() functions
294 return Ok(GenericArgument::Lifetime(input.parse()?)); in parse()
301 let mut argument: Type = input.parse()?; in parse()
313 if let Some(eq_token) = input.parse::<Option<Token![=]>>()? { in parse()
333 ty: input.parse()?, in parse()
339 if let Some(colon_token) = input.parse::<Option<Token![:]>>()? { in parse()
355 let value: TypeParamBound = input.parse()?; in parse()
360 let punct: Token![+] = input.parse() in parse()
457 fn parse(input: ParseStream) -> Result<Self> { parse() functions
465 fn parse(input: ParseStream) -> Result<Self> { parse() functions
477 fn parse(input: ParseStream) -> Result<Self> { parse() functions
[all...]
H A Dpat.rs232 use crate::parse::{Parse, ParseBuffer, ParseStream, Result};
354 let leading_vert: Option<Token![|]> = input.parse()?; in parse_multi_with_leading_vert()
361 fn parse(input: ParseStream) -> Result<Self> { in parse() functions
365 colon_token: input.parse()?, in parse()
366 ty: input.parse()?, in parse()
379 let punct = input.parse()?; in multi_pat_impl()
401 let bang_token: Token![!] = input.parse()?; in pat_path_or_macro_or_struct_or_range()
432 underscore_token: input.parse()?, in pat_wild()
437 input.parse::<Token![box]>()?; in pat_box()
445 by_ref: input.parse() in pat_ident()
[all...]
/third_party/python/Lib/email/
H A Dparser.py41 def parse(self, fp, headersonly=False): member in Parser
67 return self.parse(StringIO(text), headersonly=headersonly)
73 def parse(self, fp, headersonly=True):
74 return Parser.parse(self, fp, True)
101 def parse(self, fp, headersonly=False):
111 return self.parser.parse(fp, headersonly)
129 def parse(self, fp, headersonly=True):
130 return BytesParser.parse(self, fp, headersonly=True)
72 def parse(self, fp, headersonly=True): global() member in HeaderParser
99 def parse(self, fp, headersonly=False): global() member in BytesParser
127 def parse(self, fp, headersonly=True): global() member in BytesHeaderParser
/third_party/skia/modules/svg/src/
H A DSkSVGFeTurbulence.cpp19 SkSVGAttributeParser::parse<SkSVGIntegerType>("numOctaves", name, value)) || in parseAndSetAttribute()
20 this->setSeed(SkSVGAttributeParser::parse<SkSVGNumberType>("seed", name, value)) || in parseAndSetAttribute()
21 this->setBaseFrequency(SkSVGAttributeParser::parse<SkSVGFeTurbulenceBaseFrequency>( in parseAndSetAttribute()
23 this->setTurbulenceType(SkSVGAttributeParser::parse<SkSVGFeTurbulenceType>( in parseAndSetAttribute()
28 bool SkSVGAttributeParser::parse<SkSVGFeTurbulenceBaseFrequency>( in parse() function in SkSVGAttributeParser
31 if (!this->parse(&freqX)) { in parse()
37 if (this->parse(&freqY)) { in parse()
47 bool SkSVGAttributeParser::parse<SkSVGFeTurbulenceType>(SkSVGFeTurbulenceType* type) { in parse() function in SkSVGAttributeParser
H A DSkSVGFeComposite.cpp17 this->setIn2(SkSVGAttributeParser::parse<SkSVGFeInputType>("in2", name, value)) || in parseAndSetAttribute()
18 this->setK1(SkSVGAttributeParser::parse<SkSVGNumberType>("k1", name, value)) || in parseAndSetAttribute()
19 this->setK2(SkSVGAttributeParser::parse<SkSVGNumberType>("k2", name, value)) || in parseAndSetAttribute()
20 this->setK3(SkSVGAttributeParser::parse<SkSVGNumberType>("k3", name, value)) || in parseAndSetAttribute()
21 this->setK4(SkSVGAttributeParser::parse<SkSVGNumberType>("k4", name, value)) || in parseAndSetAttribute()
23 SkSVGAttributeParser::parse<SkSVGFeCompositeOperator>("operator", name, value)); in parseAndSetAttribute()
63 template <> bool SkSVGAttributeParser::parse(SkSVGFeCompositeOperator* op) { in parse() function in SkSVGAttributeParser
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/
H A DPhoneNumberUtilTest.java1018 PhoneNumber number5 = phoneUtil.parse("+442087654321", RegionCode.GB); in testFormatInOriginalFormat()
2084 assertEquals(NZ_NUMBER, phoneUtil.parse("033316005", RegionCode.NZ)); in testParseNationalNumber()
2085 // Some fields are not filled in by parse, but only by parseAndKeepRawInput. in testParseNationalNumber()
2089 assertEquals(NZ_NUMBER, phoneUtil.parse("33316005", RegionCode.NZ)); in testParseNationalNumber()
2091 assertEquals(NZ_NUMBER, phoneUtil.parse("03-331 6005", RegionCode.NZ)); in testParseNationalNumber()
2092 assertEquals(NZ_NUMBER, phoneUtil.parse("03 331 6005", RegionCode.NZ)); in testParseNationalNumber()
2094 assertEquals(NZ_NUMBER, phoneUtil.parse("tel:03-331-6005;phone-context=+64", RegionCode.NZ)); in testParseNationalNumber()
2095 assertEquals(NZ_NUMBER, phoneUtil.parse("tel:331-6005;phone-context=+64-3", RegionCode.NZ)); in testParseNationalNumber()
2096 assertEquals(NZ_NUMBER, phoneUtil.parse("tel:331-6005;phone-context=+64-3", RegionCode.US)); in testParseNationalNumber()
2097 assertEquals(NZ_NUMBER, phoneUtil.parse( in testParseNationalNumber()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/number/
H A DNumberParserTest.java15 import ohos.global.icu.impl.number.parse.AffixPatternMatcher;
16 import ohos.global.icu.impl.number.parse.AffixTokenMatcherFactory;
17 import ohos.global.icu.impl.number.parse.CombinedCurrencyMatcher;
18 import ohos.global.icu.impl.number.parse.IgnorablesMatcher;
19 import ohos.global.icu.impl.number.parse.MinusSignMatcher;
20 import ohos.global.icu.impl.number.parse.NumberParserImpl;
21 import ohos.global.icu.impl.number.parse.ParsedNumber;
22 import ohos.global.icu.impl.number.parse.ParsingUtils;
23 import ohos.global.icu.impl.number.parse.PercentMatcher;
24 import ohos.global.icu.impl.number.parse
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/number/
H A DNumberParserTest.java14 import com.ibm.icu.impl.number.parse.AffixPatternMatcher;
15 import com.ibm.icu.impl.number.parse.AffixTokenMatcherFactory;
16 import com.ibm.icu.impl.number.parse.CombinedCurrencyMatcher;
17 import com.ibm.icu.impl.number.parse.IgnorablesMatcher;
18 import com.ibm.icu.impl.number.parse.MinusSignMatcher;
19 import com.ibm.icu.impl.number.parse.NumberParserImpl;
20 import com.ibm.icu.impl.number.parse.ParsedNumber;
21 import com.ibm.icu.impl.number.parse.ParsingUtils;
22 import com.ibm.icu.impl.number.parse.PercentMatcher;
23 import com.ibm.icu.impl.number.parse
[all...]
/third_party/rust/crates/regex/regex-syntax/benches/
H A Dbench.rs12 Parser::new().parse(re).unwrap() in parse_simple1()
20 Parser::new().parse(re).unwrap() in parse_simple2()
28 Parser::new().parse(re).unwrap() in parse_small1()
36 Parser::new().parse(re).unwrap() in parse_medium1()
44 Parser::new().parse(re).unwrap() in parse_medium2()
53 Parser::new().parse(re).unwrap() in parse_medium3()
61 Parser::new().parse(re).unwrap() in parse_huge()
/third_party/rust/crates/regex/regex-syntax/src/ast/
H A Dparse.rs327 /// The parser can be run with either the `parse` or `parse_with_comments`
328 /// methods. The parse methods return an abstract syntax tree.
337 pub fn parse(&mut self, pattern: &str) -> Result<Ast> { in parse() functions
338 ParserI::new(self, pattern).parse() in parse()
352 /// This is called at the beginning of every parse. This prevents the
951 fn parse(&self) -> Result<Ast> { in parse() functions
1823 // OK, now we're parsing a range, so bump past the `-` and parse the in parse_set_class_range()
1949 /// Attempt to parse an ASCII character class, e.g., `[:alnum:]`.
2498 parser_nest_limit("", 0).parse(), in parse_nest_limit()
2501 assert_eq!(parser_nest_limit("a", 0).parse(), O in parse_nest_limit()
[all...]
/third_party/libphonenumber/javascript/i18n/phonenumbers/
H A Dphonenumberutil_test.js1410 var number5 = phoneUtil.parse('+442087654321', RegionCode.GB);
2765 assertTrue(NZ_NUMBER.equals(phoneUtil.parse('033316005', RegionCode.NZ)));
2766 // Some fields are not filled in by parse, but only by parseAndKeepRawInput.
2773 assertTrue(NZ_NUMBER.equals(phoneUtil.parse('33316005', RegionCode.NZ)));
2775 assertTrue(NZ_NUMBER.equals(phoneUtil.parse('03-331 6005', RegionCode.NZ)));
2776 assertTrue(NZ_NUMBER.equals(phoneUtil.parse('03 331 6005', RegionCode.NZ)));
2779 phoneUtil.parse('tel:03-331-6005;phone-context=+64', RegionCode.NZ)));
2781 phoneUtil.parse('tel:331-6005;phone-context=+64-3', RegionCode.NZ)));
2783 phoneUtil.parse('tel:331-6005;phone-context=+64-3', RegionCode.US)));
2784 assertTrue(NZ_NUMBER.equals(phoneUtil.parse(
[all...]
/third_party/node/test/parallel/
H A Dtest-querystring-maxKeys-non-finite.js8 const parse = require('querystring').parse;
34 // 27def4f introduced a change to parse that would cause Infinity
37 // this test confirms that the output of parse is the expected length
39 const resultInfinity = parse(params, undefined, undefined, {
42 const resultNaN = parse(params, undefined, undefined, {
45 const resultInfinityString = parse(params, undefined, undefined, {
48 const resultNaNString = parse(params, undefined, undefined, {
/third_party/python/Lib/urllib/
H A Drobotparser.py14 import urllib.parse namespace
23 """ This class provides a set of methods to read, parse and answer
57 self.host, self.path = urllib.parse.urlparse(url)[1:3]
70 self.parse(raw.decode("utf-8").splitlines())
81 def parse(self, lines): member in RobotFileParser
114 line[1] = urllib.parse.unquote(line[1].strip())
168 parsed_url = urllib.parse.urlparse(urllib.parse.unquote(url))
169 url = urllib.parse.urlunparse(('','',parsed_url.path,
171 url = urllib.parse
[all...]
/third_party/mesa3d/src/gallium/auxiliary/tgsi/
H A Dtgsi_scan.c864 struct tgsi_parse_context parse; in tgsi_scan_shader() local
878 if (tgsi_parse_init( &parse, tokens ) != TGSI_PARSE_OK) { in tgsi_scan_shader()
882 procType = parse.FullHeader.Processor.Processor; in tgsi_scan_shader()
890 info->num_tokens = tgsi_num_tokens(parse.Tokens); in tgsi_scan_shader()
898 while (!tgsi_parse_end_of_tokens(&parse)) { in tgsi_scan_shader()
899 tgsi_parse_token( &parse ); in tgsi_scan_shader()
901 switch( parse.FullToken.Token.Type ) { in tgsi_scan_shader()
903 scan_instruction(info, &parse.FullToken.FullInstruction, in tgsi_scan_shader()
907 scan_declaration(info, &parse.FullToken.FullDeclaration); in tgsi_scan_shader()
913 scan_property(info, &parse in tgsi_scan_shader()
957 struct tgsi_parse_context parse; tgsi_scan_arrays() local
1053 get_block_tessfactor_writemask(const struct tgsi_shader_info *info, struct tgsi_parse_context *parse, unsigned end_opcode) get_block_tessfactor_writemask() argument
1098 get_if_block_tessfactor_writemask(const struct tgsi_shader_info *info, struct tgsi_parse_context *parse, unsigned *upper_block_tf_writemask, unsigned *cond_block_tf_writemask) get_if_block_tessfactor_writemask() argument
1176 struct tgsi_parse_context parse; tgsi_scan_tess_ctrl() local
[all...]
H A Dtgsi_transform.c161 struct tgsi_parse_context parse; in tgsi_transform_shader() local
188 if (tgsi_parse_init( &parse, tokens_in ) != TGSI_PARSE_OK) { in tgsi_transform_shader()
192 ctx->processor = parse.FullHeader.Processor.Processor; in tgsi_transform_shader()
209 while( !tgsi_parse_end_of_tokens( &parse ) ) { in tgsi_transform_shader()
211 tgsi_parse_token( &parse ); in tgsi_transform_shader()
213 switch( parse.FullToken.Token.Type ) { in tgsi_transform_shader()
217 = &parse.FullToken.FullInstruction; in tgsi_transform_shader()
291 = &parse.FullToken.FullDeclaration; in tgsi_transform_shader()
303 = &parse.FullToken.FullImmediate; in tgsi_transform_shader()
314 = &parse in tgsi_transform_shader()
[all...]
/third_party/jerryscript/tests/jerry/
H A Dfor-in-parse.js15 function parse (txt) { function
29 parse (forIn)
34 parse (forIn)
39 parse (forIn)
44 parse (forIn)
/third_party/json/tests/src/
H A Dunit-deserialization.cpp231 json j = json::parse(ss1);
250 json j = json::parse(s);
269 json j = json::parse(s);
323 CHECK_THROWS_WITH_AS(_ = json::parse(ss1), "[json.exception.parse_error.101] parse error at line 1, column 29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&);
327 CHECK_NOTHROW(j_error = json::parse(ss4, nullptr, false));
346 CHECK_THROWS_WITH_AS(_ = json::parse(s), "[json.exception.parse_error.101] parse error at line 1, column 29: syntax error while parsing array - unexpected end of input; expected ']'", json::parse_error&);
350 CHECK_NOTHROW(j_error = json::parse(s, nullptr, false));
370 CHECK_THROWS_WITH_AS(j << ss, "[json.exception.parse_error.101] parse erro
[all...]
H A Dunit-wstring.cpp44 json j = json::parse(w);
55 CHECK_THROWS_AS(_ = json::parse(w), json::parse_error&);
64 json j = json::parse(w);
75 CHECK_THROWS_AS(_ = json::parse(w), json::parse_error&);
84 json j = json::parse(w);
95 CHECK_THROWS_AS(_ = json::parse(w), json::parse_error&);
/third_party/python/Lib/
H A Dnturl2path.py17 import string, urllib.parse namespace
29 return urllib.parse.unquote('\\'.join(components))
39 path = path + '\\' + urllib.parse.unquote(comp)
52 import urllib.parse namespace
69 return urllib.parse.quote('/'.join(components))
75 drive = urllib.parse.quote(comp[0].upper())
80 path = path + '/' + urllib.parse.quote(comp)
/third_party/jerryscript/tests/jerry/es2015/
H A Dfor-of.js15 function parse (txt) { function
38 parse (forOf)
43 parse (forOf)
48 parse (forOf)
53 parse (forOf)
57 parse (forOf)
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeCommandLine.hpp63 // \note Either parse or namedValues must be null.
64 ParseFunc parse; //!< Custom parsing function or null. member
74 , parse (parseType<ValueType>) in Option()
86 , parse (parse_) in Option()
98 , parse ((ParseFunc)DE_NULL) in Option()
111 , parse ((ParseFunc)DE_NULL) in Option()
254 bool parse (int numArgs, const char* const* args, CommandLine* dst, std::ostream& err) const;
275 GenericParseFunc parse; member
290 , parse (DE_NULL) in OptInfo()
323 DE_ASSERT((!!info->parse) ! in dispatchParse()
[all...]
/third_party/rust/crates/nom/src/multi/
H A Dmod.rs63 match f.parse(i.clone()) { in many0()
114 move |mut i: I| match f.parse(i.clone()) { in many1()
124 match f.parse(i.clone()) { in many1()
179 match g.parse(i.clone()) { in many_till()
182 match f.parse(i.clone()) { in many_till()
241 match f.parse(i.clone()) { in separated_list0()
252 match sep.parse(i.clone()) { in separated_list0()
261 match f.parse(i1.clone()) { in separated_list0()
316 match f.parse(i.clone()) { in separated_list1()
326 match sep.parse( in separated_list1()
[all...]

Completed in 20 milliseconds

12345678910>>...82