Searched refs:entry (Results 26 - 50 of 53) sorted by relevance

123

/system/core/include/utils/
H A DBasicHashtable.h33 // may need to seek further along the chain to find the entry.
36 // The present flag indicates that the bucket contains an initialized entry value.
41 // hash code of the entry's key.
48 // Storage for the entry begins here.
49 char entry[0]; member in struct:android::BasicHashtableImpl::Bucket
70 size_t add(hash_t hash, const void* __restrict__ entry);
74 const size_t mBucketSize; // number of bytes per bucket including the entry
75 const bool mHasTrivialDestructor; // true if the entry type does not require destruction
93 virtual void initializeBucketEntry(Bucket& bucket, const void* __restrict__ entry) const = 0;
157 * TEntry: The entry typ
293 add(hash_t hash, const TEntry& entry) argument
389 memcpy(&entryFor(bucket), entry, sizeof(TEntry)); local
[all...]
/system/media/camera/docs/
H A DCameraCharacteristicsTest.mako61 % for entry in find_unique_entries(sec):
62 % if entry.kind == 'static' and entry.visibility == "public":
64 public void testCameraCharacteristics${pascal_case(entry.name)}() throws Exception {
71 % if entry.applied_optional:
79 assertNotNull("Invalid property: ${entry.name}",
80 props.get(CameraCharacteristics.${jkey_identifier(entry.name)}));
85 assertTrue("Key not in keys list: ${entry.name}", allKeys.contains(
86 CameraCharacteristics.${jkey_identifier(entry.name)}));
H A Dmetadata_model.py24 Entry: A node corresponding to <entry> elements.
26 MergedEntry: A node corresponding to either <entry> or <clone> elements.
31 Enum: A class corresponding an <enum> element within an <entry>
193 A node corresponding to a <metadata> entry.
210 # kind => { name => entry }
290 def insert_entry(self, entry):
292 Insert an entry into the metadata.
295 entry: A key-value dictionary describing an entry. Refer to
299 Subsequent calls to insert_entry with the same entry
1367 def entry(self): member in class:Clone
[all...]
H A Dmetadata_template.mako59 % for entry in node.entries:
60 ${insert_entry(entry)}
72 <clone entry="${prop.name}" kind="${prop.target_kind}">
84 <entry name="${prop.name_short}" type="${prop.type}"
158 </entry>
H A Dhtml.mako31 .entry { background-color: #f0f0f0 }
64 .entry ul { margin: 0 0 0 0; list-style-position: inside; padding-left: 0.5em; }
65 .entry ul li { padding: 0 0 0 0; margin: 0 0 0 0;}
74 /* TODO for each x.y.z try to link it to the entry */
125 % for entry in node.merged_entries:
126 <li><a href="#${entry.kind}_${entry.name}">${entry.name}</a></li>
199 % for entry in node.merged_entries:
200 ${insert_entry(entry)}
[all...]
/system/media/camera/tests/
H A Dcamera_metadata_tests.cpp257 camera_metadata_entry entry; local
259 0, &entry);
261 EXPECT_EQ(0, (int)entry.index);
262 EXPECT_EQ(ANDROID_SENSOR_EXPOSURE_TIME, entry.tag);
263 EXPECT_EQ(TYPE_INT64, entry.type);
264 EXPECT_EQ((size_t)1, entry.count);
265 EXPECT_EQ(exposure_time, *entry.data.i64);
268 1, &entry);
270 EXPECT_EQ((size_t)1, entry.index);
271 EXPECT_EQ(ANDROID_SENSOR_SENSITIVITY, entry
350 camera_metadata_entry entry; local
811 camera_metadata_ro_entry_t entry; local
946 camera_metadata_entry_t entry; local
[all...]
/system/core/init/
H A Dproperty_service.c484 struct dirent* entry; local
491 while ((entry = readdir(dir)) != NULL) {
492 if (strncmp("persist.", entry->d_name, strlen("persist.")))
495 if (entry->d_type != DT_REG)
499 fd = openat(dir_fd, entry->d_name, O_RDONLY | O_NOFOLLOW);
502 entry->d_name, errno);
506 ERROR("fstat on property file \"%s\" failed errno: %d\n", entry->d_name, errno);
518 entry->d_name, sb.st_uid, sb.st_gid, sb.st_nlink, sb.st_mode);
526 property_set(entry->d_name, value);
529 entry
[all...]
H A Dbootchart.c245 struct dirent* entry; local
249 while ((entry = readdir(dir)) != NULL) {
252 int pid = strtol( entry->d_name, &end, 10);
253 if (end != NULL && end > entry->d_name && *end == 0) {
H A Dinit.c106 char *entry = malloc(len); local
107 snprintf(entry, len, "%s=%s", key, val);
108 ENV[n] = entry;
/system/core/libutils/tests/
H A DBasicHashtable_test.cpp145 static void getKeyValue(const TEntry& entry, int* key, int* value);
147 template <> void getKeyValue(const SimpleEntry& entry, int* key, int* value) { argument
148 *key = entry.key;
149 *value = entry.value;
152 template <> void getKeyValue(const ComplexEntry& entry, int* key, int* value) { argument
153 *key = entry.key.k;
154 *value = entry.value.v;
397 const SimpleEntry& entry = h.entryAt(index); local
398 ASSERT_GE(entry.key, 0);
399 ASSERT_LT(entry
[all...]
/system/media/camera/include/system/
H A Dcamera_metadata.h74 * A reference to a metadata entry in a buffer.
78 * number of entries in data of the entry's type, not a count of bytes.
96 * A read-only reference to a metadata entry in a buffer. Identical to
115 * Size in bytes of each entry type
121 * Human-readable name of each entry type
127 * Main definitions for the metadata entry and array structures
135 * has a fixed capacity for entries and for extra data. A new entry uses up one
136 * entry slot, and possibly some amount of data capacity; the function
138 * capacity that would be used up by an entry.
159 * and extra data. The entry_capacity is measured in entry count
[all...]
/system/extras/tests/sdcard/
H A Dsysutil.cpp414 struct dirent *entry; local
417 while((entry = readdir(dir)))
419 if (0 == strcmp(entry->d_name, ".")
420 || 0 == strcmp(entry->d_name, "..")
421 || 0 == strcmp(entry->d_name, "lost+found"))
427 strcat(name_buffer, entry->d_name);
/system/core/libpixelflinger/codeflinger/
H A DCodeCache.h96 : entry(a), when(w) { }
97 sp<Assembly> entry; member in struct:android::CodeCache::cache_entry_t
H A DCodeCache.cpp172 r = e.entry;
195 mCacheInUse -= e.entry->size();
/system/core/liblog/
H A Dfake_log_device.c197 int entry = 0; local
257 logState->tagSet[entry].minPriority = minPrio;
258 strcpy(logState->tagSet[entry].tag, tagName);
259 TRACE("+++ entry %d: %s:%d\n",
260 entry,
261 logState->tagSet[entry].tag,
262 logState->tagSet[entry].minPriority);
263 entry++;
/system/core/debuggerd/
H A Dtombstone.c405 /* map would be between "prev" and this entry */
509 struct logger_entry entry; member in union:__anon22
539 struct logger_entry* entry = &log_entry.entry; local
541 if (entry->pid != (int32_t) pid) {
562 unsigned char prio = entry->msg[0];
563 char* tag = entry->msg + 1;
575 time_t sec = (time_t) entry->sec;
584 timeBuf, entry->nsec / 1000000, entry
[all...]
/system/core/libutils/
H A DBasicHashtable.cpp152 size_t BasicHashtableImpl::add(hash_t hash, const void* entry) { argument
183 initializeBucketEntry(*bucket, entry);
229 initializeBucketEntry(*toBucket, fromBucket.entry);
284 initializeBucketEntry(toBucket, fromBucket.entry);
H A DBlobCache.cpp86 // Create a new cache entry.
105 ALOGV("set: created new cache entry with %d byte key and %d byte value",
108 // Update the existing cache entry.
126 ALOGV("set: updated existing cache entry with %d byte key and %d byte "
144 ALOGV("get: no cache entry found for key of size %d", keySize);
248 ALOGE("unflatten: not enough room for cache entry headers");
260 ALOGE("unflatten: not enough room for cache entry headers");
282 // Remove a random cache entry until the total cache size gets below half
286 const CacheEntry& entry(mCacheEntries[i]);
287 mTotalSize -= entry
[all...]
H A DProcessCallStack.cpp129 struct dirent entry; local
157 while ((code = readdir_r(dp, &entry, &ep)) == 0 && ep != NULL) {
/system/core/healthd/
H A DBatteryMonitor.cpp283 struct dirent* entry; local
285 while ((entry = readdir(dir))) {
286 const char* name = entry->d_name;
/system/core/toolbox/
H A Ddu.c243 static struct entry { struct
268 struct entry *ohtable;
308 /* Insert the current entry into hashtable */
/system/extras/fatblock/
H A Dfs.c102 static void fs_set_fat(struct fs *fs, cluster_t cluster, fat_entry_t entry) argument
106 fs->fat[cluster] = htole32(entry);
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c153 uintptr_t entry = exidx_start + index * 8; local
156 if (!try_get_word(memory, entry, &entry_prel_pc)) {
159 uintptr_t entry_pc = prel_to_absolute(entry, entry_prel_pc);
166 uintptr_t next_entry = entry + 8;
179 uintptr_t entry_handler_ptr = entry + 4;
542 // Add a final entry for the LR if it looks sane and call it good.
/system/core/fastboot/
H A Dfastboot.c389 zipentry_t entry; local
392 entry = lookup_zipentry(zip, name);
393 if (entry == NULL) {
398 *sz = get_zipentry_size(entry);
408 if (decompress_zipentry(entry, data, datasz)) {
/system/core/adb/
H A Dfile_sync_client.c316 zipentry_t entry; local
360 entry = lookup_zipentry(zip, "AndroidManifest.xml");
362 if (entry == NULL) {

Completed in 1683 milliseconds

123