Home
last modified time | relevance | path

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

/bionic/benchmarks/
Dproperty_benchmark.cpp39 LocalPropertyTestState(int nprops) : nprops(nprops), valid(false) { in LocalPropertyTestState()
107 valid = true; in LocalPropertyTestState()
111 if (!valid) in ~LocalPropertyTestState()
136 bool valid; member
148 if (!pa.valid) return; in BM_property_get()
161 if (!pa.valid) return; in BM_property_find()
173 if (!pa.valid) return; in BM_property_read()
196 if (!pa.valid) return; in BM_property_serial()
/bionic/libc/malloc_debug/
DConfig.cpp336 bool valid = true; in SetFromProperties() local
337 while (valid && parser.Get(&property, &value, &value_set)) { in SetFromProperties()
345 valid = false; in SetFromProperties()
350 if (!valid) { in SetFromProperties()
355 valid = false; in SetFromProperties()
364 if (valid && !found) { in SetFromProperties()
366 valid = false; in SetFromProperties()
371 valid = valid && parser.Done(); in SetFromProperties()
373 if (valid) { in SetFromProperties()
390 return valid; in SetFromProperties()
/bionic/tests/
Dsystem_properties_test.cpp33 LocalPropertyTestState() : valid(false) { in LocalPropertyTestState()
49 valid = true; in LocalPropertyTestState()
53 if (!valid) { in ~LocalPropertyTestState()
63 bool valid; member
118 ASSERT_TRUE(pa.valid); in TEST()
142 ASSERT_TRUE(pa.valid); in TEST()
179 ASSERT_TRUE(pa.valid); in TEST()
224 ASSERT_TRUE(pa.valid); in TEST()
241 ASSERT_TRUE(pa.valid); in TEST()
265 ASSERT_TRUE(pa.valid); in TEST()
[all …]
Dwchar_test.cpp344 const char* valid = "A" "\xc2\xa2" "\xe2\x82\xac" "\xf0\xa4\xad\xa2" "ef"; in test_mbsrtowcs() local
345 ASSERT_EQ(4U, mbsrtowcs(out, &valid, 4, ps)); in test_mbsrtowcs()
351 ASSERT_EQ('e', *valid); in test_mbsrtowcs()
354 ASSERT_EQ(2U, mbsrtowcs(out, &valid, 4, ps)); in test_mbsrtowcs()
361 ASSERT_EQ(nullptr, valid); in test_mbsrtowcs()
/bionic/libc/arch-x86_64/bionic/
Dsyscall.S45 # (Not all will be valid, depending on the syscall.)
/bionic/libc/arch-x86/bionic/
Dsyscall.S37 # (Not all will be valid, depending on the syscall.)
/bionic/libc/kernel/uapi/drm/
Dnouveau_drm.h56 uint32_t valid; member
/bionic/libc/kernel/uapi/rdma/
Drdma_user_cm.h184 __u8 valid; member
/bionic/libc/kernel/uapi/linux/
Dcdrom.h537 __u8 valid : 1; member
542 __u8 valid : 1;
Dfuse.h270 uint32_t valid; member
Dethtool.h435 __u32 valid; member
Dkvm.h372 __u8 valid; member