/external/flac/src/libFLAC++/ |
D | metadata.cpp | 135 FLAC__ASSERT(object.is_valid()); in Prototype() 172 FLAC__ASSERT(object.is_valid()); in operator =() 207 FLAC__ASSERT(is_valid()); in get_is_last() 213 FLAC__ASSERT(is_valid()); in get_type() 219 FLAC__ASSERT(is_valid()); in get_length() 225 FLAC__ASSERT(is_valid()); in set_is_last() 243 FLAC__ASSERT(is_valid()); in get_min_blocksize() 249 FLAC__ASSERT(is_valid()); in get_max_blocksize() 255 FLAC__ASSERT(is_valid()); in get_min_framesize() 261 FLAC__ASSERT(is_valid()); in get_max_framesize() [all …]
|
D | stream_encoder.cpp | 67 bool Stream::is_valid() const in is_valid() function in FLAC::Encoder::Stream 74 FLAC__ASSERT(is_valid()); in set_ogg_serial_number() 80 FLAC__ASSERT(is_valid()); in set_verify() 86 FLAC__ASSERT(is_valid()); in set_streamable_subset() 92 FLAC__ASSERT(is_valid()); in set_channels() 98 FLAC__ASSERT(is_valid()); in set_bits_per_sample() 104 FLAC__ASSERT(is_valid()); in set_sample_rate() 110 FLAC__ASSERT(is_valid()); in set_compression_level() 116 FLAC__ASSERT(is_valid()); in set_blocksize() 122 FLAC__ASSERT(is_valid()); in set_do_mid_side_stereo() [all …]
|
D | stream_decoder.cpp | 66 bool Stream::is_valid() const in is_valid() function in FLAC::Decoder::Stream 73 FLAC__ASSERT(is_valid()); in set_ogg_serial_number() 79 FLAC__ASSERT(is_valid()); in set_md5_checking() 85 FLAC__ASSERT(is_valid()); in set_metadata_respond() 91 FLAC__ASSERT(is_valid()); in set_metadata_respond_application() 97 FLAC__ASSERT(is_valid()); in set_metadata_respond_all() 103 FLAC__ASSERT(is_valid()); in set_metadata_ignore() 109 FLAC__ASSERT(is_valid()); in set_metadata_ignore_application() 115 FLAC__ASSERT(is_valid()); in set_metadata_ignore_all() 121 FLAC__ASSERT(is_valid()); in get_state() [all …]
|
/external/rust/crates/vmm_vhost/src/vhost_user/ |
D | message.rs | 45 fn is_valid(&self) -> bool; in is_valid() method 150 fn is_valid(&self) -> bool { in is_valid() method 190 fn is_valid(&self) -> bool { in is_valid() method 200 fn is_valid(&self) -> bool { in is_valid() method 327 fn is_valid(&self) -> bool { in is_valid() method 328 if !self.get_code().is_valid() { in is_valid() 430 fn is_valid(&self) -> bool { in is_valid() method 467 fn is_valid(&self) -> bool { in is_valid() method 513 fn is_valid(&self) -> bool { in is_valid() method 609 fn is_valid(&self) -> bool { in is_valid() method [all …]
|
/external/autotest/server/ |
D | server_job_unittest.py | 81 self.assertEqual(manager.is_valid(10, "MSGTYPE"), True) 87 self.assertEqual(manager.is_valid(20, "MSGTYPE"), True) 93 self.assertEqual(manager.is_valid(5, "MSGTYPE"), True) 94 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 101 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 102 self.assertEqual(manager.is_valid(25, "MSGTYPE"), True) 107 self.assertEqual(manager.is_valid(15, "MSGTYPE"), True) 109 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 117 self.assertEqual(manager.is_valid(15, "MSGTYPE"), False) 118 self.assertEqual(manager.is_valid(25, "MSGTYPE"), False) [all …]
|
/external/libchrome/ipc/ |
D | ipc_mojo_param_traits.cc | 15 WriteParam(m, p.is_valid()); in Write() 16 if (p.is_valid()) in Write() 23 bool is_valid; in Read() local 24 if (!ReadParam(m, iter, &is_valid)) in Read() 26 if (!is_valid) in Read() 32 DCHECK(handle.is_valid()); in Read() 46 WriteParam(m, p.is_valid()); in Write() 47 if (!p.is_valid()) in Write() 57 bool is_valid; in Read() local 58 if (!ReadParam(m, iter, &is_valid)) in Read() [all …]
|
/external/libchrome/mojo/public/cpp/system/tests/ |
D | core_unittest.cc | 44 EXPECT_FALSE(h0.is_valid()); in TEST() 49 EXPECT_TRUE(h1.is_valid()); in TEST() 52 EXPECT_TRUE(h1.is_valid()); in TEST() 56 EXPECT_TRUE(h0.is_valid()); in TEST() 57 EXPECT_FALSE(h1.is_valid()); in TEST() 62 EXPECT_TRUE(h0.is_valid()); in TEST() 64 EXPECT_TRUE(h1.is_valid()); in TEST() 126 EXPECT_FALSE(MakeScopedHandle(Handle()).is_valid()); in TEST() 127 EXPECT_FALSE(MakeScopedHandle(MessagePipeHandle()).is_valid()); in TEST() 128 EXPECT_FALSE(MakeScopedHandle(DataPipeProducerHandle()).is_valid()); in TEST() [all …]
|
/external/flac/src/test_libFLAC++/ |
D | metadata_object.cpp | 258 if(!block.is_valid()) in test_metadata_object_streaminfo() 271 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 285 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 296 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 307 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 319 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 331 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 344 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 355 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() 366 if(!blockcopy.is_valid()) in test_metadata_object_streaminfo() [all …]
|
/external/llvm-project/lldb/source/API/ |
D | SBProcessInfo.cpp | 115 bool is_valid = false; in UserIDIsValid() local 117 is_valid = m_opaque_up->UserIDIsValid(); in UserIDIsValid() 119 return is_valid; in UserIDIsValid() 125 bool is_valid = false; in GroupIDIsValid() local 127 is_valid = m_opaque_up->GroupIDIsValid(); in GroupIDIsValid() 129 return is_valid; in GroupIDIsValid() 155 bool is_valid = false; in EffectiveUserIDIsValid() local 157 is_valid = m_opaque_up->EffectiveUserIDIsValid(); in EffectiveUserIDIsValid() 159 return is_valid; in EffectiveUserIDIsValid() 165 bool is_valid = false; in EffectiveGroupIDIsValid() local [all …]
|
/external/libbrillo/brillo/files/ |
D | safe_fd_test.cc | 20 EXPECT_FALSE(SafeFD().is_valid()); in TEST_F() 25 EXPECT_FALSE(root_.is_valid()); in TEST_F() 26 ASSERT_TRUE(moved_root.is_valid()); in TEST_F() 29 EXPECT_FALSE(moved_root.is_valid()); in TEST_F() 30 ASSERT_TRUE(moved_root2.is_valid()); in TEST_F() 35 EXPECT_TRUE(result.first.is_valid()); in TEST_F() 41 EXPECT_FALSE(root_.is_valid()); in TEST_F() 68 ASSERT_TRUE(file.first.is_valid()); in TEST_F() 80 ASSERT_FALSE(invalid.is_valid()); in TEST_F() 94 ASSERT_TRUE(file.first.is_valid()); in TEST_F() [all …]
|
D | file_util_test.cc | 68 CHECK(root_.is_valid()); in FileTest() 158 ASSERT_TRUE(dir.is_valid()); in TEST_F() 163 EXPECT_TRUE(subdir.is_valid()); in TEST_F() 173 ASSERT_TRUE(dir.is_valid()); in TEST_F() 178 EXPECT_TRUE(subdir.is_valid()); in TEST_F() 187 ASSERT_TRUE(dir.is_valid()); in TEST_F() 192 EXPECT_FALSE(subdir.is_valid()); in TEST_F() 195 EXPECT_FALSE(subdir.is_valid()); in TEST_F() 198 EXPECT_FALSE(subdir.is_valid()); in TEST_F() 208 EXPECT_FALSE(subdir.is_valid()); in TEST_F() [all …]
|
D | safe_fd.cc | 49 if (!fd.is_valid()) { in OpenPathComponentInternal() 116 if (!child_fd.first.is_valid()) { in OpenSafelyInternal() 185 if (!root.first.is_valid()) { in Root() 200 bool SafeFD::is_valid() const { in is_valid() function in brillo::SafeFD 201 return fd_.is_valid(); in is_valid() 213 if (!fd_.is_valid()) { in Write() 232 if (!fd_.is_valid()) { in ReadContents() 256 if (!fd_.is_valid()) { in Read() 269 if (!fd_.is_valid()) { in OpenExistingFile() 278 if (!fd_.is_valid()) { in OpenExistingDir() [all …]
|
/external/image_io/includes/image_io/base/ |
D | types.h | 21 explicit ValidatedByte(Byte value_arg) : value(value_arg), is_valid(true) {} in ValidatedByte() 25 bool is_valid; member 30 return lhs.value == rhs.value && lhs.is_valid == rhs.is_valid; 35 return lhs.value != rhs.value || lhs.is_valid != rhs.is_valid; 41 invalid_byte.is_valid = false; in InvalidByte()
|
/external/openscreen/util/ |
D | url_unittest.cc | 26 EXPECT_TRUE(Url(valid_cases[i]).is_valid()) << "Case: " << valid_cases[i]; in TEST() 37 EXPECT_FALSE(Url(invalid_cases[i]).is_valid()) in TEST() 45 EXPECT_TRUE(url.is_valid()); in TEST() 62 EXPECT_TRUE(url1.is_valid()); in TEST() 74 EXPECT_TRUE(url2.is_valid()); in TEST() 91 EXPECT_FALSE(url1.is_valid()); in TEST() 93 EXPECT_TRUE(url2.is_valid()); in TEST() 113 EXPECT_TRUE(url1.is_valid()); in TEST() 125 EXPECT_TRUE(url2.is_valid()); in TEST() 139 EXPECT_FALSE(url1.is_valid()); in TEST() [all …]
|
/external/icing/icing/file/ |
D | destructible-file_test.cc | 34 ASSERT_TRUE(sfd.is_valid()); in TEST() 42 ASSERT_TRUE(destructible.is_valid()); in TEST() 56 ASSERT_TRUE(destructible1.is_valid()); in TEST() 63 ASSERT_TRUE(destructible2.is_valid()); in TEST() 89 ASSERT_TRUE(destructible2.is_valid()); in TEST() 100 ASSERT_TRUE(destructible1->is_valid()); in TEST() 106 ASSERT_TRUE(destructible3.is_valid()); in TEST()
|
/external/libchrome/mojo/core/ |
D | platform_handle_dispatcher_unittest.cc | 38 ASSERT_TRUE(h.is_valid()); in TEST() 42 EXPECT_FALSE(h.is_valid()); in TEST() 46 EXPECT_TRUE(h.is_valid()); in TEST() 49 EXPECT_FALSE(h.is_valid()); in TEST() 60 EXPECT_FALSE(internal_handle.is_valid()); in TEST() 95 EXPECT_TRUE(received_handle.is_valid()); in TEST() 98 EXPECT_FALSE(handle.is_valid()); in TEST() 108 EXPECT_FALSE(received_handle.is_valid()); in TEST()
|
D | platform_handle_in_transit.cc | 41 DCHECK(process.is_valid()); in CloseHandleInProcess() 73 if (!owning_process_.is_valid()) { in ~PlatformHandleInTransit() 85 if (owning_process_.is_valid()) { in operator =() 102 DCHECK(!owning_process_.is_valid()); in TakeHandle() 116 DCHECK(target_process.is_valid()); in TransferToProcess() 117 DCHECK(!owning_process_.is_valid()); in TransferToProcess() 118 DCHECK(handle_.is_valid()); in TransferToProcess()
|
/external/minijail/ |
D | system_unittest.cc | 83 if (!is_valid()) in ~TemporaryDir() 88 bool is_valid() const { return !path.empty(); } in is_valid() function in __anon9badad6c0111::TemporaryDir 109 if (!is_valid()) in ~TemporaryFile() 114 bool is_valid() const { return !path.empty(); } in is_valid() function in __anon9badad6c0111::TemporaryFile 168 ASSERT_TRUE(tmp.is_valid()); in TEST() 193 ASSERT_TRUE(dir.is_valid()); in TEST() 233 ASSERT_TRUE(dir.is_valid()); in TEST() 261 ASSERT_TRUE(dir.is_valid()); in TEST() 294 ASSERT_TRUE(dir.is_valid()); in TEST() 307 ASSERT_TRUE(dir.is_valid()); in TEST() [all …]
|
/external/rust/crates/which/src/ |
D | checker.rs | 21 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 28 fn is_valid(&self, _path: &Path) -> bool { in is_valid() method 43 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 53 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 78 fn is_valid(&self, path: &Path) -> bool { in is_valid() method 79 self.checkers.iter().all(|checker| checker.is_valid(path)) in is_valid()
|
/external/libchrome/base/numerics/ |
D | checked_math.h | 56 return state_.is_valid() && in IsValid() 176 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max() 191 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min() 200 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs() 233 bool is_valid = in MathOp() local 234 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp() 236 return CheckedNumeric<T>(result, is_valid); in MathOp() 244 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && in MathOp() local 246 *this = CheckedNumeric<T>(result, is_valid); in MathOp() 260 constexpr CheckedNumeric(Src value, bool is_valid) in CheckedNumeric() argument [all …]
|
/external/drm_hwcomposer/include/ |
D | DrmFramebuffer.h | 35 bool is_valid() { in is_valid() function 54 if (is_valid()) { in Allocate() 70 return is_valid(); in Allocate() 74 if (!is_valid()) in Clear() 86 if (!is_valid()) in WaitReleased()
|
/external/llvm-project/lldb/examples/summaries/cocoa/ |
D | objc_runtime.py | 101 if class_data.is_valid() == 0: 107 if class_data.is_valid() == 0: 159 def is_valid(self): member in RoT_Data 164 if self.is_valid() == 0: 220 def is_valid(self): member in RwT_Data 223 return self.data.is_valid() 326 if self.is_valid(): 337 if self.is_valid(): 342 if self.is_valid(): 351 if self.is_valid(): [all …]
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | associated_interface_ptr_info.h | 46 bool is_valid() const { return handle_.is_valid(); } in is_valid() function 48 explicit operator bool() const { return handle_.is_valid(); } 67 return !is_valid() && !other.is_valid(); in Equals()
|
/external/pdfium/third_party/base/numerics/ |
D | safe_math.h | 133 return state_.is_valid() && in IsValid() 242 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Max() 257 state_.is_valid() && Wrapper<U>::is_valid(rhs)); in Min() 266 SafeUnsignedAbs(state_.value()), state_.is_valid()); in UnsignedAbs() 299 bool is_valid = in MathOp() local 300 Wrapper<L>::is_valid(lhs) && Wrapper<R>::is_valid(rhs) && in MathOp() 302 return CheckedNumeric<T>(result, is_valid); in MathOp() 310 bool is_valid = state_.is_valid() && Wrapper<R>::is_valid(rhs) && in MathOp() local 312 *this = CheckedNumeric<T>(result, is_valid); in MathOp() 320 constexpr CheckedNumeric(Src value, bool is_valid) in CheckedNumeric() argument [all …]
|
/external/libchrome/mojo/public/cpp/platform/ |
D | platform_handle.h | 101 bool is_valid() const { return is_valid_handle(); } in COMPONENT_EXPORT() 116 bool is_valid() const { return is_valid_fd() || is_valid_handle(); } in COMPONENT_EXPORT() 117 bool is_valid_handle() const { return handle_.is_valid(); } in COMPONENT_EXPORT() 131 bool is_valid() const { return is_valid_fd() || is_valid_mach_port(); } in COMPONENT_EXPORT() 132 bool is_valid_mach_port() const { return mach_port_.is_valid(); } in COMPONENT_EXPORT() 148 bool is_valid() const { return is_valid_fd(); } in COMPONENT_EXPORT() 154 bool is_valid_fd() const { return fd_.is_valid(); } in COMPONENT_EXPORT()
|