Home
last modified time | relevance | path

Searched refs:ent (Results 1 – 25 of 554) sorted by relevance

12345678910>>...23

/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
Drefresh.pass.cpp74 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 …]
Dassign.pass.cpp64 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 …]
Dreplace_filename.pass.cpp102 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/mesa3d/src/mapi/
Dmapi_abi.py162 raise Exception('recursive alias %s' % ent.name)
178 ent = ABIEntry(cols, attrs, func)
179 entry_dict[ent.name] = ent
234 raise Exception('recursive alias %s' % ent.name)
246 ent = ABIEntry(cols, attrs)
247 if entry_dict.has_key(ent.name):
248 raise Exception('%s is duplicated' % (ent.name))
249 entry_dict[ent.name] = ent
271 ent = entries[i]
272 if not handcode and ent.handcode:
[all …]
/external/syzkaller/prog/
Dparse_test.go23 ent := entries[0]
24 if ent.Start != 0 {
25 t.Fatalf("start offset %v, want 0", ent.Start)
27 if ent.End != len(execLog) {
28 t.Fatalf("end offset %v, want %v", ent.End, len(execLog))
30 if ent.Proc != 0 {
31 t.Fatalf("proc %v, want 0", ent.Proc)
33 if ent.Fault || ent.FaultCall != 0 || ent.FaultNth != 0 {
37 got := ent.P.String()
51 for i, ent := range entries {
[all …]
Dparse.go24 ent := &LogEntry{}
38 if ent.P != nil && len(ent.P.Calls) != 0 {
39 ent.End = pos0
40 entries = append(entries, ent)
42 ent = &LogEntry{
47 ent.Fault = true
48 ent.FaultCall = faultCall
49 ent.FaultNth, _ = extractInt(line, "fault-nth:")
54 if ent == nil {
63 ent.P = p
[all …]
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
Dlast_write_time.pass.cpp51 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 …]
Dfile_size.pass.cpp52 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 …]
Dhard_link_count.pass.cpp50 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/libusb-compat/libusb/
Dusbi.h25 #define LIST_ADD(begin, ent) \ argument
28 ent->next = begin; \
29 ent->next->prev = ent; \
31 ent->next = NULL; \
32 ent->prev = NULL; \
33 begin = ent; \
36 #define LIST_DEL(begin, ent) \ argument
38 if (ent->prev) \
39 ent->prev->next = ent->next; \
41 begin = ent->next; \
[all …]
/external/boringssl/src/crypto/x509/
Dby_dir.c173 static void by_dir_entry_free(BY_DIR_ENTRY *ent) in by_dir_entry_free() argument
175 if (ent->dir) in by_dir_entry_free()
176 OPENSSL_free(ent->dir); in by_dir_entry_free()
177 if (ent->hashes) in by_dir_entry_free()
178 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); in by_dir_entry_free()
179 OPENSSL_free(ent); in by_dir_entry_free()
208 BY_DIR_ENTRY *ent; in add_cert_dir() local
215 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); in add_cert_dir()
216 if (strlen(ent->dir) == len && in add_cert_dir()
217 strncmp(ent->dir, ss, len) == 0) in add_cert_dir()
[all …]
/external/e2fsprogs/util/
Dsubst.c54 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/deqp-deps/glslang/glslang/MachineIndependent/
Diomapper.cpp139 TVarEntryInfo ent = { base->getId(), base, !traverseAll }; in visitSymbol() local
140 …TVarLiveMap::iterator at = std::lower_bound(target->begin(), target->end(), ent, TVarEntryInfo::TO… in visitSymbol()
141 if (at != target->end() && at->id == ent.id) in visitSymbol()
144 target->insert(at, ent); in visitSymbol()
178 TVarEntryInfo ent = { base->getId() }; in visitSymbol() local
179 …TVarLiveMap::const_iterator at = std::lower_bound(source->begin(), source->end(), ent, TVarEntryIn… in visitSymbol()
183 if (at->id != ent.id) in visitSymbol()
213 inline void operator()(TVarEntryInfo& ent) in operator ()()
215 … resolver.notifyBinding(stage, ent.symbol->getName().c_str(), ent.symbol->getType(), ent.live); in operator ()()
230 inline void operator()(TVarEntryInfo& ent) in operator ()()
[all …]
/external/e2fsprogs/resize/
Dextent.c83 struct ext2_extent_entry *ent; in ext2fs_add_extent_entry() local
99 ent = extent->list + curr; in ext2fs_add_extent_entry()
105 ent--; in ext2fs_add_extent_entry()
106 if ((ent->old_loc + ent->size == old_loc) && in ext2fs_add_extent_entry()
107 (ent->new_loc + ent->size == new_loc)) { in ext2fs_add_extent_entry()
108 ent->size++; in ext2fs_add_extent_entry()
114 if (ent->old_loc + ent->size > old_loc) in ext2fs_add_extent_entry()
116 ent++; in ext2fs_add_extent_entry()
118 ent->old_loc = old_loc; in ext2fs_add_extent_entry()
119 ent->new_loc = new_loc; in ext2fs_add_extent_entry()
[all …]
/external/e2fsprogs/tests/progs/
Dtest_rel.c94 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/openssh/
Dauth-sia.c56 SIAENTITY *ent = NULL; in sys_auth_passwd() local
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user, in sys_auth_passwd()
68 if ((ret = sia_ses_authent(NULL, pass, ent)) != SIASUCCESS) { in sys_auth_passwd()
72 sia_ses_release(&ent); in sys_auth_passwd()
77 sia_ses_release(&ent); in sys_auth_passwd()
85 SIAENTITY *ent = NULL; in session_setup_sia() local
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name, in session_setup_sia()
94 if (sia_make_entity_pwd(pw, ent) != SIASUCCESS) { in session_setup_sia()
95 sia_ses_release(&ent); in session_setup_sia()
99 ent->authtype = SIA_A_NONE; in session_setup_sia()
[all …]
/external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
Dpath.pass.cpp85 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/linux-kselftest/tools/testing/selftests/vm/
Dtranshuge-stress.c25 #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()
/external/libxml2/
Dentities.c915 xmlEntityPtr ent = (xmlEntityPtr) payload; in xmlCopyEntity() local
926 cur->etype = ent->etype; in xmlCopyEntity()
927 if (ent->name != NULL) in xmlCopyEntity()
928 cur->name = xmlStrdup(ent->name); in xmlCopyEntity()
929 if (ent->ExternalID != NULL) in xmlCopyEntity()
930 cur->ExternalID = xmlStrdup(ent->ExternalID); in xmlCopyEntity()
931 if (ent->SystemID != NULL) in xmlCopyEntity()
932 cur->SystemID = xmlStrdup(ent->SystemID); in xmlCopyEntity()
933 if (ent->content != NULL) in xmlCopyEntity()
934 cur->content = xmlStrdup(ent->content); in xmlCopyEntity()
[all …]
/external/e2fsprogs/lib/ext2fs/
Direl.h36 struct ext2_inode_relocate_entry *ent);
41 struct ext2_inode_relocate_entry *ent);
47 struct ext2_inode_relocate_entry *ent);
59 struct ext2_inode_relocate_entry *ent);
103 #define ext2fs_irel_put(irel, old, ent) ((irel)->put((irel), old, ent)) argument
104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent)) argument
105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \ argument
106 ((irel)->get_by_orig((irel), orig, old, ent))
108 #define ext2fs_irel_next(irel, old, ent) ((irel)->next((irel), old, ent)) argument
Direl_ma.c28 struct ext2_inode_relocate_entry *ent);
30 struct ext2_inode_relocate_entry *ent);
32 struct ext2_inode_relocate_entry *ent);
35 struct ext2_inode_relocate_entry *ent);
141 struct ext2_inode_relocate_entry *ent)
157 ent->orig = old;
159 ent->orig = ma->entries[(unsigned) old].orig;
165 if (ref_ent->refs && ent->max_refs !=
167 size = (sizeof(struct ext2_inode_reference) * ent->max_refs);
175 ma->entries[(unsigned) old] = *ent;
[all …]
Dbrel.h38 struct ext2_block_relocate_entry *ent);
44 struct ext2_block_relocate_entry *ent);
56 struct ext2_block_relocate_entry *ent);
79 #define ext2fs_brel_put(brel, old, ent) ((brel)->put((brel), old, ent)) argument
80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent)) argument
82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent)) argument
/external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/dump/
DDumpArchiveEntryTest.java28 final DumpArchiveEntry ent = new DumpArchiveEntry("foo", "bar", -1, in publicNameAddsTrailingSlashForDirectories() local
31 assertEquals("bar", ent.getSimpleName()); in publicNameAddsTrailingSlashForDirectories()
32 assertEquals("foo", ent.getOriginalName()); in publicNameAddsTrailingSlashForDirectories()
33 assertEquals("foo/", ent.getName()); in publicNameAddsTrailingSlashForDirectories()
38 final DumpArchiveEntry ent = new DumpArchiveEntry("./foo", "bar"); in publicNameRemovesLeadingDotSlash() local
39 assertEquals("bar", ent.getSimpleName()); in publicNameRemovesLeadingDotSlash()
40 assertEquals("./foo", ent.getOriginalName()); in publicNameRemovesLeadingDotSlash()
41 assertEquals("foo", ent.getName()); in publicNameRemovesLeadingDotSlash()
/external/libxml2/result/
Datt11.sax7 SAX.entityDecl(ent, 1, (null), (null), entity&recursive; )
8 SAX.getEntity(ent)
12 SAX.getEntity(ent)
14 SAX.getEntity(ent)
15 SAX.getEntity(ent)
16 SAX.startElement(attributes, nmtoken=' &ent; &ent; &ent; ', nmtokens=' Test
/external/llvm/test/CodeGen/Mips/
Dtailcall.ll76 ; PIC32: .ent caller5
79 ; STATIC32: .ent caller5
82 ; N64: .ent caller5
85 ; PIC16: .ent caller5
127 ; PIC32: .ent caller8_1
130 ; STATIC32: .ent caller8_1
133 ; N64: .ent caller8_1
136 ; PIC16: .ent caller8_1
158 ; PIC32: .ent caller9_1
161 ; STATIC32: .ent caller9_1
[all …]

12345678910>>...23