/frameworks/native/libs/vr/libpdx/ |
D | status_tests.cpp | 13 EXPECT_TRUE(status.empty()); in TEST() 20 EXPECT_FALSE(status_int.empty()); in TEST() 24 EXPECT_FALSE(status_int.empty()); in TEST() 28 EXPECT_FALSE(status_int.empty()); in TEST() 33 EXPECT_FALSE(status_str.empty()); in TEST() 40 EXPECT_FALSE(status_int.empty()); in TEST() 46 EXPECT_FALSE(status_str.empty()); in TEST() 65 EXPECT_FALSE(status1.empty()); in TEST() 66 EXPECT_FALSE(status2.empty()); in TEST() 75 EXPECT_FALSE(status1.empty()); in TEST() [all …]
|
/frameworks/native/services/inputflinger/tests/ |
D | TestInputListener.cpp | 32 ASSERT_FALSE(mNotifyConfigurationChangedArgsQueue.empty()) in assertNotifyConfigurationChangedWasCalled() 41 ASSERT_TRUE(mNotifyConfigurationChangedArgsQueue.empty()) in assertNotifyConfigurationChangedWasNotCalled() 47 ASSERT_FALSE(mNotifyDeviceResetArgsQueue.empty()) in assertNotifyDeviceResetWasCalled() 56 ASSERT_TRUE(mNotifyDeviceResetArgsQueue.empty()) in assertNotifyDeviceResetWasNotCalled() 61 ASSERT_FALSE(mNotifyKeyArgsQueue.empty()) << "Expected notifyKey() to have been called."; in assertNotifyKeyWasCalled() 69 ASSERT_TRUE(mNotifyKeyArgsQueue.empty()) << "Expected notifyKey() to not have been called."; in assertNotifyKeyWasNotCalled() 73 ASSERT_FALSE(mNotifyMotionArgsQueue.empty()) << "Expected notifyMotion() to have been called."; in assertNotifyMotionWasCalled() 81 ASSERT_TRUE(mNotifyMotionArgsQueue.empty()) in assertNotifyMotionWasNotCalled() 86 ASSERT_FALSE(mNotifySwitchArgsQueue.empty()) in assertNotifySwitchWasCalled()
|
/frameworks/native/libs/binder/tests/ |
D | binderValueTypeTest.cpp | 41 ASSERT_FALSE(value.empty()); \ 49 ASSERT_TRUE(value.empty()); \ 62 ASSERT_FALSE(value.empty()); \ 70 ASSERT_TRUE(value.empty()); \ 92 ASSERT_TRUE(value.empty()); in VALUE_TYPE_TEST() 94 ASSERT_FALSE(value.empty()); in VALUE_TYPE_TEST() 96 ASSERT_TRUE(value.empty()); in VALUE_TYPE_TEST() 103 ASSERT_FALSE(value_a.empty()); in TEST() 104 ASSERT_TRUE(value_b.empty()); in TEST() 106 ASSERT_FALSE(value_b.empty()); in TEST() [all …]
|
/frameworks/base/libs/hwui/tests/unit/ |
D | MatrixTests.cpp | 31 Rect empty(15, 20, 15, 100); in TEST() local 32 ASSERT_TRUE(empty.isEmpty()); in TEST() 33 scaleMatrix.mapRect(empty); in TEST() 34 EXPECT_EQ(Rect(170, 215, 250, 1015), empty); in TEST() 35 EXPECT_FALSE(empty.isEmpty()) << "Empty 'line' rect doesn't remain empty when skewed."; in TEST()
|
/frameworks/base/cmds/statsd/src/metrics/duration_helper/ |
D | OringDurationTracker.cpp | 103 if (mStarted.empty()) { in noteStop() 119 if (mStarted.empty()) { in noteStop() 125 if (!mStarted.empty()) { in noteStopAll() 206 return mStarted.empty() && mPaused.empty(); in flushCurrentBucket() 221 if (!mStarted.empty()) { in onSlicedConditionMayChange() 249 if (mStarted.empty()) { in onSlicedConditionMayChange() 257 if (!mPaused.empty()) { in onSlicedConditionMayChange() 284 if (mStarted.empty() && pausedToStarted.size() > 0) { in onSlicedConditionMayChange() 289 if (mStarted.empty() && !pausedToStarted.empty()) { in onSlicedConditionMayChange() 295 if (mStarted.empty()) { in onSlicedConditionMayChange() [all …]
|
/frameworks/native/libs/vr/libpdx/private/pdx/ |
D | status.h | 58 T empty; variable 59 std::swap(other.value_, empty); 70 T empty; in SetError() local 71 std::swap(value_, empty); in SetError() 78 if (!other.ok() && !other.empty()) { in PropagateError() 90 bool empty() const { return error_ < 0; } in empty() function 148 if (!other.ok() && !other.empty()) { in PropagateError() 156 bool empty() const { return false; } in empty() function
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/internal/ |
D | expecting_objectwriter.h | 94 (name.empty() in StartObject() 110 (name.empty() in StartList() 126 (name.empty() in RenderBool() 136 (name.empty() in RenderInt32() 146 (name.empty() in RenderUint32() 156 (name.empty() in RenderInt64() 166 (name.empty() in RenderUint64() 176 (name.empty() in RenderDouble() 187 (name.empty() in RenderFloat() 198 (name.empty() in RenderString() [all …]
|
D | json_stream_parser.cc | 81 if (input->empty() || !IsLetter((*input)[0])) return false; in ConsumeKey() 94 return !input.empty() && IsLetter(input[0]); in MatchKey() 124 if (!leftover_.empty()) { in Parse() 150 if (stack_.empty() && leftover_.empty()) { in FinishParse() 173 if (!p_.empty()) { in FinishParse() 182 if (chunk.empty()) return util::Status::OK; in ParseChunk() 191 if (p_.empty()) { in ParseChunk() 197 if (stack_.empty()) { in ParseChunk() 208 while (!stack_.empty()) { in RunParser() 249 if (!key_.empty() && key_storage_.empty()) { in RunParser() [all …]
|
D | field_mask_utility.cc | 54 if (prefix.empty()) { in AppendPathSegmentToPrefix() 57 if (segment.empty()) { in AppendPathSegmentToPrefix() 184 string current_prefix = prefix.empty() ? "" : prefix.top(); in DecodeCompactFieldMaskPaths() 189 } else if (!segment.empty()) { in DecodeCompactFieldMaskPaths() 199 if (prefix.empty()) { in DecodeCompactFieldMaskPaths() 214 if (!prefix.empty()) { in DecodeCompactFieldMaskPaths()
|
/frameworks/compile/mclinker/unittests/ |
D | FactoriesTest.cpp | 42 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 45 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 48 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 112 ASSERT_TRUE(delegatee->empty()); in TEST_F() 138 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 148 ASSERT_TRUE(delegatee->empty()); in TEST_F() 162 ASSERT_FALSE(m_pNodeAlloc->empty()); in TEST_F() 170 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() 184 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() 202 ASSERT_FALSE(m_pFileAlloc->empty()); in TEST_F() [all …]
|
/frameworks/native/vulkan/vkjson/ |
D | vkjson_info.cc | 75 !options->device_name.empty())) { in ParseOptions() 80 if (options->device_index != unsignedNegOne && !options->device_name.empty()) { in ParseOptions() 85 if (options->instance && options->output_file.empty()) { in ParseOptions() 90 if (!options->output_file.empty() && !options->instance && in ParseOptions() 91 options->device_index == unsignedNegOne && options->device_name.empty()) { in ParseOptions() 111 } else if (!options.device_name.empty()) { in Dump() 125 if (options.output_file.empty()) { in Dump() 174 !options.device_name.empty()) { in main()
|
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/ |
D | CameraTooTest.java | 57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); in compareSizesByArea() local 62 assertComparatorEq(empty, fatAndFlat, rel); in compareSizesByArea() 63 assertComparatorEq(empty, tallAndThin, rel); in compareSizesByArea() 64 assertComparatorEq(fatAndFlat, empty, rel); in compareSizesByArea() 66 assertComparatorEq(tallAndThin, empty, rel); in compareSizesByArea() 76 assertComparatorLt(empty, smallSquare, rel); in compareSizesByArea() 77 assertComparatorLt(empty, horizRect, rel); in compareSizesByArea() 78 assertComparatorLt(empty, vertRect, rel); in compareSizesByArea() 88 assertComparatorLt(empty, largeSquare, rel); in compareSizesByArea() 104 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100); in chooseBigEnoughSize() local [all …]
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 92 if ((name.empty() && !mediaType.empty()) || (!name.empty() && mediaType.empty())) { in main() 97 if (!name.empty() && fileOut != NULL) { in main() 102 int32_t sampleRate = !name.empty() ? 44100 : outputWBAMR ? 16000 : 8000; in main() 121 if (name.empty()) { in main()
|
/frameworks/minikin/tests/unittest/ |
D | StringPieceTest.cpp | 28 EXPECT_TRUE(s.empty()); in TEST() 34 EXPECT_TRUE(s.empty()); in TEST() 40 EXPECT_TRUE(s.empty()); in TEST() 46 EXPECT_FALSE(s.empty()); in TEST() 54 EXPECT_FALSE(s.empty()); in TEST() 62 EXPECT_FALSE(s.empty()); in TEST() 71 EXPECT_FALSE(s.empty()); in TEST() 80 EXPECT_FALSE(s.empty()); in TEST()
|
D | CmapCoverageTest.cpp | 155 if (defaultUVSRanges.empty()) { in getDefaultUVSAsBinary() 176 if (nonDefaultUVS.empty()) { in getNonDefaultUVSAsBinary() 211 if (defaultUVS.empty()) { in buildCmapFormat14Table() 219 if (nonDefaultUVS.empty()) { in buildCmapFormat14Table() 297 EXPECT_TRUE(vsTables.empty()); in TEST() 307 EXPECT_TRUE(vsTables.empty()); in TEST() 317 EXPECT_TRUE(vsTables.empty()); in TEST() 326 EXPECT_TRUE(vsTables.empty()); in TEST() 335 EXPECT_TRUE(vsTables.empty()); in TEST() 358 EXPECT_TRUE(vsTables.empty()); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/util/ |
D | field_mask_util.cc | 50 if (paths[i].empty()) continue; in FromString() 121 if (paths[i].empty()) continue; in FromJsonString() 197 if (root_.children.empty()) { in MergeMessage() 206 if (root_.children.empty()) { in TrimMessage() 269 if (node->children.empty()) { in MergeToFieldMask() 270 if (prefix.empty()) { in MergeToFieldMask() 279 string current_path = prefix.empty() ? it->first : prefix + "." + it->first; in MergeToFieldMask() 286 if (parts.empty()) { in AddPath() 292 if (!new_branch && node != &root_ && node->children.empty()) { in AddPath() 306 if (!node->children.empty()) { in AddPath() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | Serializer.cpp | 337 if (!mode.empty()) { in deserialize() 342 if (!channelsLiteral.empty()) { in deserialize() 348 if (!minValueMBLiteral.empty() && convertTo(minValueMBLiteral, minValueMB)) { in deserialize() 354 if (!maxValueMBLiteral.empty() && convertTo(maxValueMBLiteral, maxValueMB)) { in deserialize() 360 if (!defaultValueMBLiteral.empty() && convertTo(defaultValueMBLiteral, defaultValueMB)) { in deserialize() 366 if (!stepValueMBLiteral.empty() && convertTo(stepValueMBLiteral, stepValueMB)) { in deserialize() 372 if (!minRampMsLiteral.empty() && convertTo(minRampMsLiteral, minRampMs)) { in deserialize() 378 if (!maxRampMsLiteral.empty() && convertTo(maxRampMsLiteral, maxRampMs)) { in deserialize() 383 if (!useForVolumeLiteral.empty() && convertTo(useForVolumeLiteral, useForVolume)) { in deserialize() 419 if (name.empty()) { in deserialize() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/ |
D | command_line_interface.cc | 154 if (!path->empty() && path->at(path->size() - 1) != '/') { in AddTrailingSlash() 160 if (path.empty()) return true; in VerifyDirectoryExists() 597 if (insertion_point_.empty()) { in ~MemoryOutputStream() 616 if (!data_.empty() && data_[data_.size() - 1] != '\n') { in ~MemoryOutputStream() 664 if (indent_.empty()) { in ~MemoryOutputStream() 838 if (!dependency_out_name_.empty()) { in Run() 847 if (!descriptor_set_name_.empty()) { in Run() 854 if (codec_type_.empty()) { in Run() 990 if (proto_path_.empty()) { in ParseArguments() 998 bool decoding_raw = (mode_ == MODE_DECODE) && codec_type_.empty(); in ParseArguments() [all …]
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | OperationManager.cpp | 31 return vec.empty() || std::count(vec.begin(), vec.end(), val) > 0; in hasValue() 44 if (combinedDataTypes.empty()) return false; in matchFilter() 52 if (combinedRanks.empty()) return false; in matchFilter() 75 NN_FUZZER_CHECK(!mFilteredSignatures.empty()); in getRandomOperation()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/ |
D | repeated_field_reflection_unittest.cc | 268 EXPECT_FALSE(rf_int32.empty()); in TEST() 269 EXPECT_FALSE(mrf_int32.empty()); in TEST() 270 EXPECT_FALSE(rf_double.empty()); in TEST() 271 EXPECT_FALSE(mrf_double.empty()); in TEST() 272 EXPECT_FALSE(rf_string.empty()); in TEST() 273 EXPECT_FALSE(mrf_string.empty()); in TEST() 274 EXPECT_FALSE(rf_foreign_message.empty()); in TEST() 275 EXPECT_FALSE(mrf_foreign_message.empty()); in TEST() 276 EXPECT_FALSE(rf_message.empty()); in TEST() 277 EXPECT_FALSE(mrf_message.empty()); in TEST() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/java/ |
D | java_doc_comment.cc | 107 string comments = location.leading_comments.empty() ? in WriteDocCommentBodyForLocation() 109 if (!comments.empty()) { in WriteDocCommentBodyForLocation() 119 while (!lines.empty() && lines.back().empty()) { in WriteDocCommentBodyForLocation() 128 if (!lines[i].empty() && lines[i][0] == '/') { in WriteDocCommentBodyForLocation() 158 if (!result.empty() && result[result.size() - 1] == '{') { in FirstLineOf()
|
/frameworks/compile/mclinker/lib/MC/ |
D | SymbolCategory.cpp | 77 if (!current->empty()) { in add() 118 if (!current->empty()) { in arrange() 130 if (current->end == pos || current->empty()) { in arrange() 257 bool SymbolCategory::empty() const { in empty() function in mcld::SymbolCategory 258 return m_OutputSymbols.empty(); in empty() 262 return m_pFile->empty(); in emptyFiles() 266 return m_pLocal->empty(); in emptyLocals() 270 return m_pLocalDyn->empty(); in emptyLocalDyns() 274 return m_pCommon->empty(); in emptyCommons() 278 return m_pDynamic->empty(); in emptyDynamics() [all …]
|
/frameworks/rs/script_api/ |
D | GenerateHeaderFiles.cpp | 87 if (briefComment.empty() && comment.size() == 0) { in writeComment() 91 if (!briefComment.empty()) { in writeComment() 102 if (!s.empty()) { in writeComment() 148 if (!name.empty()) { in writeTypeSpecification() 161 if (valueComments.size() > i && !valueComments[i].empty()) { in writeTypeSpecification() 172 if (!name.empty()) { in writeTypeSpecification() 181 if (fieldComments.size() > i && !fieldComments[i].empty()) { in writeTypeSpecification() 243 if (!p->specName.empty() && p->rsType != "...") { in writeFunctionPermutation() 268 if (inlineCodeLines[ct].empty()) { in writeFunctionPermutation() 293 if (!p->documentation.empty()) { in writeFunctionComment() [all …]
|
/frameworks/compile/mclinker/lib/Script/ |
D | ScriptFile.cpp | 89 assert(!m_CommandQueue.empty()); in addEntryPoint() 148 assert(!m_CommandQueue.empty()); in addAssignment() 151 assert(!sections->empty()); in addAssignment() 188 assert(!m_CommandQueue.empty()); in enterOutputSectDesc() 197 assert(!m_CommandQueue.empty()); in leaveOutputSectDesc() 201 assert(!sections->empty() && m_bInOutputSectDesc); in leaveOutputSectDesc() 210 assert(!m_CommandQueue.empty()); in addInputSectDesc() 214 assert(!sections->empty() && m_bInOutputSectDesc); in addInputSectDesc()
|
/frameworks/compile/mclinker/lib/Core/ |
D | LinkerScript.cpp | 31 return !sysroot().empty(); in hasSysroot() 43 return !m_Entry.empty(); in hasEntry() 55 return !m_OutputFile.empty(); in hasOutputFile()
|