Home
last modified time | relevance | path

Searched refs:input (Results 1 – 25 of 5764) sorted by relevance

12345678910>>...231

/third_party/skia/third_party/externals/angle2/src/tests/preprocessor_tests/
Ddefine_test.cpp22 const char *input = in TEST_F() local
32 preprocess(input, expected); in TEST_F()
37 const char *input = in TEST_F() local
65 preprocess(input, expected); in TEST_F()
70 const char *input = in TEST_F() local
80 preprocess(input, expected); in TEST_F()
85 const char *input = in TEST_F() local
95 preprocess(input, expected); in TEST_F()
100 const char *input = in TEST_F() local
110 preprocess(input, expected); in TEST_F()
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DCodedInputStreamReader.java53 private final CodedInputStream input; field in CodedInputStreamReader
58 public static CodedInputStreamReader forCodedInput(CodedInputStream input) { in forCodedInput() argument
59 if (input.wrapper != null) { in forCodedInput()
60 return input.wrapper; in forCodedInput()
62 return new CodedInputStreamReader(input); in forCodedInput()
65 private CodedInputStreamReader(CodedInputStream input) { in CodedInputStreamReader() argument
66 this.input = Internal.checkNotNull(input, "input"); in CodedInputStreamReader()
67 this.input.wrapper = this; in CodedInputStreamReader()
72 return input.shouldDiscardUnknownFields(); in shouldDiscardUnknownFields()
81 tag = input.readTag(); in getFieldNumber()
[all …]
/third_party/gn/src/gn/
Dfilesystem_utils_unittest.cc28 std::string input; in TEST() local
29 EXPECT_EQ("", FindExtension(&input)); in TEST()
30 input = "foo/bar/baz"; in TEST()
31 EXPECT_EQ("", FindExtension(&input)); in TEST()
32 input = "foo."; in TEST()
33 EXPECT_EQ("", FindExtension(&input)); in TEST()
34 input = "f.o.bar"; in TEST()
35 EXPECT_EQ("bar", FindExtension(&input)); in TEST()
36 input = "foo.bar/"; in TEST()
37 EXPECT_EQ("", FindExtension(&input)); in TEST()
[all …]
/third_party/rust/crates/proc-macro2/src/
Dparse.rs66 fn skip_whitespace(input: Cursor) -> Cursor { in skip_whitespace()
67 let mut s = input; in skip_whitespace()
114 fn block_comment(input: Cursor) -> PResult<&str> { in block_comment()
115 if !input.starts_with("/*") { in block_comment()
120 let bytes = input.as_bytes(); in block_comment()
131 return Ok((input.advance(i + 2), &input.rest[..i + 2])); in block_comment()
146 fn word_break(input: Cursor) -> Result<Cursor, Reject> { in word_break()
147 match input.chars().next() { in word_break()
149 Some(_) | None => Ok(input), in word_break()
153 pub(crate) fn token_stream(mut input: Cursor) -> Result<TokenStream, LexError> { in token_stream()
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_ENUMINPUT.c46 struct v4l2_input input; in test_VIDIOC_ENUMINPUT() local
52 memset(&input, 0xff, sizeof(input)); in test_VIDIOC_ENUMINPUT()
53 input.index = i; in test_VIDIOC_ENUMINPUT()
54 ret_enum = ioctl(get_video_fd(), VIDIOC_ENUMINPUT, &input); in test_VIDIOC_ENUMINPUT()
63 CU_ASSERT_EQUAL(input.index, i); in test_VIDIOC_ENUMINPUT()
65 CU_ASSERT(0 < strlen((char *)input.name)); in test_VIDIOC_ENUMINPUT()
67 ((char *)input.name, sizeof(input.name))); in test_VIDIOC_ENUMINPUT()
72 CU_ASSERT(valid_v4l2_std_id(input.std)); in test_VIDIOC_ENUMINPUT()
74 CU_ASSERT_EQUAL(input.reserved[0], 0); in test_VIDIOC_ENUMINPUT()
75 CU_ASSERT_EQUAL(input.reserved[1], 0); in test_VIDIOC_ENUMINPUT()
[all …]
/third_party/typescript/tests/baselines/reference/
DmultipleDeclarations.symbols1 === tests/cases/conformance/salsa/input.js ===
3 >C : Symbol(C, Decl(input.js, 0, 0))
6 >this.m : Symbol(C.m, Decl(input.js, 0, 14))
7 >this : Symbol(C, Decl(input.js, 0, 0))
8 >m : Symbol(C.m, Decl(input.js, 0, 14))
11 >C.prototype : Symbol(C.m, Decl(input.js, 2, 1))
12 >C : Symbol(C, Decl(input.js, 0, 0))
14 >m : Symbol(C.m, Decl(input.js, 2, 1))
17 >this : Symbol(C, Decl(input.js, 0, 0))
20 >X : Symbol(X, Decl(input.js, 5, 1))
[all …]
DmethodsReturningThis.symbols1 === tests/cases/conformance/salsa/input.js ===
3 >Class : Symbol(Class, Decl(input.js, 0, 0))
9 >Class.prototype : Symbol(Class.containsError, Decl(input.js, 2, 1))
10 >Class : Symbol(Class, Decl(input.js, 0, 0))
12 >containsError : Symbol(Class.containsError, Decl(input.js, 2, 1))
13 >this : Symbol(Class, Decl(input.js, 0, 0))
17 >Class.prototype : Symbol(Class.m1, Decl(input.js, 5, 72))
18 >Class : Symbol(Class, Decl(input.js, 0, 0))
20 >m1 : Symbol(Class.m1, Decl(input.js, 5, 72))
21 >a : Symbol(a, Decl(input.js, 8, 31))
[all …]
/third_party/rust/crates/syn/src/
Dstmt.rs110 pub fn parse_within(input: ParseStream) -> Result<Vec<Stmt>> { in parse_within()
113 while let Some(semi) = input.parse::<Option<Token![;]>>()? { in parse_within()
116 if input.is_empty() { in parse_within()
119 let s = parse_stmt(input, true)?; in parse_within()
126 if input.is_empty() { in parse_within()
129 return Err(input.error("unexpected token")); in parse_within()
138 fn parse(input: ParseStream) -> Result<Self> { in parse()
141 brace_token: braced!(content in input), in parse()
149 fn parse(input: ParseStream) -> Result<Self> { in parse()
150 parse_stmt(input, false) in parse()
[all …]
Dop.rs88 fn parse_binop(input: ParseStream) -> Result<BinOp> { in parse_binop()
89 if input.peek(Token![&&]) { in parse_binop()
90 input.parse().map(BinOp::And) in parse_binop()
91 } else if input.peek(Token![||]) { in parse_binop()
92 input.parse().map(BinOp::Or) in parse_binop()
93 } else if input.peek(Token![<<]) { in parse_binop()
94 input.parse().map(BinOp::Shl) in parse_binop()
95 } else if input.peek(Token![>>]) { in parse_binop()
96 input.parse().map(BinOp::Shr) in parse_binop()
97 } else if input.peek(Token![==]) { in parse_binop()
[all …]
Ditem.rs388 fn from(input: DeriveInput) -> Item { in from()
389 match input.data { in from()
391 attrs: input.attrs, in from()
392 vis: input.vis, in from()
394 ident: input.ident, in from()
395 generics: input.generics, in from()
400 attrs: input.attrs, in from()
401 vis: input.vis, in from()
403 ident: input.ident, in from()
404 generics: input.generics, in from()
[all …]
Dpath.rs220 fn parse(input: ParseStream) -> Result<Self> { in parse()
221 Self::parse_helper(input, false) in parse()
227 fn parse(input: ParseStream) -> Result<Self> { in parse()
228 if input.peek(Lifetime) && !input.peek2(Token![+]) { in parse()
229 return Ok(GenericArgument::Lifetime(input.parse()?)); in parse()
232 if input.peek(Ident) && input.peek2(Token![=]) { in parse()
233 let ident: Ident = input.parse()?; in parse()
234 let eq_token: Token![=] = input.parse()?; in parse()
236 let ty = if input.peek(Lit) { in parse()
237 let begin = input.fork(); in parse()
[all …]
Dexpr.rs1161 fn parse(input: ParseStream) -> Result<Self> { in parse()
1162 ambiguous_expr(input, AllowStruct(true)) in parse()
1249 pub fn parse_without_eager_brace(input: ParseStream) -> Result<Expr> { in parse_without_eager_brace()
1250 ambiguous_expr(input, AllowStruct(false)) in parse_without_eager_brace()
1286 input: ParseStream, in parse_expr()
1292 if input in parse_expr()
1298 let op: BinOp = input.parse()?; in parse_expr()
1300 let mut rhs = unary_expr(input, allow_struct)?; in parse_expr()
1302 let next = peek_precedence(input); in parse_expr()
1304 rhs = parse_expr(input, rhs, allow_struct, next)?; in parse_expr()
[all …]
/third_party/node/test/parallel/
Dtest-whatwg-encoding-custom-textdecoder-fatal.js14 { encoding: 'utf-8', input: [0xFF], name: 'invalid code' }, property
15 { encoding: 'utf-8', input: [0xC0], name: 'ends early' }, property
16 { encoding: 'utf-8', input: [0xE0], name: 'ends early 2' }, property
17 { encoding: 'utf-8', input: [0xC0, 0x00], name: 'invalid trail' }, property
18 { encoding: 'utf-8', input: [0xC0, 0xC0], name: 'invalid trail 2' }, property
19 { encoding: 'utf-8', input: [0xE0, 0x00], name: 'invalid trail 3' }, property
20 { encoding: 'utf-8', input: [0xE0, 0xC0], name: 'invalid trail 4' }, property
21 { encoding: 'utf-8', input: [0xE0, 0x80, 0x00], name: 'invalid trail 5' }, property
22 { encoding: 'utf-8', input: [0xE0, 0x80, 0xC0], name: 'invalid trail 6' }, property
23 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x80, 0x80], property
[all …]
/third_party/alsa-lib/src/
Dinput.c39 int (*close)(snd_input_t *input);
40 int (*scan)(snd_input_t *input, const char *format, va_list args);
41 char *(*(gets))(snd_input_t *input, char *str, size_t size);
42 int (*getch)(snd_input_t *input);
43 int (*ungetch)(snd_input_t *input, int c);
58 int snd_input_close(snd_input_t *input) in snd_input_close() argument
60 int err = input->ops->close(input); in snd_input_close()
61 free(input); in snd_input_close()
74 int snd_input_scanf(snd_input_t *input, const char *format, ...) in snd_input_scanf() argument
79 result = input->ops->scan(input, format, args); in snd_input_scanf()
[all …]
/third_party/libinput/src/
Dudev-seat.c38 udev_seat_create(struct udev_input *input,
42 udev_seat_get_named(struct udev_input *input, const char *seat_name);
78 struct udev_input *input, in device_added() argument
90 if (!streq(device_seat, input->seat_id)) in device_added()
105 seat = udev_seat_get_named(input, seat_name); in device_added()
117 seat = udev_seat_create(input, device_seat, seat_name); in device_added()
126 log_info(&input->base, in device_added()
134 log_info(&input->base, in device_added()
150 device_removed(struct udev_device *udev_device, struct udev_input *input) in device_removed() argument
157 list_for_each(seat, &input->base.seat_list, base.link) { in device_removed()
[all …]
/third_party/node/test/fixtures/wpt/encoding/
Dtextdecoder-fatal.any.js4 { encoding: 'utf-8', input: [0xFF], name: 'invalid code' }, property
5 { encoding: 'utf-8', input: [0xC0], name: 'ends early' }, property
6 { encoding: 'utf-8', input: [0xE0], name: 'ends early 2' }, property
7 { encoding: 'utf-8', input: [0xC0, 0x00], name: 'invalid trail' }, property
8 { encoding: 'utf-8', input: [0xC0, 0xC0], name: 'invalid trail 2' }, property
9 { encoding: 'utf-8', input: [0xE0, 0x00], name: 'invalid trail 3' }, property
10 { encoding: 'utf-8', input: [0xE0, 0xC0], name: 'invalid trail 4' }, property
11 { encoding: 'utf-8', input: [0xE0, 0x80, 0x00], name: 'invalid trail 5' }, property
12 { encoding: 'utf-8', input: [0xE0, 0x80, 0xC0], name: 'invalid trail 6' }, property
13 { encoding: 'utf-8', input: [0xFC, 0x80, 0x80, 0x80, 0x80, 0x80], name: '> 0x10FFFF' }, property
[all …]
/third_party/typescript/src/compiler/transformers/
Ddeclarations.ts623 function shouldEmitFunctionProperties(input: FunctionDeclaration) {
624 if (input.body) {
628 …const overloadSignatures = input.symbol.declarations?.filter(decl => isFunctionDeclaration(decl) &…
629 … return !overloadSignatures || overloadSignatures.indexOf(input) === overloadSignatures.length - 1;
656 function updateAccessorParamsList(input: AccessorDeclaration, isPrivate: boolean) {
659 const thisParameter = getThisParameter(input);
664 if (isSetAccessorDeclaration(input)) {
667 const valueParameter = getSetAccessorValueParameter(input);
669 …Type = getTypeAnnotationFromAllAccessorDeclarations(input, resolver.getAllAccessorDeclarations(inp…
714 …portDeclaration | ExportDeclaration | ModuleDeclaration | ImportTypeNode, input: T | undefined): T…
[all …]
/third_party/rust/crates/nom/benchmarks/benches/
Dhttp.rs70 fn request_line(input: &[u8]) -> IResult<&[u8], Request<'_>> { in request_line()
71 let (input, method) = take_while1(is_token)(input)?; in request_line()
72 let (input, _) = take_while1(is_space)(input)?; in request_line()
73 let (input, uri) = take_while1(is_not_space)(input)?; in request_line()
74 let (input, _) = take_while1(is_space)(input)?; in request_line()
75 let (input, version) = http_version(input)?; in request_line()
76 let (input, _) = line_ending(input)?; in request_line()
78 Ok((input, Request {method, uri, version})) in request_line()
81 fn http_version(input: &[u8]) -> IResult<&[u8], &[u8]> { in http_version()
82 let (input, _) = tag("HTTP/")(input)?; in http_version()
[all …]
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Drenderpass.txt19 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.clear
20 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.self_dep_clear
21 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.draw
22 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.self_dep_draw
23 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.clear_draw
24 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.self_dep_clear_draw
25 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.clear_use_input_aspe…
26 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.self_dep_clear_use_i…
27 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.draw_use_input_aspect
28 dEQP-VK.renderpass.suballocation.formats.r5g6b5_unorm_pack16.input.clear.store.self_dep_draw_use_in…
[all …]
/third_party/rust/crates/syn/tests/
Dtest_derive_input.rs11 let input = quote! { in test_unit() localVariable
15 snapshot!(input as DeriveInput, @r###" in test_unit()
30 let input = quote! { in test_struct() localVariable
38 snapshot!(input as DeriveInput, @r###" in test_struct()
109 snapshot!(input.attrs[0].parse_meta().unwrap(), @r###" in test_struct()
143 let input = quote! { in test_union() localVariable
150 snapshot!(input as DeriveInput, @r###" in test_union()
197 let input = quote! { in test_enum() localVariable
211 snapshot!(input as DeriveInput, @r###" in test_enum()
326 let meta_items: Vec<_> = input in test_enum()
[all …]
/third_party/pulseaudio/src/modules/alsa/mixer/paths/
Danalog-input.conf.common17 ; input paths. If multiple options by the same id are discovered they
23 ; input -- If we don't know the exact kind of input
24 ; input-microphone
25 ; input-microphone-internal
26 ; input-microphone-external
27 ; input-linein
28 ; input-video
29 ; input-radio
30 ; input-docking-microphone
31 ; input-docking-linein
[all …]
/third_party/protobuf/php/tests/
DPhpImplementationTest.php35 $input = new CodedInputStream(hex2bin("01"));
36 GPBWire::readInt32($input, $value);
40 $input = new CodedInputStream(hex2bin("ffffffff0f"));
41 GPBWire::readInt32($input, $value);
45 $input = new CodedInputStream(hex2bin("ffffffff7f"));
46 GPBWire::readInt32($input, $value);
55 $input = new CodedInputStream(hex2bin("01"));
56 GPBWire::readUint32($input, $value);
60 $input = new CodedInputStream(hex2bin("ffffffff0f"));
61 GPBWire::readUint32($input, $value);
[all …]
/third_party/astc-encoder/Source/
Dastcenc_color_unquantize.cpp73 vint4 input in uncontract_color() argument
76 vint4 bc0 = asr<1>(input + input.lane<2>()); in uncontract_color()
77 return select(input, bc0, mask); in uncontract_color()
223 vint4 input = unquant_color(quant_level, input0q); in rgb_scale_alpha_unpack() local
227 output1 = input; in rgb_scale_alpha_unpack()
230 output0 = asr<8>(input * scale); in rgb_scale_alpha_unpack()
231 output0.set_lane<3>(input.lane<3>()); in rgb_scale_alpha_unpack()
252 vint4 input = unquant_color(quant_level, input0q); in rgb_scale_unpack() local
255 output1 = input; in rgb_scale_unpack()
258 output0 = asr<8>(input * scale); in rgb_scale_unpack()
[all …]
/third_party/glslang/Test/
Dhlsl.if.frag1 float4 f0(float4 input) {
2 if (all(input == input))
3 return input;
5 return -input;
8 float4 f1(float4 input) {
9 if (all(input == input)) {
10 return input;
12 return -input;
16 float4 PixelShaderFunction(float4 input) : COLOR0
18 if (all(input == input))
[all …]
/third_party/ffmpeg/libavcodec/
Ddcadct.c26 static void sum_a(const int *input, int *output, int len) in sum_a() argument
31 output[i] = input[2 * i] + input[2 * i + 1]; in sum_a()
34 static void sum_b(const int *input, int *output, int len) in sum_b() argument
38 output[0] = input[0]; in sum_b()
40 output[i] = input[2 * i] + input[2 * i - 1]; in sum_b()
43 static void sum_c(const int *input, int *output, int len) in sum_c() argument
48 output[i] = input[2 * i]; in sum_c()
51 static void sum_d(const int *input, int *output, int len) in sum_d() argument
55 output[0] = input[1]; in sum_d()
57 output[i] = input[2 * i - 1] + input[2 * i + 1]; in sum_d()
[all …]

12345678910>>...231