HomeSort by relevance Sort by last modified time
    Searched refs:ent (Results 1 - 25 of 269) sorted by null

1 2 3 4 5 6 7 8 91011

  /external/libusb-compat/libusb/
usbi.h 25 #define LIST_ADD(begin, ent) \
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) \
38 if (ent->prev) \
39 ent->prev->next = ent->next;
    [all...]
  /development/vndk/tools/definition-tool/tests/
test_scandir.py 15 for ent in scandir(testdata_dir):
18 self.assertEqual(ent.path, os.path.join(testdata_dir, ent.name))
20 if ent.name == 'test_file':
21 self.assertTrue(ent.is_file())
22 self.assertFalse(ent.is_dir())
23 self.assertFalse(ent.is_symlink())
24 elif ent.name == 'test_dir':
25 self.assertFalse(ent.is_file())
26 self.assertTrue(ent.is_dir()
    [all...]
  /external/apache-commons-compress/src/test/java/org/apache/commons/compress/archivers/dump/
DumpArchiveEntryTest.java 28 final DumpArchiveEntry ent = new DumpArchiveEntry("foo", "bar", -1, local
31 assertEquals("bar", ent.getSimpleName());
32 assertEquals("foo", ent.getOriginalName());
33 assertEquals("foo/", ent.getName());
38 final DumpArchiveEntry ent = new DumpArchiveEntry("./foo", "bar"); local
39 assertEquals("bar", ent.getSimpleName());
40 assertEquals("./foo", ent.getOriginalName());
41 assertEquals("foo", ent.getName());
  /bionic/tests/
mntent_test.cpp 46 struct mntent ent; local
47 memset(&ent, 0, sizeof(ent));
48 ent.mnt_opts = mnt_opts;
50 EXPECT_EQ(mnt_opts, hasmntopt(&ent, "aa"));
51 EXPECT_EQ(mnt_opts + 5, hasmntopt(&ent, "a"));
52 EXPECT_EQ(mnt_opts + 9, hasmntopt(&ent, "b"));
53 EXPECT_EQ(mnt_opts + 11, hasmntopt(&ent, "bb"));
54 EXPECT_EQ(mnt_opts + 14, hasmntopt(&ent, "c"));
55 EXPECT_EQ(nullptr, hasmntopt(&ent, "d"))
    [all...]
  /external/openssh/
auth-sia.c 56 SIAENTITY *ent = NULL; local
64 if (sia_ses_init(&ent, saved_argc, saved_argv, host, authctxt->user,
68 if ((ret = sia_ses_authent(NULL, pass, ent)) != SIASUCCESS) {
72 sia_ses_release(&ent);
77 sia_ses_release(&ent);
85 SIAENTITY *ent = NULL; local
90 if (sia_ses_init(&ent, saved_argc, saved_argv, host, pw->pw_name,
94 if (sia_make_entity_pwd(pw, ent) != SIASUCCESS) {
95 sia_ses_release(&ent);
99 ent->authtype = SIA_A_NONE
    [all...]
  /development/tools/repo_diff/service/repodiff/controllers/
contract.go 4 ent "repodiff/entities"
9 InsertCommitRows(commitRows []ent.AnalyzedCommitRow) error
10 GetFirstSeenTimestamp(commitHashes []string, nullTimestamp ent.RepoTimestamp) (map[string]ent.RepoTimestamp, error)
11 GetMostRecentCommits() ([]ent.AnalyzedCommitRow, error)
14 func MaybeNullObjectCommitRepository(target ent.MappedDiffTarget) Committer {
regression_test.go 9 ent "repodiff/entities"
15 analyzed := make([]ent.AnalyzedCommitRow, len(commitRows))
17 analyzed[i] = ent.AnalyzedCommitRow{
24 ent.MappedDiffTarget{
  /development/tools/repo_diff/service/repodiff/interactors/
application.go 5 ent "repodiff/entities"
13 DiffRows []ent.DiffRow
14 CommitRows []ent.CommitRow
15 Manifests *ent.ManifestFileGroup
18 func ApplyApplicationMutations(p AppProcessingParameters) ([]ent.AnalyzedDiffRow, []ent.AnalyzedCommitRow) {
24 func commitRowsToAnalyzed(commitRows []ent.CommitRow, projectNameToType TypeMap) []ent.AnalyzedCommitRow {
25 analyzed := make([]ent.AnalyzedCommitRow, len(commitRows))
27 analyzed[i] = ent.AnalyzedCommitRow
    [all...]
  /development/tools/repo_diff/service/repodiff/repositories/
helpers_test.go 6 ent "repodiff/entities"
10 func fakeFixtures() []ent.AnalyzedDiffRow {
11 return []ent.AnalyzedDiffRow{
12 ent.AnalyzedDiffRow{
13 DiffRow: ent.DiffRow{
29 func fakeCommitFixtures() []ent.AnalyzedCommitRow {
30 return []ent.AnalyzedCommitRow{
31 ent.AnalyzedCommitRow{
32 CommitRow: ent.CommitRow{
  /development/tools/repo_diff/service/repodiff/utils/
time.go 7 ent "repodiff/entities"
10 func TimestampSeconds() ent.RepoTimestamp {
11 return ent.RepoTimestamp(t.Now().Unix())
14 func TimestampToDate(timestamp ent.RepoTimestamp) string {
20 func TimestampToDataStudioDatetime(timestamp ent.RepoTimestamp) string {
time_test.go 8 ent "repodiff/entities"
12 var oldTimestamp ent.RepoTimestamp = 1519322647
19 var timestamp ent.RepoTimestamp = 1519322647
24 var timestamp ent.RepoTimestamp = 1519322647
  /external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.obs/
last_write_time.pass.cpp 51 directory_entry ent(file);
52 file_time_type expect = last_write_time(ent);
58 TEST_CHECK(ent.last_write_time(ec) == expect);
62 directory_entry ent(dir);
63 file_time_type expect = last_write_time(ent);
68 TEST_CHECK(ent.last_write_time(ec) == expect);
73 directory_entry ent(sym);
77 TEST_CHECK(ent.last_write_time(ec) == expect);
97 directory_entry ent; local
100 ent.assign(StaticEnv::DNE, ec)
115 directory_entry ent; local
138 directory_entry ent; local
164 directory_entry ent; local
190 directory_entry ent; local
    [all...]
file_size.pass.cpp 52 directory_entry ent(file);
53 uintmax_t expect = file_size(ent);
60 TEST_CHECK(ent.file_size(ec) == expect);
65 directory_entry ent(sym);
67 uintmax_t expect = file_size(ent);
70 LIBCPP_ONLY(remove(ent));
73 TEST_CHECK(ent.file_size(ec) == 99);
92 directory_entry ent(p);
93 TEST_CHECK(ent.path() == p);
99 uintmax_t got = ent.file_size(ec)
125 directory_entry ent; local
143 directory_entry ent; local
166 directory_entry ent; local
191 directory_entry ent; local
217 directory_entry ent; local
    [all...]
hard_link_count.pass.cpp 50 directory_entry ent(file);
51 uintmax_t expect = hard_link_count(ent);
57 TEST_CHECK(ent.hard_link_count(ec) == expect);
61 directory_entry ent(dir);
62 uintmax_t expect = hard_link_count(ent);
67 TEST_CHECK(ent.hard_link_count(ec) == expect);
73 directory_entry ent(sym);
75 TEST_CHECK(ent.hard_link_count(ec) == 2);
94 directory_entry ent(p, dummy_ec);
102 TEST_CHECK(ent.hard_link_count(ec) == expect)
123 directory_entry ent; local
142 directory_entry ent; local
165 directory_entry ent; local
191 directory_entry ent; local
217 directory_entry ent; local
    [all...]
  /external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.mods/
refresh.pass.cpp 74 directory_entry ent(file);
76 TEST_CHECK(ent.exists());
78 ent.refresh();
81 TEST_CHECK(!ent.exists());
86 directory_entry ent(file);
88 TEST_CHECK(ent.exists());
91 ent.refresh(ec);
95 TEST_CHECK(!ent.exists());
115 directory_entry ent(sym);
117 TEST_CHECK(ent.is_symlink())
    [all...]
assign.pass.cpp 64 directory_entry ent(p);
66 ent.assign(p2, ec);
68 TEST_CHECK(ent.path() == p2);
80 directory_entry ent; local
81 ent.assign(file);
86 TEST_CHECK(ent.is_regular_file());
90 directory_entry ent; local
91 ent.assign(sym);
96 TEST_CHECK(ent.is_symlink());
97 TEST_CHECK(ent.is_regular_file())
113 directory_entry ent; local
119 directory_entry ent; local
125 directory_entry ent; local
    [all...]
  /external/e2fsprogs/lib/ext2fs/
brel.h 38 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))
80 #define ext2fs_brel_get(brel, old, ent) ((brel)->get((brel), old, ent))
82 #define ext2fs_brel_next(brel, old, ent) ((brel)->next((brel), old, ent))
irel.h 36 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))
104 #define ext2fs_irel_get(irel, old, ent) ((irel)->get((irel), old, ent))
105 #define ext2fs_irel_get_by_orig(irel, orig, old, ent) \
106 ((irel)->get_by_orig((irel), orig, old, ent))
    [all...]
  /external/syzkaller/prog/
parse_test.go 23 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
    [all...]
parse.go 24 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
    [all...]
  /external/webrtc/webrtc/base/
linuxfdwalk.c 45 struct dirent *ent; local
47 while (errno = 0, (ent = readdir(dir)) != NULL) {
48 if (strcmp(ent->d_name, ".") == 0 ||
49 strcmp(ent->d_name, "..") == 0) {
55 int fd = parse_fd(ent->d_name);
  /external/libcxx/test/std/input.output/filesystems/class.directory_entry/directory_entry.cons/
path.pass.cpp 85 directory_entry ent(file);
92 TEST_CHECK(ent.exists());
95 TEST_CHECK(ent.file_size() == 42);
102 directory_entry ent(sym);
110 TEST_CHECK(ent.is_symlink());
113 TEST_CHECK(ent.is_regular_file());
116 TEST_CHECK(ent.file_size() == 101);
126 directory_entry ent(StaticEnv::DNE, ec);
128 TEST_CHECK(ent.path() == StaticEnv::DNE);
133 directory_entry ent(StaticEnv::BadSymlink, ec)
    [all...]
  /external/boringssl/src/crypto/x509/
by_dir.c 173 static void by_dir_entry_free(BY_DIR_ENTRY *ent)
175 if (ent->dir)
176 OPENSSL_free(ent->dir);
177 if (ent->hashes)
178 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free);
179 OPENSSL_free(ent);
208 BY_DIR_ENTRY *ent; local
215 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j);
216 if (strlen(ent->dir) == len &&
217 strncmp(ent->dir, ss, len) == 0
311 BY_DIR_ENTRY *ent; local
    [all...]
  /bionic/tools/versioner/src/
Utils.cpp 53 while (FTSENT* ent = fts_read(fts.get())) {
54 if (ent->fts_info & FTS_DP) {
55 if (ent == skipping) {
65 if (ent->fts_info & FTS_D) {
66 if (ignored_directories.count(ent->fts_path) != 0) {
67 // fts_read guarantees that `ent` is valid and sane to hold on to until
69 skipping = ent;
74 std::string path = ent->fts_path;
  /external/mesa3d/src/mapi/
mapi_abi.py 162 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
    [all...]

Completed in 1130 milliseconds

1 2 3 4 5 6 7 8 91011