Searched refs:val (Results 26 - 50 of 55) sorted by relevance

123

/system/core/libsparse/
H A Dbacked_block.c43 uint32_t val; member in struct:backed_block::__anon224::__anon228
106 return bb->fill.val;
219 if (a->fill.val != b->fill.val) {
299 bb->fill.val = fill_val;
/system/core/sh/
H A Dexpand.c610 char *val; local
629 val = NULL;
631 val = lookupvar(var);
632 if (val == NULL || ((varflags & VSNUL) && val[0] == '\0')) {
633 val = NULL;
668 for (;*val; val++)
671 while (*val) {
672 if (quotes && syntax[(int)*val]
1495 casematch(union node *pattern, char *val) argument
[all...]
/system/core/init/
H A Dlogo.c33 void android_memset16(void *_ptr, unsigned short val, unsigned count) argument
38 *ptr++ = val;
H A Dinit.c99 int add_environment(const char *key, const char *val) argument
105 size_t len = strlen(key) + strlen(val) + 2;
107 snprintf(entry, len, "%s=%s", key, val);
142 char val[64]; local
147 snprintf(val, sizeof(val), "%d", fd);
148 add_environment(key, val);
/system/media/camera/docs/
H A Dcamera_metadata_tag_info.mako77 % for val in entry.enum.values:
78 case ${entry.name | csym}_${val.name}:
79 msg = "${val.name}";
H A Dmetadata_parser_xml.py216 for val in tupl.find_all('value'):
217 tupl_values.append(val.name)
H A Dmetadata_model.py984 [ EnumValue(val, self, ids.get(val), val in optionals, notes.get(val)) \
985 for val in values ]
H A Dhtml.mako240 % for val in prop.tuple_values:
241 <li>${val}</li>
/system/vold/
H A Dcryptfs.h110 char val[PROPERTY_VALUE_MAX]; member in struct:crypt_persist_entry
H A Dcryptfs.c1954 strlcpy(value, persist_data->persist_entry[i].val, PROPERTY_VALUE_MAX);
1993 memset(persist_data->persist_entry[i].val, 0, PROPERTY_VALUE_MAX);
1994 strlcpy(persist_data->persist_entry[i].val, value, PROPERTY_VALUE_MAX);
2003 strlcpy(persist_data->persist_entry[num].val, value, PROPERTY_VALUE_MAX);
/system/core/liblog/
H A Devent_tag_map.c338 unsigned long val; local
345 val = strtoul(startp, &endp, 10);
350 tag->tagIndex = val;
/system/core/libutils/tests/
H A DLruCache_test.cpp195 const char *val = cache.get(key); local
196 if (val != NULL) {
197 EXPECT_EQ(strings[index], val);
/system/extras/tests/bionic/libc/common/
H A Dtest_pthread_rwlock.c106 #define TEXPECT_INT(cond,val) \
107 { int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, _ret, (val)); }
H A Dtest_pthread_mutex.c107 #define TEXPECT_INT(cond,val) \
108 { int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, _ret, (val)); }
/system/core/fastboot/
H A Dfastboot.c457 char *val[MAX_OPTIONS]; local
483 val[0] = x + 1;
486 x = strchr(val[count - 1],'|');
489 val[count] = x + 1;
493 for(n = 0; n < count; n++) val[n] = strip(val[n]);
505 out[n] = strdup(strip(val[n]));
923 unsigned long val; local
925 val = strtoul(optarg, &endptr, 0);
926 if (!endptr || *endptr != '\0' || (val
[all...]
H A Dengine.c415 const char *val; local
420 const char *val = value[n]; local
421 int len = strlen(val);
424 if ((len > 1) && (val[len-1] == '*')) {
426 match = !strncmp(val, str, len);
428 match = !strcmp(val, str);
/system/core/include/private/pixelflinger/
H A Dggl_context.h142 #define GGL_BUILD_NEEDS(val, name) \
143 (((val)<<(GGL_NEEDS_##name##_SHIFT)) & GGL_NEEDS_##name##_MASK)
149 #define GGL_NEED(name, val) GGL_BUILD_NEEDS(val, name)
/system/extras/ext4_utils/
H A Dcontents.c387 char *val = (char *) new_entry + available_size - EXT4_XATTR_SIZE(value_len); local
388 size_t e_value_offs = val - (char *) block_start;
391 memset(val, 0, EXT4_XATTR_SIZE(value_len));
392 memcpy(val, value, value_len);
/system/core/libcutils/tests/memset_mips/
H A Dtest_memset.c56 timeone(void (*fn)(), void *d, uint32_t val, uint32_t bytes) argument
60 (*fn)(d, val, bytes);
/system/core/include/utils/
H A DRefBase.h34 TextOutput& printWeakPointer(TextOutput& to, const void* val);
299 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
460 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
462 return printWeakPointer(to, val.unsafe_get());
/system/core/healthd/
H A DBatteryMonitor.cpp41 int val; member in struct:android::sysfsStringEnumMap
48 return map[i].val;
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.cpp860 static uint32_t find_bottom(uint32_t val) argument
863 while (!(val & (3<<i)))
868 static void normalize(uint32_t& val, uint32_t& rot) argument
871 while (!(val&3) || (val & 0xFC000000)) {
873 newval = val >> 2;
874 newval |= (val&3) << 30;
875 val = newval;
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c156 uint32_t val = 0; local
162 val |= ((uint32_t)buf & 0x7f) << (c * 7);
171 val |= ((uint32_t)-1 << (c * 7));
174 *out_value = val;
/system/core/toolbox/
H A Dnewfs_msdos.c938 ckgeom(const char *fname, u_int val, const char *msg) argument
940 if (!val)
942 if (val > MAXU16)
943 errx(1, "%s: illegal %s %d", fname, msg, val);
944 return val;
/system/extras/tests/sdcard/
H A Dplot_sdcard.py315 for flag, val in optlist:

Completed in 809 milliseconds

123