/frameworks/base/core/java/com/android/internal/os/ |
PkgUsageStats.java | 89 for (Map.Entry<String, Long> ent : componentResumeTimes.entrySet()) { 90 dest.writeString(ent.getKey()); 91 dest.writeLong(ent.getValue());
|
/external/quake/quake/src/WinQuake/ |
world.h | 36 edict_t *ent; // entity the surface is on
member in struct:__anon10950 48 void SV_UnlinkEdict (edict_t *ent);
51 // flags ent->v.modified
53 void SV_LinkEdict (edict_t *ent, qboolean touch_triggers);
55 // flags ent->v.modified
56 // sets ent->v.absmin and ent->v.absmax
65 edict_t *SV_TestEntityPosition (edict_t *ent);
|
cl_tent.cpp | 67 int ent;
local 72 ent = MSG_ReadShort ();
84 if (b->entity == ent)
86 b->entity = ent;
99 b->entity = ent;
303 entity_t *ent;
local 309 ent = &cl_temp_entities[num_temp_entities];
310 memset (ent, 0, sizeof(*ent));
312 cl_visedicts[cl_numvisedicts] = ent;
331 entity_t *ent; local [all...] |
sv_move.cpp | 37 qboolean SV_CheckBottom (edict_t *ent) 44 VectorAdd (ent->u.v.origin, ent->u.v.mins, mins); 45 VectorAdd (ent->u.v.origin, ent->u.v.maxs, maxs); 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 110 qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink) 119 VectorCopy (ent->u.v.origin, oldorg); 120 VectorAdd (ent->u.v.origin, move, neworg) 395 edict_t *ent, *goal; local [all...] |
/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 | 105 struct dirent *ent; local 106 while ((ent = readdir(dir))) { 107 if (strcmp(ent->d_name, ".") && strcmp(ent->d_name, ".."))
|
/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; 67 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); 451 bool is_directory = (ent->d_type == DT_DIR);
|
/frameworks/base/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")) {
|
/external/chromium/third_party/libjingle/source/talk/base/ |
nethelpers.cc | 70 hostent* ent = gethostbyname(hostname); local 71 if (!ent) { 79 total_len += strlen(ent->h_name) + 1; 80 while (ent->h_aliases[num_aliases]) { 81 total_len += sizeof(char*) + strlen(ent->h_aliases[num_aliases]) + 1; 85 while (ent->h_addr_list[num_addrs]) { 86 total_len += sizeof(char*) + ent->h_length; 99 memcpy(p, ent->h_name, strlen(ent->h_name) + 1); 100 p += strlen(ent->h_name) + 1 [all...] |
/external/oprofile/libutil/ |
op_file.c | 89 struct dirent * ent, 94 name_len = strlen(basedir) + strlen("/") + strlen(ent->d_name) + 1; 96 sprintf(name, "%s/%s", basedir, ent->d_name); 134 struct dirent * ent; local 141 while ((ent = readdir(dir)) != 0) { 142 if (is_dot_or_dotdot(ent->d_name)) 144 if (fnmatch(filter, ent->d_name, 0) == 0) 155 getpathname(ent->d_name, name_list); 158 name = make_pathname_from_dirent(base_dir, ent, 173 name = make_pathname_from_dirent(base_dir, ent, [all...] |
/external/quake/quake/src/QW/server/ |
world.h | 36 edict_t *ent; // entity the surface is on member in struct:__anon10627 62 void SV_UnlinkEdict (edict_t *ent); 65 // flags ent->v.modified 67 void SV_LinkEdict (edict_t *ent, qboolean touch_triggers); 69 // flags ent->v.modified 70 // sets ent->v.absmin and ent->v.absmax 77 edict_t *SV_TestEntityPosition (edict_t *ent); 93 edict_t *SV_TestPlayerPosition (edict_t *ent, vec3_t origin);
|
sv_init.c | 283 edict_t *ent; local 331 ent = EDICT_NUM(i+1); 332 svs.clients[i].edict = ent; 372 ent = EDICT_NUM(0); 373 ent->free = false; 374 ent->v.model = PR_SetString(sv.worldmodel->name); 375 ent->v.modelindex = 1; // world model 376 ent->v.solid = SOLID_BSP; 377 ent->v.movetype = MOVETYPE_PUSH;
|
sv_move.c | 37 qboolean SV_CheckBottom (edict_t *ent) 44 VectorAdd (ent->v.origin, ent->v.mins, mins); 45 VectorAdd (ent->v.origin, ent->v.maxs, maxs); 74 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 87 trace = SV_Move (start, vec3_origin, vec3_origin, stop, true, ent); 110 qboolean SV_movestep (edict_t *ent, vec3_t move, qboolean relink) 119 VectorCopy (ent->v.origin, oldorg); 120 VectorAdd (ent->v.origin, move, neworg) 395 edict_t *ent, *goal; local [all...] |
/bionic/libc/unistd/ |
opendir.c | 154 struct dirent* ent; local 163 ent = _readdir_unlocked(dir); 165 if (ent == NULL) { 173 memcpy( entry, ent, ent->d_reclen );
|
/external/e2fsprogs/debugfs/ |
htree.c | 118 struct ext2_dx_entry *ent, 126 limit = *((struct ext2_dx_countlimit *) ent); 134 hash = i ? ext2fs_le32_to_cpu(ent[i].hash) : 0; 137 ext2fs_le32_to_cpu(ent[i].block)); 143 e.hash = ext2fs_le32_to_cpu(ent[i].hash); 144 e.block = ext2fs_le32_to_cpu(ent[i].block); 205 struct ext2_dx_entry *ent; local 280 ent = (struct ext2_dx_entry *) (buf + 24 + rootnode->info_length); 281 limit = (struct ext2_dx_countlimit *) ent; 283 htree_dump_int_node(current_fs, ino, &inode, rootnode, ent, [all...] |
/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 194 struct ext2_extent_entry *ent; local 211 struct ext2_extent_entry *ent; local [all...] |
/external/e2fsprogs/util/ |
subst.c | 37 struct subst_entry *ent = 0; local 41 ent = (struct subst_entry *) malloc(sizeof(struct subst_entry)); 42 if (!ent) 44 ent->name = (char *) malloc(strlen(name)+1); 45 if (!ent->name) 47 ent->value = (char *) malloc(strlen(value)+1); 48 if (!ent->value) 50 strcpy(ent->name, name); 51 strcpy(ent->value, value); 52 ent->next = subst_table 66 struct subst_entry *ent; local 124 struct subst_entry *ent; local [all...] |
/external/openssl/ssl/ |
s3_both.c | 693 SSL3_BUF_FREELIST_ENTRY *ent = NULL; local 699 ent = list->head; 700 if (ent != NULL) 702 list->head = ent->next; 703 result = ent; 717 SSL3_BUF_FREELIST_ENTRY *ent; local 724 sz >= sizeof(*ent)) 727 ent = mem; 728 ent->next = list->head; 729 list->head = ent; [all...] |
/external/quake/quake/src/QW/client/ |
cl_demo.c | 384 entity_t *ent; local 523 ent = cl_static_entities + i; 528 if (ent->model == cl.model_precache[j]) 535 MSG_WriteByte (&buf, ent->frame); 537 MSG_WriteByte (&buf, ent->skinnum); 540 MSG_WriteCoord (&buf, ent->origin[j]); 541 MSG_WriteAngle (&buf, ent->angles[j]);
|
/frameworks/base/services/java/com/android/server/ |
AttributeCache.java | 101 Entry ent = null; local 105 ent = map.get(styleable); 106 if (ent != null) { 107 return ent; 130 ent = new Entry(pkg.context, 132 map.put(styleable, ent); 137 return ent;
|
/build/libs/host/ |
CopyFile.c | 481 struct dirent* ent; local 486 ent = readdir(dir); 487 if (ent == NULL) 490 if (strcmp(ent->d_name, ".") == 0 || 491 strcmp(ent->d_name, "..") == 0) 496 nameLen = strlen(ent->d_name); 503 memcpy(srcFile + srcLen+1, ent->d_name, nameLen +1); 508 memcpy(dstFile + dstLen+1, ent->d_name, nameLen +1);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
SimpleEntryTest.java | 89 Entry ent = new AbstractMap.SimpleImmutableEntry<Integer, String>(1,"test"); local 90 assertEquals(entry,ent);
|
/external/e2fsprogs/e2fsck/ |
dirinfo.c | 112 struct dir_info *dir, ent; local 136 ent.ino = ino; 137 ent.parent = parent; 138 ent.dotdot = parent; 141 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...] |