/fuchsia/zircon/system/utest/fbl/ |
H A D | string_tests.cpp | 29 fbl::String empty; local 31 EXPECT_STR_EQ("", empty.data()); 32 EXPECT_STR_EQ("", empty.c_str()); 34 EXPECT_EQ(0u, empty.length()); 35 EXPECT_EQ(0u, empty.size()); 36 EXPECT_TRUE(empty.empty()); 38 EXPECT_STR_EQ("", empty.begin()); 39 EXPECT_EQ(0u, empty.end() - empty 306 fbl::String empty; local 380 fbl::String empty = fbl::String::Concat({}); local 386 fbl::String empty = fbl::String::Concat({""}); local 392 fbl::String empty = fbl::String::Concat({"", "", "", ""}); local 587 fbl::String empty = fbl::String::Concat({}, &ac); local 608 fbl::String empty; local 627 fbl::String empty; local 647 fbl::String empty; local [all...] |
H A D | string_buffer_tests.cpp | 47 fbl::StringBuffer<0u> empty; local 49 EXPECT_STR_EQ("", empty.data()); 50 EXPECT_STR_EQ("", empty.c_str()); 52 EXPECT_EQ(0u, empty.length()); 53 EXPECT_EQ(0u, empty.size()); 54 EXPECT_TRUE(empty.empty()); 55 EXPECT_EQ(0u, empty.capacity()); 57 EXPECT_STR_EQ("", empty.begin()); 58 EXPECT_EQ(0u, empty 66 fbl::StringBuffer<16u> empty; local [all...] |
H A D | string_piece_tests.cpp | 16 fbl::StringPiece empty; local 18 EXPECT_NULL(empty.data()); 20 EXPECT_EQ(0u, empty.length()); 21 EXPECT_EQ(0u, empty.size()); 22 EXPECT_TRUE(empty.empty()); 24 EXPECT_NULL(empty.begin()); 25 EXPECT_NULL(empty.end()); 26 EXPECT_NULL(empty.cbegin()); 27 EXPECT_NULL(empty 151 fbl::StringPiece empty; local [all...] |
H A D | function_tests.cpp | 22 // An object that looks like an "empty" std::function. 50 // "empty std::function" initialization 51 EmptyFunction<Closure> empty; local 52 ClosureFunction fwrapper(empty); 197 // "empty std::function" assignment 198 fmutinline = empty; 254 // "empty std::function" initialization 255 EmptyFunction<BinaryOp> empty; local 256 BinaryOpFunction fwrapper(empty); 415 // "empty st 474 auto empty = [] {}; local 513 auto empty = [] {}; local [all...] |
/fuchsia/zircon/system/dev/input/hid/ |
H A D | hid-fifo.c | 24 fifo->empty = true; 29 if (fifo->empty) return 0; 36 if (fifo->empty) 44 if (fifo->empty) return 0; 51 if (fifo->tail == fifo->head) fifo->empty = true; 56 if (!fifo->empty && fifo->tail == fifo->head) return ZX_ERR_BUFFER_TOO_SMALL; 62 fifo->empty = false; 68 printf("head: %u tail: %u empty: %s\n", fifo->head, fifo->tail, fifo->empty ? "Y" : "N"); 69 if (fifo->empty) { [all...] |
H A D | hid-fifo.h | 27 bool empty; member in struct:__anon388
|
/fuchsia/zircon/system/utest/trace-reader/ |
H A D | reader_tests.cpp | 42 trace::Chunk empty; 43 EXPECT_EQ(0u, empty.remaining_words()); 45 EXPECT_FALSE(empty.ReadUint64(&value)); 47 EXPECT_FALSE(empty.ReadInt64(&int64_value)); 49 EXPECT_FALSE(empty.ReadDouble(&double_value)); 51 EXPECT_TRUE(empty.ReadString(0u, &string_value)); 52 EXPECT_TRUE(string_value.empty()); 53 EXPECT_FALSE(empty.ReadString(1u, &string_value)); 55 EXPECT_TRUE(empty.ReadChunk(0u, &subchunk)); 57 EXPECT_FALSE(empty [all...] |
/fuchsia/zircon/system/utest/fidl/ |
H A D | cpp_types_tests.cpp | 20 EXPECT_TRUE(view->empty()); 27 EXPECT_FALSE(view->empty()); 43 EXPECT_TRUE(view->empty());
|
/fuchsia/zircon/system/utest/fs-test-utils/ |
H A D | unittest_test.cpp | 36 ASSERT_FALSE(fixture->partition_path().empty(), "No partition path set"); 37 ASSERT_FALSE(fixture->block_device_path().empty(), "No block device path set."); 38 ASSERT_FALSE(fixture->fs_path().empty(), "No fs_path set");
|
H A D | fixture_test.cpp | 37 ASSERT_TRUE(err_str.empty()); 49 ASSERT_TRUE(err_str.empty()); 60 ASSERT_TRUE(err_str.empty()); 69 ASSERT_FALSE(err_str.empty()); 78 ASSERT_TRUE(err_str.empty()); 89 ASSERT_FALSE(err_str.empty()); 101 ASSERT_FALSE(err_str.empty()); 113 ASSERT_FALSE(err_str.empty()); 124 ASSERT_FALSE(err_str.empty()); 135 ASSERT_FALSE(err_str.empty()); [all...] |
/fuchsia/zircon/kernel/lib/user_copy/ |
H A D | rules.mk | 16 MODULE_SRCS := $(LOCAL_DIR)/empty.c
|
/fuchsia/zircon/kernel/lib/zircon-internal/ |
H A D | rules.mk | 16 $(SRC_DIR)/empty.c \
|
/fuchsia/zircon/kernel/target/pc/ |
H A D | rules.mk | 14 MODULE_SRCS := $(LOCAL_DIR)/empty.cpp
|
/fuchsia/zircon/system/host/abigen/ |
H A D | header_generator.cpp | 48 if (!nonnull.empty()) { 63 if (!a.empty())
|
H A D | syscall_parser.cpp | 27 if (iden.empty()) { 79 if (ts->next().empty()) 115 if (ts->next().empty())
|
H A D | kernel_wrapper_generator.cpp | 52 if (!args.empty()) 68 if (!args.empty())
|
/fuchsia/zircon/system/ulib/zircon-internal/ |
H A D | rules.mk | 13 $(LOCAL_DIR)/empty.c \
|
/fuchsia/zircon/system/host/abigen/parser/ |
H A D | parser.h | 75 auto& first = acc.empty() ? tokens[0] : acc[0]; 78 start = acc.empty() ? fc.line_start : start; 90 if (acc.empty()) { 108 if (!acc.empty()) 136 if (tokens.empty())
|
H A D | parser.cpp | 21 if (!tok.empty()) 28 if (!tok.empty())
|
/fuchsia/zircon/system/ulib/fidl/include/lib/fidl/cpp/ |
H A D | string_view.h | 24 bool empty() const { return fidl_string_t::size == 0; } function in class:fidl::StringView
|
H A D | vector_view.h | 25 bool empty() const { return fidl_vector_t::count == 0; } function in class:fidl::VectorView
|
/fuchsia/zircon/system/ulib/fit/ |
H A D | rules.mk | 8 $(LOCAL_DIR)/empty.c \
|
/fuchsia/zircon/system/ulib/syslog/ |
H A D | fx_logger.cpp | 37 if (tagstr_.empty()) { 39 if (tagstr_.empty()) { 142 if (!tagstr_.empty()) { 149 if (!tagstr_.empty()) { 228 if (tagstr_.empty()) {
|
/fuchsia/zircon/system/ulib/fs-test-utils/ |
H A D | perftest.cpp | 182 if (!error.empty()) { 240 if (result_path.empty() && summary_path.empty() && !print_statistics) { 246 if (result_path == summary_path && !result_path.empty()) { 276 if (!performance_test_options.summary_path.empty()) { 287 if (!performance_test_options.result_path.empty()) {
|
H A D | fixture.cpp | 90 if (options.use_ramdisk && !block_device_path.empty()) { 194 if (!block_device_path.empty()) { 210 } else if (block_device_path.empty()) { 222 return err_description->empty(); 267 if (!fs_path_.empty()) { 291 if (!options_.block_device_path.empty()) { 345 if (!block_device_path_.empty() && !options_.use_fvm &&
|