/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...] |
/prebuilts/go/darwin-x86/test/fixedbugs/ |
issue17318.go | 20 type closure func(i, j int) ent 22 type ent int type 24 func (e ent) String() string { 25 return fmt.Sprintf("%d", int(e)) // ERROR "ent.String ... argument does not escape$" "int\(e\) escapes to heap$" 42 f := func(i, j int) ent { // ERROR "func literal escapes to heap$" 43 return ent(i + j) 45 i := foo(f, 3).(ent)
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
issue17318.go | 20 type closure func(i, j int) ent 22 type ent int type 24 func (e ent) String() string { 25 return fmt.Sprintf("%d", int(e)) // ERROR "ent.String ... argument does not escape$" "int\(e\) escapes to heap$" 42 f := func(i, j int) ent { // ERROR "func literal escapes to heap$" 43 return ent(i + j) 45 i := foo(f, 3).(ent)
|
/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/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/ltp/testcases/kernel/mem/hugetlb/lib/ |
hugetlb.c | 92 struct passwd *ent; local 94 ent = getpwnam(user); 95 if (ent == NULL) 98 return ent->pw_uid;
|
/external/openssh/openbsd-compat/ |
port-uw.c | 96 struct passwd *ent = NULL; local 112 while (ent = fgetpwent(fd)) { 113 if (strcmp (ent->pw_name, namep) == 0) {
|
/external/squashfs-tools/squashfs-tools/ |
info.c | 47 static struct dir_ent *ent = NULL; variable in typeref:struct:dir_ent 54 ent = NULL; 60 ent = dir_ent; 66 struct dir_ent *dir_ent = ent;
|
/frameworks/base/core/jni/ |
android_server_Watchdog.cpp | 81 struct dirent * ent; local 82 while ((ent = readdir(taskdir)) != NULL) { 83 int tid = atoi(ent->d_name);
|
/test/vts/compilation_tools/vtsc/ |
VtsCompilerMain.cpp | 120 struct dirent* ent; local 124 while ((ent = readdir(input_dir)) != NULL) { 125 if (!strncmp(&ent->d_name[strlen(ent->d_name)-4], ".vts", 4)) { 128 argv[opt_count + 1], ent->d_name), vts_base_dir); 131 argv[opt_count + 2], ent->d_name), vts_base_dir); 138 cout << ent->d_name << endl;
|
/frameworks/av/media/libstagefright/id3/ |
testid3.cpp | 127 struct dirent *ent; local 128 while ((ent = readdir(dir)) != NULL) { 129 if (!strcmp(".", ent->d_name) || !strcmp("..", ent->d_name)) { 136 strcat(newPath, ent->d_name); 138 if (ent->d_type == DT_DIR) { 140 } else if (ent->d_type == DT_REG) { 141 size_t len = strlen(ent->d_name); 144 && !strcasecmp(ent->d_name + len - 4, ".mp3")) {
|
/build/make/tools/atree/ |
fs.cpp | 57 struct dirent *ent; local 58 while (NULL != (ent = readdir(d))) { 59 if (0 == strcmp(".", ent->d_name) 60 || 0 == strcmp("..", ent->d_name)) { 65 full += ent->d_name; 66 bool is_directory = (ent->d_type == DT_DIR);
|
/external/guice/extensions/persist/test/com/google/inject/persist/jpa/ |
JpaWorkManagerTest.java | 81 JpaTestEntity ent = (JpaTestEntity) o; local 83 assertEquals("Incorrect result returned or not persisted properly" + ent.getText(), 84 UNIQUE_TEXT_3, ent.getText());
|
/external/iproute2/include/ |
bpf_scm.h | 24 struct bpf_elf_map ent[BPF_SCM_MAX_FDS]; member in struct:bpf_map_aux 68 msg->iov.iov_len = offsetof(struct bpf_map_aux, ent) +
|
/external/libcap-ng/libcap-ng-0.7/utils/ |
pscap.c | 46 struct dirent *ent; local 66 while (( ent = readdir(d) )) { 74 if(*ent->d_name<'0' || *ent->d_name>'9') 77 pid = strtol(ent->d_name, NULL, 10);
|
/external/linux-kselftest/tools/testing/selftests/vm/ |
transhuge-stress.c | 25 #define PAGEMAP_PRESENT(ent) (((ent) & (1ull << 63)) != 0) 26 #define PAGEMAP_PFN(ent) ((ent) & ((1ull << 55) - 1)) 32 uint64_t ent[2]; local 46 if (pread(pagemap_fd, ent, sizeof(ent), 47 (uintptr_t)ptr >> (PAGE_SHIFT - 3)) != sizeof(ent)) 50 if (PAGEMAP_PRESENT(ent[0]) && PAGEMAP_PRESENT(ent[1]) & [all...] |
/external/ltp/testcases/kernel/connectors/pec/ |
event_generator.c | 206 struct passwd *ent; local 210 ent = getpwnam(ltp_user); 211 if (ent == NULL) { 215 ltp_uid = ent->pw_uid; 216 ltp_gid = ent->pw_gid;
|
/external/ltp/testcases/kernel/syscalls/ipc/lib/ |
libipc.c | 144 struct passwd *ent; local 147 if ((ent = getpwnam(user)) == NULL) { 152 return (ent->pw_uid);
|
/system/core/debuggerd/handler/ |
debuggerd_fallback.cpp | 88 struct dirent* ent; local 89 while ((ent = readdir(dir))) { 91 long tid = strtol(ent->d_name, &end, 10); 92 if (end == ent->d_name || *end != '\0') {
|
/system/vold/ |
MoveTask.cpp | 71 struct dirent* ent; local 72 while ((ent = readdir(dir)) != NULL) { 73 if ((!strcmp(ent->d_name, ".")) || (!strcmp(ent->d_name, ".."))) { 76 cmd.push_back(StringPrintf("%s/%s", path.c_str(), ent->d_name));
|
/external/e2fsprogs/resize/ |
extent.c | 83 struct ext2_extent_entry *ent; local 99 ent = extent->list + curr; 105 ent--; 106 if ((ent->old_loc + ent->size == old_loc) && 107 (ent->new_loc + ent->size == new_loc)) { 108 ent->size++; 114 if (ent->old_loc + ent->size > old_loc 200 struct ext2_extent_entry *ent; local 217 struct ext2_extent_entry *ent; local [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetSelector.java | 134 int ent = mask[i]; local 135 for (; ent != 0; totalOnes++) { 136 ent &= ent - 1; // clear the least significant bit set
|
/frameworks/base/services/core/java/com/android/server/ |
AttributeCache.java | 123 Entry ent = null; local 127 ent = map.get(styleable); 128 if (ent != null) { 129 return ent; 153 ent = new Entry(pkg.context, 155 map.put(styleable, ent); 160 return ent;
|
/frameworks/base/tools/aapt/ |
StringPool.cpp | 155 entry& ent = mEntries.editItemAt(eidx); local 158 configTypeName->string(), ent.configTypeName.string()); 160 if (ent.configTypeName.size() <= 0) { 161 ent.configTypeName = *configTypeName; 162 } else if (ent.configTypeName != *configTypeName) { 163 ent.configTypeName = " "; 169 entry& ent = mEntries.editItemAt(eidx); local 171 for (addPos=0; addPos<ent.configs.size(); addPos++) { 172 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); 178 ent.configs.insertAt(*config, addPos) 576 entry& ent = mEntries.editItemAt(mEntryArray[i]); variable [all...] |
/libcore/ojluni/src/main/native/ |
LinuxNativeDispatcher.c | 175 struct mntent ent; local 187 m = getmntent_r(fp, &ent, (char*)&buf, buflen);
|