Searched refs:empty (Results 1 - 25 of 473) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/tests/unit/
H A DMatrixTests.cpp30 // non-zero empty rect, so sorting x/y would make rect non-empty
31 Rect empty(15, 20, 15, 100);
32 ASSERT_TRUE(empty.isEmpty());
33 scaleMatrix.mapRect(empty);
34 EXPECT_EQ(Rect(170, 215, 250, 1015), empty);
35 EXPECT_FALSE(empty.isEmpty())
36 << "Empty 'line' rect doesn't remain empty when skewed.";
44 // non-zero empty rect, so sorting x/y would make rect non-empty
[all...]
H A DSkiaDisplayListTests.cpp50 ASSERT_FALSE(skiaDL.mChildNodes.empty());
51 ASSERT_FALSE(skiaDL.mChildFunctors.empty());
52 ASSERT_FALSE(skiaDL.mMutableImages.empty());
53 ASSERT_FALSE(skiaDL.mVectorDrawables.empty());
59 ASSERT_TRUE(skiaDL.mChildNodes.empty());
60 ASSERT_TRUE(skiaDL.mChildFunctors.empty());
61 ASSERT_TRUE(skiaDL.mMutableImages.empty());
62 ASSERT_TRUE(skiaDL.mVectorDrawables.empty());
/frameworks/native/libs/vr/libpdx/
H A Dstatus_tests.cpp11 EXPECT_TRUE(status.empty());
18 EXPECT_FALSE(status_int.empty());
22 EXPECT_FALSE(status_int.empty());
26 EXPECT_FALSE(status_int.empty());
31 EXPECT_FALSE(status_str.empty());
38 EXPECT_FALSE(status_int.empty());
44 EXPECT_FALSE(status_str.empty());
63 EXPECT_FALSE(status1.empty());
64 EXPECT_FALSE(status2.empty());
73 EXPECT_FALSE(status1.empty());
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DLinkerScript.cpp31 return !sysroot().empty();
43 return !m_Entry.empty();
55 return !m_OutputFile.empty();
/frameworks/compile/mclinker/include/mcld/Target/
H A DOutputRelocSection.h42 bool empty() { return m_pRelocData->empty(); } function in class:mcld::OutputRelocSection
/frameworks/native/libs/binder/tests/
H A DbinderValueTypeTest.cpp42 ASSERT_FALSE(value.empty()); \
50 ASSERT_TRUE(value.empty()); \
63 ASSERT_FALSE(value.empty()); \
71 ASSERT_TRUE(value.empty()); \
93 ASSERT_TRUE(value.empty());
95 ASSERT_FALSE(value.empty());
97 ASSERT_TRUE(value.empty());
104 ASSERT_FALSE(value_a.empty());
105 ASSERT_TRUE(value_b.empty());
107 ASSERT_FALSE(value_b.empty());
[all...]
/frameworks/base/libs/androidfw/
H A DResourceUtils.cpp44 return !(has_package_separator && out_package->empty()) &&
45 !(has_type_separator && out_type->empty());
/frameworks/native/libs/ui/
H A DGraphicsEnv.cpp39 if (!mDriverPath.empty()) {
51 if (mDriverPath.empty())
/frameworks/native/libs/vr/libpdx/private/pdx/
H A Dstatus.h28 // Default constructor so an empty Status object can be created.
41 // Copy/move constructors. Move constructor leaves |other| object in empty
55 T empty; local
56 std::swap(other.value_, empty);
67 T empty; local
68 std::swap(value_, empty);
75 if (!other.ok() && !other.empty()) {
83 // This means, the object is not empty and does not contain an error code.
86 // Checks if the object is empty (doesn't contain a valid value nor an error).
87 bool empty() cons function in class:android::pdx::Status
153 bool empty() const { return false; } function in class:android::pdx::Status
[all...]
/frameworks/native/cmds/installd/
H A Dfile_parsing.h39 // Is the line empty? Simplifies the next check.
40 if (line.empty()) {
/frameworks/av/media/libstagefright/webm/
H A DLinkedBlockingQueue.h34 while (mList.empty()) {
53 bool empty() { function in class:android::LinkedBlockingQueue
55 return mList.empty();
/frameworks/base/tools/aapt2/java/
H A DClassDefinition.cpp42 bool ClassDefinition::empty() const { function in class:aapt::ClassDefinition
44 if (!member->empty()) {
53 if (members_.empty() && !create_if_empty_) {
H A DAnnotationProcessor.cpp42 if (util::TrimWhitespace(comment).empty()) {
58 if (!line.empty()) {
/frameworks/compile/mclinker/unittests/
H A DFactoriesTest.cpp42 ASSERT_FALSE(m_pNodeAlloc->empty());
45 ASSERT_FALSE(m_pNodeAlloc->empty());
48 ASSERT_FALSE(m_pNodeAlloc->empty());
112 ASSERT_TRUE(delegatee->empty());
138 ASSERT_FALSE(m_pNodeAlloc->empty());
148 ASSERT_TRUE(delegatee->empty());
162 ASSERT_FALSE(m_pNodeAlloc->empty());
170 ASSERT_FALSE(m_pFileAlloc->empty());
184 ASSERT_FALSE(m_pFileAlloc->empty());
202 ASSERT_FALSE(m_pFileAlloc->empty());
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DSkiaDisplayList.h75 bool isEmpty() const override { return mDisplayList.empty(); }
80 bool hasFunctor() const override { return !mChildFunctors.empty(); }
85 bool hasVectorDrawables() const override { return !mVectorDrawables.empty(); }
/frameworks/base/tests/Camera2Tests/CameraToo/tests/src/com/example/android/camera2/cameratoo/
H A DCameraTooTest.java57 Size empty = new Size(0, 0), fatAndFlat = new Size(100, 0), tallAndThin = new Size(0, 100);
62 assertComparatorEq(empty, fatAndFlat, rel);
63 assertComparatorEq(empty, tallAndThin, rel);
64 assertComparatorEq(fatAndFlat, empty, rel);
66 assertComparatorEq(tallAndThin, empty, rel);
76 assertComparatorLt(empty, smallSquare, rel);
77 assertComparatorLt(empty, horizRect, rel);
78 assertComparatorLt(empty, vertRect, rel);
88 assertComparatorLt(empty, largeSquare, rel);
104 Size empty
[all...]
/frameworks/opt/net/wifi/libwifi_system/tests/
H A Dhostapd_manager_unittest.cpp101 EXPECT_FALSE(config.empty());
108 EXPECT_FALSE(config.empty());
115 EXPECT_FALSE(config.empty());
/frameworks/base/core/jni/
H A Dandroid_app_Activity.cpp36 return msg.empty() ? nullptr : env->NewStringUTF(msg.c_str());
/frameworks/base/tools/aapt2/compile/
H A DXmlIdCollector_test.cpp64 EXPECT_TRUE(doc->file.exported_symbols.empty());
/frameworks/compile/mclinker/lib/MC/
H A DMCLDDirectory.cpp23 if (!Directory::m_Path.empty())
37 if (!Directory::m_Path.empty())
51 if (!Directory::m_Path.empty())
65 if (!Directory::m_Path.empty())
H A DSymbolCategory.cpp77 if (!current->empty()) {
118 if (!current->empty()) {
130 if (current->end == pos || current->empty()) {
257 bool SymbolCategory::empty() const { function in class:mcld::SymbolCategory
258 return m_OutputSymbols.empty();
262 return m_pFile->empty();
266 return m_pLocal->empty();
270 return m_pLocalDyn->empty();
274 return m_pCommon->empty();
278 return m_pDynamic->empty();
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DELFAttributeValue.cpp41 if (isStringValue() && !m_StringValue.empty())
45 // for int type, empty string for string type), but we need to check whether
/frameworks/rs/script_api/
H A DGenerateHeaderFiles.cpp87 if (briefComment.empty() && comment.size() == 0) {
91 if (!briefComment.empty()) {
102 if (!s.empty()) {
148 if (!name.empty()) {
161 if (valueComments.size() > i && !valueComments[i].empty()) {
172 if (!name.empty()) {
181 if (fieldComments.size() > i && !fieldComments[i].empty()) {
243 if (!p->specName.empty() && p->rsType != "...") {
268 if (inlineCodeLines[ct].empty()) {
293 if (!p->documentation.empty()) {
[all...]
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
H A DCharSequencesTest.java43 String empty = toString(forAsciiBytes(bytes, 0, 3).subSequence(3, 3));
44 assertTrue("".equals(empty));
/frameworks/base/tools/aapt2/link/
H A DPrivateAttributeMover.cpp78 if (private_attr_entries.empty()) {
84 CHECK(priv_attr_type->entries.empty());

Completed in 855 milliseconds

1234567891011>>