Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 25 of 2236) sorted by relevance

12345678910>>...90

/external/perfetto/src/protozero/filtering/
Dfilter_bytecode_parser_unittest.cc45 EXPECT_FALSE(parser.Query(42, 42).allowed); in TEST()
48 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
49 EXPECT_FALSE(parser.Query(0, 0xffffffff).allowed); in TEST()
50 EXPECT_FALSE(parser.Query(1, 0).allowed); in TEST()
51 EXPECT_FALSE(parser.Query(0, 1).allowed); in TEST()
52 EXPECT_FALSE(parser.Query(1, 1).allowed); in TEST()
53 EXPECT_FALSE(parser.Query(42, 42).allowed); in TEST()
62 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
63 EXPECT_FALSE(parser.Query(0, 1).allowed); in TEST()
64 EXPECT_TRUE(parser.Query(0, 2).allowed); in TEST()
[all …]
Dfilter_bytecode_generator_unittest.cc44 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
45 EXPECT_TRUE(parser.Query(0, 1).allowed); in TEST()
46 EXPECT_FALSE(parser.Query(0, 126).allowed); in TEST()
47 EXPECT_TRUE(parser.Query(0, 127).allowed); in TEST()
48 EXPECT_TRUE(parser.Query(0, 128).allowed); in TEST()
49 EXPECT_FALSE(parser.Query(0, 129).allowed); in TEST()
50 EXPECT_TRUE(parser.Query(0, 1000).allowed); in TEST()
51 EXPECT_FALSE(parser.Query(0, 1001).allowed); in TEST()
67 EXPECT_FALSE(parser.Query(0, 0).allowed); in TEST()
68 EXPECT_TRUE(parser.Query(0, 1).allowed); in TEST()
[all …]
Dfilter_util_unittest.cc49 EXPECT_TRUE(fbp.Query(0, 13).allowed); in TEST()
51 EXPECT_TRUE(fbp.Query(0, 5).allowed); in TEST()
53 EXPECT_TRUE(fbp.Query(0, 71).allowed); in TEST()
55 EXPECT_FALSE(fbp.Query(0, 1).allowed); in TEST()
56 EXPECT_FALSE(fbp.Query(0, 12).allowed); in TEST()
57 EXPECT_FALSE(fbp.Query(0, 70).allowed); in TEST()
77 EXPECT_TRUE(fbp.Query(0, 1).allowed); in TEST()
79 EXPECT_TRUE(fbp.Query(0, 2).allowed); in TEST()
82 EXPECT_FALSE(fbp.Query(0, 3).allowed); in TEST()
83 EXPECT_FALSE(fbp.Query(0, 4).allowed); in TEST()
[all …]
Dmessage_filter.cc88 if (!res.allowed || res.simple_field()) in SetFilterRoot()
166 if (filter.allowed && filter.simple_field()) in FilterOneByte()
170 if (filter.allowed && filter.simple_field()) in FilterOneByte()
175 if (filter.allowed && filter.simple_field()) in FilterOneByte()
197 if (filter.allowed && !filter.simple_field() && submessage_len > 0) { in FilterOneByte()
221 state->passthrough_eaten_bytes = filter.allowed; in FilterOneByte()
222 if (filter.allowed) in FilterOneByte()
229 IncrementCurrentFieldUsage(token.field_id, filter.allowed); in FilterOneByte()
280 bool allowed) { in IncrementCurrentFieldUsage() argument
307 field_usage_[field_path] += allowed ? 1 : -1; in IncrementCurrentFieldUsage()
/external/skia/tests/sksl/runtime_errors/
DIllegalOperators.skvm3 error: 1: operator '~' is not allowed
4 error: 3: operator '%' is not allowed
5 error: 4: operator '%=' is not allowed
6 error: 6: operator '<<' is not allowed
7 error: 7: operator '<<=' is not allowed
8 error: 8: operator '>>' is not allowed
9 error: 9: operator '>>=' is not allowed
10 error: 11: operator '&' is not allowed
11 error: 12: operator '&=' is not allowed
12 error: 13: operator '|' is not allowed
[all …]
/external/tensorflow/tensorflow/core/framework/
Dkernel_def_builder.cc38 const char* attr_name, gtl::ArraySlice<int64> allowed) { in AttrConstraint() argument
42 for (const int64 integer : allowed) { in AttrConstraint()
51 int64 allowed) { in AttrConstraint() argument
54 gtl::ArraySlice<int64>(std::initializer_list<int64>({allowed}))); in AttrConstraint()
59 const char* attr_name, gtl::ArraySlice<string> allowed) { in AttrConstraint() argument
63 for (const auto& str : allowed) { in AttrConstraint()
71 const char* attr_name, string allowed) { in AttrConstraint() argument
74 gtl::ArraySlice<string>(std::initializer_list<string>({allowed}))); in AttrConstraint()
79 const char* attr_name, gtl::ArraySlice<const char*> allowed) { in AttrConstraint() argument
83 for (const auto& str : allowed) { in AttrConstraint()
[all …]
Dkernel_def_builder.h47 gtl::ArraySlice<T> allowed);
51 KernelDefBuilder& AttrConstraint(const char* attr_name, T allowed);
58 gtl::ArraySlice<DataType> allowed);
61 KernelDefBuilder& TypeConstraint(const char* attr_name, DataType allowed);
/external/cldr/tools/java/org/unicode/cldr/util/
DPreferredAndAllowedHour.java47 .thenComparing(t -> t.allowed, lexicographical(Comparator.<HourStyle>naturalOrder()));
51 public final ImmutableList<HourStyle> allowed; field in PreferredAndAllowedHour
61 public PreferredAndAllowedHour(char preferred, Set<Character> allowed) { in PreferredAndAllowedHour() argument
62 this(String.valueOf(preferred), allowed.stream().map(String::valueOf)); in PreferredAndAllowedHour()
78 this.allowed = allowedStyles.map(HourStyle::valueOf).collect(toImmutableList()); in PreferredAndAllowedHour()
79 checkArgument(allowed.stream().distinct().count() == allowed.size(), in PreferredAndAllowedHour()
80 "Allowed (%s) must not contain duplicates", allowed); in PreferredAndAllowedHour() local
84 checkArgument(allowed.contains(preferred), in PreferredAndAllowedHour()
85 "Allowed (%s) must contain preferred (%s)", allowed, preferred); in PreferredAndAllowedHour() local
103 + withSpaces.join(allowed) in toString()
/external/llvm-project/clang/test/SemaOpenCL/
Dfunc.cl4 … // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}}
6 …int, ...); // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}}
7 … // expected-error@-1{{pointers to functions are not allowed}}
8 …ar *st, ...); // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}}
13 …void (*f)(struct s *self, int *i); // expected-error{{pointers to functions are not allowed}}
25 void (*fptr)(int); // expected-error{{pointers to functions are not allowed}}
28 foo((void*)foo); // expected-error{{taking address of function is not allowed}}
29 foo(&foo); // expected-error{{taking address of function is not allowed}}
32 …d-error{{taking address of function is not allowed}} expected-error{{taking address of function is…
Dhalf.cl6 …isabled(half *p, // expected-error{{declaring function return value of type 'half' is not allowed}}
7 … half h) // expected-error{{declaring function parameter of type '__private half' is not allowed}}
9 half a[2]; // expected-error{{declaring variable of type '__private half [2]' is not allowed}}
10 half b; // expected-error{{declaring variable of type '__private half' is not allowed}}
17 b = (half) c; // expected-error{{casting to type 'half' is not allowed}}
21 half *allowed = &p[1];
29 …cted-error{{declaring function parameter of type '__private half' is not allowed; did you forget *…
48 half *allowed = &p[1];
Dinvalid-block.cl4 …ror{{declaring function parameter of type 'int (__generic ^const __private)(void)' is not allowed}}
19 // A block with extern storage class is not allowed.
31 …eclaring function return value of type 'bl_t' (aka 'int (__generic ^const)(void)') is not allowed}}
33 …eclaring function return value of type 'bl_t' (aka 'int (__generic ^const)(void)') is not allowed}}
34 … parameter of type '__private bl_t' (aka 'int (__generic ^const __private)(void)') is not allowed}}
37 … parameter of type '__private bl_t' (aka 'int (__generic ^const __private)(void)') is not allowed}}
50 // A block with variadic argument is not allowed.
51 …pe, variadic arguments are not allowed in OpenCL}} expected-error {{invalid prototype, variadic ar…
54 …t)(int, ...); // expected-error {{invalid prototype, variadic arguments are not allowed in OpenCL}}
94 // Taking address of a capture is not allowed
[all …]
/external/clang/test/SemaOpenCL/
Dhalf.cl6 …isabled(half *p, // expected-error{{declaring function return value of type 'half' is not allowed}}
7 … half h) // expected-error{{declaring function parameter of type 'half' is not allowed}}
9 half a[2]; // expected-error{{declaring variable of type 'half [2]' is not allowed}}
10 half b; // expected-error{{declaring variable of type 'half' is not allowed}}
11 *p; // expected-error{{loading directly from pointer to type 'half' is not allowed}}
12 p[1]; // expected-error{{loading directly from pointer to type 'half' is not allowed}}
15 b = (half) c; // expected-error{{casting to type 'half' is not allowed}}
19 half *allowed = &p[1];
41 half *allowed = &p[1];
Dfunc_ptr.cl8 void (*fptr)(int); // expected-error{{pointers to functions are not allowed}}
11 foo((void*)foo); // expected-error{{taking address of function is not allowed}}
12 foo(&foo); // expected-error{{taking address of function is not allowed}}
15 …d-error{{taking address of function is not allowed}} expected-error{{taking address of function is…
/external/skia/tests/sksl/errors/
DArrayOfVoid.glsl3 error: 3: type 'void' not allowed in this context
4 error: 4: type 'void' not allowed in this context
5 error: 6: type 'void' not allowed in this context
6 error: 7: type 'void' not allowed in this context
8 error: 9: type 'void' not allowed in this context
9 error: 10: type 'void' not allowed in this context
DLayoutMultiplePrimitiveTypes.glsl3 error: 3: only one primitive-type layout qualifier is allowed
4 error: 4: only one primitive-type layout qualifier is allowed
5 error: 5: only one primitive-type layout qualifier is allowed
6 error: 6: only one primitive-type layout qualifier is allowed
7 error: 7: only one primitive-type layout qualifier is allowed
/external/llvm-project/clang-tools-extra/docs/clang-tidy/checks/
Dportability-restrict-system-includes.rst17 #include <zlib.h> // Good: allowed system header.
18 #include "src/myfile.h" // Good: non-system header always allowed.
25 #include <curses.h> // Good: allowed system header.
26 #include <openssl/ssl.h> // Good: allowed system header.
28 #include "src/myfile.h" // Good: non-system header always allowed.
38 #include <openssl/ssl.h> // Good: allowed system header.
39 #include <openssl/rsa.h> // Good: allowed system header.
41 #include "src/myfile.h" // Good: non-system header always allowed.
48 A string containing a comma separated glob list of allowed include
/external/tensorflow/tensorflow/python/kernel_tests/
Dpriority_queue_test.py58 allowed = {}
61 if e not in allowed:
62 allowed[e] = set()
63 allowed[e].add((v0, v1))
68 self.assertTrue((dv0, dv1) in allowed[e])
107 allowed = {}
110 if e not in allowed:
111 allowed[e] = set()
112 allowed[e].add((v0, v1))
117 self.assertTrue((dv0, dv1) in allowed[e])
[all …]
/external/clang/include/clang/Basic/
DOpenMPKinds.def234 // Clauses allowed for OpenMP directive 'parallel'.
245 // Clauses allowed for directive 'omp simd'.
255 // Clauses allowed for directive 'omp for'.
266 // Clauses allowed for directive 'omp for simd'.
280 // Clauses allowed for OpenMP directive 'omp sections'.
287 // Clauses allowed for directive 'omp single'.
293 // Clauses allowed for OpenMP directive 'cancel'.
335 // Clauses allowed for OpenMP directive 'parallel for'.
351 // Clauses allowed for OpenMP directive 'parallel for simd'.
370 // Clauses allowed for OpenMP directive 'parallel sections'.
[all …]
/external/libese/esed/
DOemLock.cpp38 bool allowed, const hidl_vec<uint8_t>& signature) { in setOemUnlockAllowedByCarrier() argument
39 LOG(INFO) << "Running OemLock::setOemUnlockAllowedByCarrier: " << allowed; in setOemUnlockAllowedByCarrier()
51 uint8_t lock_byte = allowed ? 0 : 1; in setOemUnlockAllowedByCarrier()
67 << allowed << "): " << res; in setOemUnlockAllowedByCarrier()
122 Return<OemLockStatus> OemLock::setOemUnlockAllowedByDevice(bool allowed) { in setOemUnlockAllowedByDevice() argument
123 LOG(INFO) << "Running OemLock::setOemUnlockAllowedByDevice: " << allowed; in setOemUnlockAllowedByDevice()
127 uint8_t lock_byte = allowed ? 0 : 1; in setOemUnlockAllowedByDevice()
140 << allowed << "): " << res; in setOemUnlockAllowedByDevice()
/external/libchrome/base/threading/
Dthread_restrictions.cc129 bool ThreadRestrictions::SetIOAllowed(bool allowed) { in SetIOAllowed() argument
131 g_blocking_disallowed.Get().Set(!allowed); in SetIOAllowed()
136 bool ThreadRestrictions::SetSingletonAllowed(bool allowed) { in SetSingletonAllowed() argument
138 g_singleton_disallowed.Get().Set(!allowed); in SetSingletonAllowed()
161 bool ThreadRestrictions::SetWaitAllowed(bool allowed) { in SetWaitAllowed() argument
163 g_base_sync_primitives_disallowed.Get().Set(!allowed); in SetWaitAllowed()
/external/llvm-project/clang/test/SemaObjC/
Dblock-on-method-param.m6 …s__(byref))) id)errorp; // expected-error {{__block attribute not allowed, only allowed on local v…
10 …_(byref))) id)errorp {} // expected-error {{__block attribute not allowed, only allowed on local v…
/external/clang/test/SemaObjC/
Dblock-on-method-param.m6 …s__(byref))) id)errorp; // expected-error {{__block attribute not allowed, only allowed on local v…
10 …_(byref))) id)errorp {} // expected-error {{__block attribute not allowed, only allowed on local v…
/external/rust/crates/codespan-reporting/tests/snapshots/
Dterm__overlapping__rich_no_color.snap5 error[E0666]: nested `impl Trait` is not allowed
14 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
20 │ not allowed in type signatures
23 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
29 │ ││ not allowed in type signatures
30 │ │not allowed in type signatures
Dterm__overlapping__rich_ascii_no_color.snap5 error[E0666]: nested `impl Trait` is not allowed
14 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
20 | not allowed in type signatures
23 error[E0121]: the type placeholder `_` is not allowed within types on item signatures
29 | || not allowed in type signatures
30 | |not allowed in type signatures
Dterm__overlapping__short_no_color.snap5 nested_impl_trait.rs:5:56: error[E0666]: nested `impl Trait` is not allowed
6 typeck_type_placeholder_item.rs:1:18: error[E0121]: the type placeholder `_` is not allowed within …
7 typeck_type_placeholder_item.rs:2:25: error[E0121]: the type placeholder `_` is not allowed within …
8 typeck_type_placeholder_item.rs:2:28: error[E0121]: the type placeholder `_` is not allowed within …

12345678910>>...90