Searched defs:ent (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/jni/ |
H A D | android_server_Watchdog.cpp | 81 struct dirent * ent; local 82 while ((ent = readdir(taskdir)) != NULL) { 83 int tid = atoi(ent->d_name);
|
/frameworks/av/media/libstagefright/id3/ |
H A D | 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")) {
|
/frameworks/base/media/libdrm/mobile1/src/objmng/ |
H A D | drm_file.c | 133 struct dirent *ent; local 159 while ((ent = readdir(dir)) != NULL ) 161 if (strcmp(ent->d_name, ".") == 0 || 162 strcmp(ent->d_name, "..") == 0) 168 if ((int)(strlen(ent->d_name) + dirPathLen + 1) < len) 170 strcat(path, ent->d_name); 280 struct dirent *ent; local 297 while ( (ent = readdir((DIR *)*session)) != NULL) 299 int len = strlen(ent->d_name); 303 Trace("DRM_file_listNextEntry: %s too long", ent [all...] |
/frameworks/base/tools/aapt/ |
H A D | StringPool.cpp | 134 entry& ent = mEntries.editItemAt(eidx); local 136 configTypeName->string(), ent.configTypeName.string())); 137 if (ent.configTypeName.size() <= 0) { 138 ent.configTypeName = *configTypeName; 139 } else if (ent.configTypeName != *configTypeName) { 140 ent.configTypeName = " "; 146 entry& ent = mEntries.editItemAt(eidx); local 148 for (addPos=0; addPos<ent.configs.size(); addPos++) { 149 int cmp = ent.configs.itemAt(addPos).compareLogical(*config); 153 ent 331 const entry& ent = mEntries[i]; local 415 entry& ent = mEntries.editItemAt(i); local 477 entry_style& ent = mEntryStyleArray.editItemAt(i); local 542 entry& ent = mEntries.editItemAt(mEntryArray[i]); local [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 251 struct hostent *ent = gethostbyname(host.c_str()); local 252 if (ent == NULL) { 274 remote.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
|
H A D | MyHandler.h | 271 struct hostent *ent = gethostbyname(mSessionHost.c_str()); local 272 if (ent == NULL) { 279 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
|
/frameworks/av/media/libstagefright/wifi-display/ |
H A D | ANetworkSession.cpp | 787 struct hostent *ent= gethostbyname(remoteHost); local 788 if (ent == NULL) { 793 addr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; 836 struct hostent *ent= gethostbyname(remoteHost); local 837 if (ent == NULL) { 842 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr; 929 struct hostent *ent = gethostbyname(remoteHost); local 930 if (ent == NULL) { 933 remoteAddr.sin_addr.s_addr = *(in_addr_t *)ent->h_addr;
|
/frameworks/native/libs/utils/ |
H A D | ZipFileRO.cpp | 121 long ent = ((intptr_t) entry) - kZipEntryAdj; local 122 if (ent < 0 || ent >= mHashTableSize || mHashTable[ent].name == NULL) { 123 ALOGW("Invalid ZipEntryRO %p (%ld)\n", entry, ent); 126 return ent; 419 int ent = hash & (mHashTableSize-1); local 424 while (mHashTable[ent].name != NULL) 425 ent = (ent 448 int ent = hash & (mHashTableSize-1); local 499 const int ent = entryToIndex(entry); local 644 int ent = entryToIndex(entry); local 695 int ent = entryToIndex(entry); local 755 int ent = entryToIndex(entry); local [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 420 struct dirent *ent; local 421 while((ent = readdir(d)) != NULL) { 422 if (strcmp(ent->d_name,".") && strcmp(ent->d_name,"..")) { 423 snprintf(buffer, SIZE, "/proc/%d/fd/%s", gettid(), ent->d_name);
|
/frameworks/base/libs/androidfw/ |
H A D | ResourceTypes.cpp | 3719 ALOGW("ResTable_entry at %d (pkg=%d type=%d ent=%d) is not on an integer boundary when looking for %s:%s/%s", 5551 const ResTable_entry* ent = (const ResTable_entry*) local 5559 uint16_t esize = dtohs(ent->size); 5574 if ((dtohs(ent->flags)&ResTable_entry::FLAG_COMPLEX) != 0) { 5576 bagPtr = (const ResTable_map_entry*)ent; 5579 (((const uint8_t*)ent) + esize); 5586 if ((dtohs(ent->flags)&ResTable_entry::FLAG_PUBLIC) != 0) { 5597 const uint8_t* baseMapPtr = (const uint8_t*)ent;
|
Completed in 178 milliseconds