/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);
|
/frameworks/base/core/java/android/app/ |
AppImportanceMonitor.java | 102 AppEntry ent = mApps.get(uid); local 103 if (ent == null) { 106 return ent.importance; 116 AppEntry ent = mApps.get(uid); local 117 if (ent == null) { 118 ent = new AppEntry(uid); 119 mApps.put(uid, ent); 122 ent.procs.remove(pid); 124 ent.procs.put(pid, importance); 126 updateImportanceLocked(ent, repChange) [all...] |
/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);
|
/bootable/recovery/tools/ota/ |
check-lost+found.c | 106 struct dirent *ent; local 107 while ((ent = readdir(dir))) { 108 if (strcmp(ent->d_name, ".") && strcmp(ent->d_name, ".."))
|
/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/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);
|
files.cpp | 440 struct dirent *ent; local 441 while (NULL != (ent = readdir(d))) { 442 if (0 == strcmp(".", ent->d_name) 443 || 0 == strcmp("..", ent->d_name)) { 446 if (matches_excludes(ent->d_name, excludes)) { 449 string entry = path_append(path, ent->d_name); 450 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/e2fsprogs/debugfs/ |
htree.c | 117 struct ext2_dx_entry *ent, 125 limit = *((struct ext2_dx_countlimit *) ent); 133 hash = i ? ext2fs_le32_to_cpu(ent[i].hash) : 0; 136 ext2fs_le32_to_cpu(ent[i].block)); 142 e.hash = ext2fs_le32_to_cpu(ent[i].hash); 143 e.block = ext2fs_le32_to_cpu(ent[i].block); 202 struct ext2_dx_entry *ent; local 255 ent = (struct ext2_dx_entry *) (buf + 24 + rootnode->info_length); 257 htree_dump_int_node(current_fs, ino, &inode, rootnode, ent,
|
/external/e2fsprogs/resize/ |
extent.c | 82 struct ext2_extent_entry *ent; local 98 ent = extent->list + curr; 104 ent--; 105 if ((ent->old_loc + ent->size == old_loc) && 106 (ent->new_loc + ent->size == new_loc)) { 107 ent->size++; 113 if (ent->old_loc + ent->size > old_loc 199 struct ext2_extent_entry *ent; local 216 struct ext2_extent_entry *ent; local [all...] |
/external/e2fsprogs/util/ |
subst.c | 37 struct subst_entry *ent = 0; local 39 ent = (struct subst_entry *) malloc(sizeof(struct subst_entry)); 40 if (!ent) 42 ent->name = (char *) malloc(strlen(name)+1); 43 if (!ent->name) 45 ent->value = (char *) malloc(strlen(value)+1); 46 if (!ent->value) 48 strcpy(ent->name, name); 49 strcpy(ent->value, value); 50 ent->next = subst_table 63 struct subst_entry *ent; local 121 struct subst_entry *ent; local [all...] |
/external/icu/icu4j/main/classes/charset/src/com/ibm/icu/charset/ |
CharsetSelector.java | 132 int ent = mask[i]; local 133 for (; ent != 0; totalOnes++) { 134 ent &= ent - 1; // clear the least significant bit set
|
/external/opencv3/modules/core/src/ |
glob.cpp | 65 dirent ent; member in struct:__anon21423::DIR 70 if (ent.d_name) 71 delete[] ent.d_name; 79 dir->ent.d_name = 0; 103 if (dir->ent.d_name != 0) 113 dir->ent.d_name = aname; 115 if (dir->ent.d_name != 0) 120 dir->ent.d_name = dir->data.cFileName; 122 return &dir->ent; 223 struct dirent *ent; local [all...] |
/frameworks/base/services/core/java/com/android/server/ |
AttributeCache.java | 126 Entry ent = null; local 130 ent = map.get(styleable); 131 if (ent != null) { 132 return ent; 156 ent = new Entry(pkg.context, 158 map.put(styleable, ent); 163 return ent;
|
/frameworks/base/tools/aapt/ |
StringPool.cpp | 159 entry& ent = mEntries.editItemAt(eidx); local 162 configTypeName->string(), ent.configTypeName.string()); 164 if (ent.configTypeName.size() <= 0) { 165 ent.configTypeName = *configTypeName; 166 } else if (ent.configTypeName != *configTypeName) { 167 ent.configTypeName = " "; 173 entry& ent = mEntries.editItemAt(eidx); local 175 for (addPos=0; addPos<ent.configs.size(); addPos++) { 176 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); 182 ent.configs.insertAt(*config, addPos) 580 entry& ent = mEntries.editItemAt(mEntryArray[i]); variable [all...] |
/system/vold/ |
MoveTask.cpp | 69 struct dirent* ent; local 70 while ((ent = readdir(dir)) != NULL) { 71 if ((!strcmp(ent->d_name, ".")) || (!strcmp(ent->d_name, ".."))) { 74 cmd.push_back(StringPrintf("%s/%s", path.c_str(), ent->d_name));
|
/build/libs/host/ |
CopyFile.c | 484 struct dirent* ent; local 489 ent = readdir(dir); 490 if (ent == NULL) 493 if (strcmp(ent->d_name, ".") == 0 || 494 strcmp(ent->d_name, "..") == 0) 499 nameLen = strlen(ent->d_name); 506 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); 511 memcpy(dstFile + dstLen+1, ent->d_name, nameLen +1);
|
/external/boringssl/src/crypto/x509/ |
by_dir.c | 183 static void by_dir_entry_free(BY_DIR_ENTRY *ent) 185 if (ent->dir) 186 OPENSSL_free(ent->dir); 187 if (ent->hashes) 188 sk_BY_DIR_HASH_pop_free(ent->hashes, by_dir_hash_free); 189 OPENSSL_free(ent); 221 BY_DIR_ENTRY *ent; local 228 ent = sk_BY_DIR_ENTRY_value(ctx->dirs, j); 229 if (strlen(ent->dir) == len && 230 strncmp(ent->dir,ss,len) == 0 333 BY_DIR_ENTRY *ent; local [all...] |
/external/curl/lib/ |
openldap.c | 423 LDAPMessage *ent; local 445 for(ent = ldap_first_message(li->ld, msg); ent; 446 ent = ldap_next_message(li->ld, ent)) { 450 msgtype = ldap_msgtype(ent); 454 rc = ldap_parse_result(li->ld, ent, &code, NULL, &info, NULL, NULL, 0); 481 rc = ldap_get_dn_ber(li->ld, ent, &ber, &bv); 502 for(rc = ldap_get_attribute_ber(li->ld, ent, ber, &bv, bvp); 504 rc = ldap_get_attribute_ber(li->ld, ent, ber, &bv, bvp)) [all...] |
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 120 struct dir_info *dir, ent; local 144 ent.ino = ino; 145 ent.parent = parent; 146 ent.dotdot = parent; 149 e2fsck_put_dir_info(ctx, &ent);
|
/external/e2fsprogs/tests/progs/ |
test_rel.c | 93 struct ext2_block_relocate_entry *ent) 95 printf("Old= %u, New= %u, Owner= %u:%u\n", old, ent->new, 96 ent->owner.block_ref, ent->offset); 103 struct ext2_inode_relocate_entry *ent, 111 ent->new, ent->orig, ent->max_refs); 176 struct ext2_block_relocate_entry ent; local 200 ent.new = new 217 struct ext2_block_relocate_entry ent; local 255 struct ext2_block_relocate_entry ent; local 277 struct ext2_block_relocate_entry ent; local 385 struct ext2_inode_relocate_entry ent; local 421 struct ext2_inode_relocate_entry ent; local 447 struct ext2_inode_relocate_entry ent; local 487 struct ext2_inode_relocate_entry ent; local 509 struct ext2_inode_relocate_entry ent; local [all...] |
/external/glide/third_party/gif_encoder/src/main/java/com/bumptech/glide/gifencoder/ |
LZWEncoder.java | 149 int ent; local 168 ent = nextPixel(); 182 fcode = (c << maxbits) + ent; 183 i = (c << hshift) ^ ent; // xor hashing 186 ent = codetab[i]; 198 ent = codetab[i]; 203 output(ent, outs); 204 ent = c; 212 output(ent, outs);
|