Home
last modified time | relevance | path

Searched refs:is_valid (Results 1 – 25 of 168) sorted by relevance

1234567

/external/autotest/server/
Dserver_job_unittest.py64 self.assertEqual(manager.is_valid(10, "MSGTYPE"), True)
70 self.assertEqual(manager.is_valid(20, "MSGTYPE"), True)
76 self.assertEqual(manager.is_valid(5, "MSGTYPE"), True)
77 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False)
84 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False)
85 self.assertEqual(manager.is_valid(25, "MSGTYPE"), True)
90 self.assertEqual(manager.is_valid(15, "MSGTYPE"), True)
92 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False)
100 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False)
101 self.assertEqual(manager.is_valid(25, "MSGTYPE"), False)
[all …]
/external/drm_hwcomposer/
Ddrmframebuffer.h37 bool is_valid() { in is_valid() function
56 if (is_valid()) { in Allocate()
72 return is_valid(); in Allocate()
76 if (!is_valid()) in Clear()
88 if (!is_valid()) in WaitReleased()
/external/lldb/examples/summaries/cocoa/
Dobjc_runtime.py96 if class_data.is_valid() == 0:
101 if class_data.is_valid() == 0:
149 def is_valid(self): member in RoT_Data
154 if self.is_valid() == 0:
198 def is_valid(self): member in RwT_Data
201 return self.data.is_valid()
271 if self.is_valid():
282 if self.is_valid():
287 if self.is_valid():
297 if self.is_valid():
[all …]
DClass.py15 if runtime == None or not runtime.is_valid():
18 if class_data == None or not class_data.is_valid():
/external/v8/src/parsing/
Dexpression-classifier.h109 V8_INLINE bool is_valid(unsigned productions) const { in is_valid() function
118 return is_valid(ExpressionProduction); in is_valid_expression()
122 return is_valid(FormalParameterInitializerProduction); in is_valid_formal_parameter_initializer()
126 return is_valid(BindingPatternProduction); in is_valid_binding_pattern()
130 return is_valid(AssignmentPatternProduction); in is_valid_assignment_pattern()
134 return is_valid(ArrowFormalParametersProduction); in is_valid_arrow_formal_parameters()
138 return is_valid(DistinctFormalParametersProduction); in is_valid_formal_parameter_list_without_duplicates()
144 return is_valid(StrictModeFormalParametersProduction); in is_valid_strict_mode_formal_parameters()
148 return is_valid(LetPatternProduction); in is_valid_let_pattern()
152 return is_valid(AsyncArrowFormalParametersProduction); in is_valid_async_arrow_formal_parameters()
[all …]
/external/v8/test/unittests/interpreter/
Dbytecode-pipeline-unittest.cc22 CHECK_EQ(x.is_valid(), true); in TEST()
25 CHECK_EQ(x.is_valid(), false); in TEST()
57 CHECK(!node.source_info().is_valid()); in TEST_F()
64 CHECK(!node.source_info().is_valid()); in TEST_F()
73 CHECK(!node.source_info().is_valid()); in TEST_F()
82 CHECK(!node.source_info().is_valid()); in TEST_F()
94 CHECK(!node.source_info().is_valid()); in TEST_F()
107 CHECK(!node.source_info().is_valid()); in TEST_F()
/external/v8/test/cctest/
Dtest-conversions.cc319 CHECK(!OneBit1::is_valid(static_cast<uint32_t>(-1))); in TEST()
320 CHECK(!OneBit2::is_valid(static_cast<uint32_t>(-1))); in TEST()
322 CHECK(OneBit1::is_valid(i)); in TEST()
326 CHECK(OneBit2::is_valid(i)); in TEST()
330 CHECK(!OneBit1::is_valid(2)); in TEST()
331 CHECK(!OneBit2::is_valid(2)); in TEST()
334 CHECK(!EightBit1::is_valid(static_cast<uint32_t>(-1))); in TEST()
335 CHECK(!EightBit2::is_valid(static_cast<uint32_t>(-1))); in TEST()
337 CHECK(EightBit1::is_valid(i)); in TEST()
340 CHECK(EightBit2::is_valid(i)); in TEST()
[all …]
/external/skia/src/core/
DSkMallocPixelRef.cpp18 static bool is_valid(const SkImageInfo& info, SkColorTable* ctable) { in is_valid() function
44 if (!is_valid(info, ctable)) { in NewDirect()
55 if (!is_valid(info, ctable)) { in NewUsing()
109 if (!is_valid(info, ctable)) { in NewWithProc()
124 if (!is_valid(info, ctable)) { in NewWithData()
151 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
174 SkASSERT(is_valid(info, ctable)); in SkMallocPixelRef()
/external/v8/src/
Dsafepoint-table.h23 DCHECK(is_valid()); in SafepointEntry()
26 bool is_valid() const { return bits_ != NULL; } in is_valid() function
38 DCHECK(is_valid()); in deoptimization_index()
58 DCHECK(is_valid()); in argument_count()
63 DCHECK(is_valid()); in has_doubles()
68 DCHECK(is_valid()); in bits()
/external/lldb/include/lldb/Utility/
DCleanUp.h139 is_valid() const in is_valid() function
158 if (is_valid()) in clean()
272 is_valid() const in is_valid() function
291 if (is_valid()) in clean()
/external/marisa-trie/tests/
Dunit-test.cc227 ASSERT(progress.is_valid()); in TestProgress()
252 ASSERT(progress.is_valid()); in TestProgress()
264 ASSERT(progress.is_valid()); in TestProgress()
275 ASSERT(!progress.is_valid()); in TestProgress()
379 ASSERT(array_container.is_valid()); in TestContainer()
388 ASSERT(!array_container2.is_valid()); in TestContainer()
393 ASSERT(vec_container.is_valid()); in TestContainer()
404 ASSERT(vec_container2.is_valid()); in TestContainer()
414 ASSERT(!vec_container3.is_valid()); in TestContainer()
/external/marisa-trie/v0_1_5/tests/
Dunit-test.cc230 ASSERT(progress.is_valid()); in TestProgress()
256 ASSERT(progress.is_valid()); in TestProgress()
268 ASSERT(progress.is_valid()); in TestProgress()
279 ASSERT(!progress.is_valid()); in TestProgress()
383 ASSERT(array_container.is_valid()); in TestContainer()
392 ASSERT(!array_container2.is_valid()); in TestContainer()
397 ASSERT(vec_container.is_valid()); in TestContainer()
408 ASSERT(vec_container2.is_valid()); in TestContainer()
418 ASSERT(!vec_container3.is_valid()); in TestContainer()
/external/v8/src/interpreter/
Dbytecode-peephole-optimizer.cc99 if (current->source_info().is_valid() && in TryToRemoveLastExpressionPosition()
167 return (!last_.source_info().is_valid() || in CanElideLastBasedOnSourcePosition()
168 !current->source_info().is_valid()); in CanElideLastBasedOnSourcePosition()
289 if (current->source_info().is_valid()) { in Optimize()
300 if (last_.source_info().is_valid()) { in Optimize()
/external/vboot_reference/futility/
Dmisc.c141 int is_valid = 0; in print_hwid_digest() local
147 is_valid = 1; in print_hwid_digest()
152 is_valid = 0; in print_hwid_digest()
157 printf(" %s", is_valid ? "valid" : "<invalid>"); in print_hwid_digest()
159 return is_valid; in print_hwid_digest()
/external/v8/src/ast/
Dscopeinfo.h63 DCHECK(ModeField::is_valid(mode)); in Value()
64 DCHECK(InitField::is_valid(init_flag)); in Value()
65 DCHECK(MaybeAssignedField::is_valid(maybe_assigned_flag)); in Value()
66 DCHECK(IndexField::is_valid(index)); in Value()
/external/protobuf/gtest/src/
Dgtest-port.cc239 bool is_valid = true; in ValidateRegex() local
255 is_valid = false; in ValidateRegex()
264 is_valid = false; in ValidateRegex()
268 is_valid = false; in ValidateRegex()
272 is_valid = false; in ValidateRegex()
276 is_valid = false; in ValidateRegex()
283 return is_valid; in ValidateRegex()
/external/mesa3d/src/gtest/src/
Dgtest-port.cc241 bool is_valid = true; in ValidateRegex() local
257 is_valid = false; in ValidateRegex()
266 is_valid = false; in ValidateRegex()
270 is_valid = false; in ValidateRegex()
274 is_valid = false; in ValidateRegex()
278 is_valid = false; in ValidateRegex()
285 return is_valid; in ValidateRegex()
/external/llvm/utils/unittest/googletest/src/
Dgtest-port.cc241 bool is_valid = true; in ValidateRegex() local
257 is_valid = false; in ValidateRegex()
266 is_valid = false; in ValidateRegex()
270 is_valid = false; in ValidateRegex()
274 is_valid = false; in ValidateRegex()
278 is_valid = false; in ValidateRegex()
285 return is_valid; in ValidateRegex()
/external/lldb/source/Host/common/
DSocketAddress.cpp224 const bool is_valid = IsValid(); in SetAddress() local
225 if (!is_valid) in SetAddress()
230 return is_valid; in SetAddress()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-port.cc266 bool is_valid = true; in ValidateRegex() local
282 is_valid = false; in ValidateRegex()
291 is_valid = false; in ValidateRegex()
295 is_valid = false; in ValidateRegex()
299 is_valid = false; in ValidateRegex()
303 is_valid = false; in ValidateRegex()
310 return is_valid; in ValidateRegex()
/external/v8/src/arm/
Dassembler-arm.h121 bool is_valid() const { return 0 <= reg_code && reg_code < kNumRegisters; } in is_valid() function
124 DCHECK(is_valid()); in code()
128 DCHECK(is_valid()); in bit()
133 DCHECK(is_valid()); in set_code()
164 bool is_valid() const { return 0 <= reg_code && reg_code < 32; } in is_valid() function
167 DCHECK(is_valid()); in code()
171 DCHECK(is_valid()); in bit()
179 DCHECK(is_valid()); in split_code()
209 bool is_valid() const { return 0 <= reg_code && reg_code < kMaxNumRegisters; } in is_valid() function
212 DCHECK(is_valid()); in code()
[all …]
/external/wpa_supplicant_8/src/fst/
Dfst_session.c1374 Boolean is_valid; in fst_test_req_send_fst_request() local
1386 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_request()
1387 if (!is_valid) in fst_test_req_send_fst_request()
1426 Boolean is_valid; in fst_test_req_send_fst_response() local
1440 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_fst_response()
1441 if (!is_valid) in fst_test_req_send_fst_response()
1501 Boolean is_valid; in fst_test_req_send_ack_request() local
1510 fsts_id = fst_read_next_int_param(params, &is_valid, &endp); in fst_test_req_send_ack_request()
1511 if (!is_valid) in fst_test_req_send_ack_request()
1529 Boolean is_valid; in fst_test_req_send_ack_response() local
[all …]
/external/v8/src/mips64/
Dassembler-mips64.cc91 DCHECK(reg.is_valid()); in ToNumber()
1001 DCHECK(rd.is_valid() && rs.is_valid() && rt.is_valid() && is_uint5(sa)); in GenInstrRegister()
1014 DCHECK(rs.is_valid() && rt.is_valid() && is_uint5(msb) && is_uint5(lsb)); in GenInstrRegister()
1027 DCHECK(fd.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister()
1040 DCHECK(fd.is_valid() && fr.is_valid() && fs.is_valid() && ft.is_valid()); in GenInstrRegister()
1053 DCHECK(fd.is_valid() && fs.is_valid() && rt.is_valid()); in GenInstrRegister()
1065 DCHECK(fs.is_valid() && rt.is_valid()); in GenInstrRegister()
1077 DCHECK(rs.is_valid() && rt.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate()
1087 DCHECK(rs.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate()
1096 DCHECK(rs.is_valid() && ft.is_valid() && (is_int16(j) || is_uint16(j))); in GenInstrImmediate()
[all …]
/external/marisa-trie/v0_1_5/lib/marisa_alpha/
Dcontainer.h23 bool is_valid() const { in is_valid() function
44 bool is_valid() const { in is_valid() function
/external/marisa-trie/lib/marisa/
Dcontainer.h23 bool is_valid() const { in is_valid() function
44 bool is_valid() const { in is_valid() function

1234567