/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
D | refresh.pass.cpp | 74 directory_entry ent(file); in TEST_CASE() local 76 TEST_CHECK(ent.exists()); in TEST_CASE() 78 ent.refresh(); in TEST_CASE() 81 TEST_CHECK(!ent.exists()); in TEST_CASE() 86 directory_entry ent(file); in TEST_CASE() local 88 TEST_CHECK(ent.exists()); in TEST_CASE() 91 ent.refresh(ec); in TEST_CASE() 95 TEST_CHECK(!ent.exists()); in TEST_CASE() 115 directory_entry ent(sym); in TEST_CASE() local 117 TEST_CHECK(ent.is_symlink()); in TEST_CASE() [all …]
|
D | assign.pass.cpp | 64 directory_entry ent(p); in TEST_CASE() local 66 ent.assign(p2, ec); in TEST_CASE() 68 TEST_CHECK(ent.path() == p2); in TEST_CASE() 80 directory_entry ent; in TEST_CASE() local 81 ent.assign(file); in TEST_CASE() 86 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 90 directory_entry ent; in TEST_CASE() local 91 ent.assign(sym); in TEST_CASE() 96 TEST_CHECK(ent.is_symlink()); in TEST_CASE() 97 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() [all …]
|
D | replace_filename.pass.cpp | 102 directory_entry ent(file); in TEST_CASE() local 103 ent.replace_filename(file_two.filename()); in TEST_CASE() 104 TEST_REQUIRE(ent.path() == file_two); in TEST_CASE() 109 TEST_CHECK(ent.file_size() == 101); in TEST_CASE() 113 directory_entry ent(sym); in TEST_CASE() local 114 ent.replace_filename(sym_two.filename()); in TEST_CASE() 115 TEST_REQUIRE(ent.path() == sym_two); in TEST_CASE() 120 TEST_CHECK(ent.is_symlink()); in TEST_CASE() 121 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 122 TEST_CHECK(ent.file_size() == 99); in TEST_CASE() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/ |
D | refresh.pass.cpp | 78 directory_entry ent(file); in refresh_on_file_dne() local 80 assert(ent.exists()); in refresh_on_file_dne() 82 ent.refresh(); in refresh_on_file_dne() 85 assert(!ent.exists()); in refresh_on_file_dne() 90 directory_entry ent(file); in refresh_on_file_dne() local 92 assert(ent.exists()); in refresh_on_file_dne() 95 ent.refresh(ec); in refresh_on_file_dne() 99 assert(!ent.exists()); in refresh_on_file_dne() 120 directory_entry ent(sym); in refresh_on_bad_symlink() local 122 assert(ent.is_symlink()); in refresh_on_bad_symlink() [all …]
|
D | assign.pass.cpp | 60 directory_entry ent(p); in test_path_assign_ec_method() local 62 ent.assign(p2, ec); in test_path_assign_ec_method() 64 assert(ent.path() == p2); in test_path_assign_ec_method() 76 directory_entry ent; in test_assign_calls_refresh() local 77 ent.assign(file); in test_assign_calls_refresh() 82 assert(ent.is_regular_file()); in test_assign_calls_refresh() 86 directory_entry ent; in test_assign_calls_refresh() local 87 ent.assign(sym); in test_assign_calls_refresh() 92 assert(ent.is_symlink()); in test_assign_calls_refresh() 93 assert(ent.is_regular_file()); in test_assign_calls_refresh() [all …]
|
D | replace_filename.pass.cpp | 99 directory_entry ent(file); in test_replace_filename_calls_refresh() local 100 ent.replace_filename(file_two.filename()); in test_replace_filename_calls_refresh() 101 assert(ent.path() == file_two); in test_replace_filename_calls_refresh() 106 assert(ent.file_size() == 101); in test_replace_filename_calls_refresh() 110 directory_entry ent(sym); in test_replace_filename_calls_refresh() local 111 ent.replace_filename(sym_two.filename()); in test_replace_filename_calls_refresh() 112 assert(ent.path() == sym_two); in test_replace_filename_calls_refresh() 117 assert(ent.is_symlink()); in test_replace_filename_calls_refresh() 118 assert(ent.is_regular_file()); in test_replace_filename_calls_refresh() 119 assert(ent.file_size() == 99); in test_replace_filename_calls_refresh() [all …]
|
/external/mesa3d/src/mapi/ |
D | mapi_abi.py | 164 raise Exception('recursive alias %s' % ent.name) 180 ent = ABIEntry(cols, attrs, func) 181 entry_dict[ent.name] = ent 202 ent = entries[i] 203 if not handcode and ent.handcode: 204 handcode = ent.handcode 205 elif ent.handcode != handcode: 207 ent.handcode, handcode) 209 if ent.name in all_names: 210 raise Exception('%s is duplicated' % (ent.name)) [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | last_write_time.pass.cpp | 51 directory_entry ent(file); in TEST_CASE() local 52 file_time_type expect = last_write_time(ent); in TEST_CASE() 58 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE() 62 directory_entry ent(dir); in TEST_CASE() local 63 file_time_type expect = last_write_time(ent); in TEST_CASE() 68 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE() 73 directory_entry ent(sym); in TEST_CASE() local 77 TEST_CHECK(ent.last_write_time(ec) == expect); in TEST_CASE() 97 directory_entry ent; in TEST_CASE() local 100 ent.assign(StaticEnv::DNE, ec); in TEST_CASE() [all …]
|
D | file_size.pass.cpp | 52 directory_entry ent(file); in TEST_CASE() local 53 uintmax_t expect = file_size(ent); in TEST_CASE() 60 TEST_CHECK(ent.file_size(ec) == expect); in TEST_CASE() 65 directory_entry ent(sym); in TEST_CASE() local 67 uintmax_t expect = file_size(ent); in TEST_CASE() 70 LIBCPP_ONLY(remove(ent)); in TEST_CASE() 73 TEST_CHECK(ent.file_size(ec) == 99); in TEST_CASE() 92 directory_entry ent(p); in TEST_CASE() local 93 TEST_CHECK(ent.path() == p); in TEST_CASE() 99 uintmax_t got = ent.file_size(ec); in TEST_CASE() [all …]
|
D | hard_link_count.pass.cpp | 50 directory_entry ent(file); in TEST_CASE() local 51 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 57 TEST_CHECK(ent.hard_link_count(ec) == expect); in TEST_CASE() 61 directory_entry ent(dir); in TEST_CASE() local 62 uintmax_t expect = hard_link_count(ent); in TEST_CASE() 67 TEST_CHECK(ent.hard_link_count(ec) == expect); in TEST_CASE() 73 directory_entry ent(sym); in TEST_CASE() local 75 TEST_CHECK(ent.hard_link_count(ec) == 2); in TEST_CASE() 94 directory_entry ent(p, dummy_ec); in TEST_CASE() local 102 TEST_CHECK(ent.hard_link_count(ec) == expect); in TEST_CASE() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/ |
D | last_write_time.pass.cpp | 54 directory_entry ent(file); in basic() local 55 file_time_type expect = last_write_time(ent); in basic() 61 assert(ent.last_write_time(ec) == expect); in basic() 65 directory_entry ent(dir); in basic() local 66 file_time_type expect = last_write_time(ent); in basic() 71 assert(ent.last_write_time(ec) == expect); in basic() 76 directory_entry ent(sym); in basic() local 80 assert(ent.last_write_time(ec) == expect); in basic() 103 directory_entry ent; in error_reporting() local 106 ent.assign(static_env.DNE, ec); in error_reporting() [all …]
|
D | hard_link_count.pass.cpp | 53 directory_entry ent(file); in basic() local 54 std::uintmax_t expect = hard_link_count(ent); in basic() 60 assert(ent.hard_link_count(ec) == expect); in basic() 64 directory_entry ent(dir); in basic() local 65 std::uintmax_t expect = hard_link_count(ent); in basic() 70 assert(ent.hard_link_count(ec) == expect); in basic() 76 directory_entry ent(sym); in basic() local 78 assert(ent.hard_link_count(ec) == 2); in basic() 94 directory_entry ent(p, dummy_ec); in not_regular_file() local 102 assert(ent.hard_link_count(ec) == expect); in not_regular_file() [all …]
|
D | file_size.pass.cpp | 53 directory_entry ent(file); in basic() local 54 std::uintmax_t expect = file_size(ent); in basic() 61 assert(ent.file_size(ec) == expect); in basic() 66 directory_entry ent(sym); in basic() local 68 std::uintmax_t expect = file_size(ent); in basic() 71 LIBCPP_ONLY(remove(ent)); in basic() 74 assert(ent.file_size(ec) == 99); in basic() 95 directory_entry ent(p); in not_regular_file() local 96 assert(ent.path() == p); in not_regular_file() 102 std::uintmax_t got = ent.file_size(ec); in not_regular_file() [all …]
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/x509/ |
D | by_dir.c | 174 static void by_dir_entry_free(BY_DIR_ENTRY *ent) in by_dir_entry_free() argument 176 if (ent->dir) in by_dir_entry_free() 177 OPENSSL_free(ent->dir); in by_dir_entry_free() 178 if (ent->hashes) in by_dir_entry_free() 179 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free() 180 OPENSSL_free(ent); in by_dir_entry_free() 209 BY_DIR_ENTRY *ent; in add_cert_dir() local 216 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 217 if (strlen(ent->dir) == len && in add_cert_dir() 218 strncmp(ent->dir, ss, len) == 0) in add_cert_dir() [all …]
|
/external/cronet/third_party/boringssl/src/crypto/x509/ |
D | by_dir.c | 166 static void by_dir_entry_free(BY_DIR_ENTRY *ent) { in by_dir_entry_free() argument 167 if (ent != NULL) { in by_dir_entry_free() 168 OPENSSL_free(ent->dir); in by_dir_entry_free() 169 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free() 170 OPENSSL_free(ent); in by_dir_entry_free() 196 BY_DIR_ENTRY *ent; in add_cert_dir() local 204 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 205 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) { in add_cert_dir() 218 ent = OPENSSL_malloc(sizeof(BY_DIR_ENTRY)); in add_cert_dir() 219 if (!ent) { in add_cert_dir() [all …]
|
/external/boringssl/src/crypto/x509/ |
D | by_dir.c | 166 static void by_dir_entry_free(BY_DIR_ENTRY *ent) { in by_dir_entry_free() argument 167 if (ent != NULL) { in by_dir_entry_free() 168 OPENSSL_free(ent->dir); in by_dir_entry_free() 169 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free() 170 OPENSSL_free(ent); in by_dir_entry_free() 196 BY_DIR_ENTRY *ent; in add_cert_dir() local 204 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir() 205 if (strlen(ent->dir) == len && strncmp(ent->dir, ss, len) == 0) { in add_cert_dir() 218 ent = OPENSSL_malloc(sizeof(BY_DIR_ENTRY)); in add_cert_dir() 219 if (!ent) { in add_cert_dir() [all …]
|
/external/e2fsprogs/resize/ |
D | extent.c | 81 struct ext2_extent_entry *ent; in ext2fs_add_extent_entry() local 97 ent = extent->list + curr; in ext2fs_add_extent_entry() 103 ent--; in ext2fs_add_extent_entry() 104 if ((ent->old_loc + ent->size == old_loc) && in ext2fs_add_extent_entry() 105 (ent->new_loc + ent->size == new_loc)) { in ext2fs_add_extent_entry() 106 ent->size++; in ext2fs_add_extent_entry() 112 if (ent->old_loc + ent->size > old_loc) in ext2fs_add_extent_entry() 114 ent++; in ext2fs_add_extent_entry() 116 ent->old_loc = old_loc; in ext2fs_add_extent_entry() 117 ent->new_loc = new_loc; in ext2fs_add_extent_entry() [all …]
|
/external/e2fsprogs/util/ |
D | subst.c | 54 struct subst_entry *ent = 0; in add_subst() local 56 ent = (struct subst_entry *) malloc(sizeof(struct subst_entry)); in add_subst() 57 if (!ent) in add_subst() 59 ent->name = (char *) malloc(strlen(name)+1); in add_subst() 60 if (!ent->name) in add_subst() 62 ent->value = (char *) malloc(strlen(value)+1); in add_subst() 63 if (!ent->value) in add_subst() 65 strcpy(ent->name, name); in add_subst() 66 strcpy(ent->value, value); in add_subst() 67 ent->next = subst_table; in add_subst() [all …]
|
/external/arm-trusted-firmware/services/std_svc/trng/ |
D | trng_main.c | 26 uint64_t ent[2]; in trng_rnd32() local 32 if (!trng_pack_entropy(nbits, &ent[0])) { in trng_rnd32() 42 SMC_RET4(handle, TRNG_E_SUCCESS, 0, 0, ent[0] & mask); in trng_rnd32() 45 SMC_RET4(handle, TRNG_E_SUCCESS, 0, (ent[0] >> 32) & mask, in trng_rnd32() 46 ent[0] & 0xFFFFFFFF); in trng_rnd32() 49 SMC_RET4(handle, TRNG_E_SUCCESS, ent[1] & mask, in trng_rnd32() 50 (ent[0] >> 32) & 0xFFFFFFFF, ent[0] & 0xFFFFFFFF); in trng_rnd32() 62 uint64_t ent[3]; in trng_rnd64() local 68 if (!trng_pack_entropy(nbits, &ent[0])) { in trng_rnd64() 79 SMC_RET4(handle, TRNG_E_SUCCESS, 0, 0, ent[0] & mask); in trng_rnd64() [all …]
|
/external/e2fsprogs/tests/progs/ |
D | test_rel.c | 94 struct ext2_block_relocate_entry *ent) in display_brel_entry() argument 96 printf("Old= %u, New= %u, Owner= %u:%u\n", old, ent->new, in display_brel_entry() 97 ent->owner.block_ref, ent->offset); in display_brel_entry() 104 struct ext2_inode_relocate_entry *ent, in display_irel_entry() argument 112 ent->new, ent->orig, ent->max_refs); in display_irel_entry() 177 struct ext2_block_relocate_entry ent; in do_brel_put() local 201 ent.new = new; in do_brel_put() 202 ent.offset = (__u16) offset; in do_brel_put() 203 ent.flags = 0; in do_brel_put() 204 ent.owner.block_ref = owner; in do_brel_put() [all …]
|
/external/cronet/buildtools/third_party/libc++/trunk/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/ |
D | path.pass.cpp | 83 directory_entry ent(file); in path_ctor_calls_refresh() local 90 assert(ent.exists()); in path_ctor_calls_refresh() 93 assert(ent.file_size() == 42); in path_ctor_calls_refresh() 100 directory_entry ent(sym); in path_ctor_calls_refresh() local 108 assert(ent.is_symlink()); in path_ctor_calls_refresh() 111 assert(ent.is_regular_file()); in path_ctor_calls_refresh() 114 assert(ent.file_size() == 101); in path_ctor_calls_refresh() 126 directory_entry ent(static_env.DNE, ec); in path_ctor_dne() local 128 assert(ent.path() == static_env.DNE); in path_ctor_dne() 133 directory_entry ent(static_env.BadSymlink, ec); in path_ctor_dne() local [all …]
|
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/ |
D | path.pass.cpp | 85 directory_entry ent(file); in TEST_CASE() local 92 TEST_CHECK(ent.exists()); in TEST_CASE() 95 TEST_CHECK(ent.file_size() == 42); in TEST_CASE() 102 directory_entry ent(sym); in TEST_CASE() local 110 TEST_CHECK(ent.is_symlink()); in TEST_CASE() 113 TEST_CHECK(ent.is_regular_file()); in TEST_CASE() 116 TEST_CHECK(ent.file_size() == 101); in TEST_CASE() 126 directory_entry ent(StaticEnv::DNE, ec); in TEST_CASE() local 128 TEST_CHECK(ent.path() == StaticEnv::DNE); in TEST_CASE() 133 directory_entry ent(StaticEnv::BadSymlink, ec); in TEST_CASE() local [all …]
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | iomapper.cpp | 90 TVarEntryInfo ent = {base->getId(), base, ! traverseAll}; in visitSymbol() local 91 ent.stage = intermediate.getStage(); in visitSymbol() 93 …ent.symbol->getAccessName()); // std::lower_bound(target->begin(), target->end(), ent, TVarEntryIn… in visitSymbol() 94 if (at != target->end() && at->second.id == ent.id) in visitSymbol() 97 (*target)[ent.symbol->getAccessName()] = ent; in visitSymbol() 129 TVarEntryInfo ent = { base->getId() }; in visitSymbol() local 135 if (at->second.id != ent.id) in visitSymbol() 207 TVarEntryInfo& ent = entKey.second; in operator ()() local 208 ent.clearNewAssignments(); in operator ()() 209 const bool isValid = resolver.validateBinding(stage, ent); in operator ()() [all …]
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | iomapper.cpp | 90 TVarEntryInfo ent = {base->getId(), base, ! traverseAll}; in visitSymbol() local 91 ent.stage = intermediate.getStage(); in visitSymbol() 93 …ent.symbol->getAccessName()); // std::lower_bound(target->begin(), target->end(), ent, TVarEntryIn… in visitSymbol() 94 if (at != target->end() && at->second.id == ent.id) in visitSymbol() 97 (*target)[ent.symbol->getAccessName()] = ent; in visitSymbol() 129 TVarEntryInfo ent = { base->getId() }; in visitSymbol() local 135 if (at->second.id != ent.id) in visitSymbol() 207 TVarEntryInfo& ent = entKey.second; in operator ()() local 208 ent.clearNewAssignments(); in operator ()() 209 const bool isValid = resolver.validateBinding(stage, ent); in operator ()() [all …]
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
D | transhuge-stress.c | 25 #define PAGEMAP_PRESENT(ent) (((ent) & (1ull << 63)) != 0) argument 26 #define PAGEMAP_PFN(ent) ((ent) & ((1ull << 55) - 1)) argument 32 uint64_t ent[2]; in allocate_transhuge() local 46 if (pread(pagemap_fd, ent, sizeof(ent), in allocate_transhuge() 47 (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) in allocate_transhuge() 50 if (PAGEMAP_PRESENT(ent[0]) && PAGEMAP_PRESENT(ent[1]) && in allocate_transhuge() 51 PAGEMAP_PFN(ent[0]) + 1 == PAGEMAP_PFN(ent[1]) && in allocate_transhuge() 52 !(PAGEMAP_PFN(ent[0]) & ((1 << (HPAGE_SHIFT - PAGE_SHIFT)) - 1))) in allocate_transhuge() 53 return PAGEMAP_PFN(ent[0]); in allocate_transhuge()
|