Searched refs:value (Results 76 - 100 of 131) sorted by relevance

123456

/system/core/libcutils/tests/memset_mips/
H A Dtest_memset.c174 extern void android_memset32_dumb(uint32_t* dst, uint32_t value, size_t size);
175 extern void android_memset16_dumb(uint32_t* dst, uint16_t value, size_t size);
176 extern void android_memset32_test(uint32_t* dst, uint32_t value, size_t size);
177 extern void android_memset16_test(uint32_t* dst, uint16_t value, size_t size);
178 extern void memset_cmips(void* dst, int value, size_t size);
179 extern void memset_omips(void* dst, int value, size_t size);
/system/core/run-as/
H A Dpackage.c369 * is reached. Adjust '*pp' on exit. Return decimal value or -1
372 * If the value is larger than INT_MAX, -1 will be returned,
382 int value = 0; local
398 val2 = value*10 + (int)d;
399 if (val2 < value)
401 value = val2;
408 value = -1;
410 return value;
/system/media/camera/docs/
H A Dmetadata_parser_xml.py179 for value in entry.enum.find_all('value'):
181 value_body = self._strings_no_nl(value)
184 if value.attrs.get('optional', 'false') == 'true':
187 notes = value.find('notes')
191 if value.attrs.get('id') is not None:
192 enum_ids[value_body] = value['id']
216 for val in tupl.find_all('value'):
H A DCameraMetadataKeys.mako38 % for value in entry.enum.values:
39 * @see #${jenum_value(entry, value)}
44 * <b>Optional</b> - This value may be null on some devices.
H A Dhtml.mako252 % for value in prop.enum.values:
254 <span class="entry_type_enum_name">${value.name}</span>
255 % if value.optional:
258 % if value.id is not None:
259 <span class="entry_type_enum_value">${value.id}</span>
261 % if value.notes is not None:
262 <span class="entry_type_enum_notes">${value.notes | wbr}</span>
H A Dmetadata_validate.py85 # el is now a value pointing to the '<static>' element
110 <value>Apple</value> # this is the variale apple (Tag)
111 <value>Orange</value> # this is the variable orange (Tag)
115 lst = find_all_child_tags(el, 'value')
136 <value>Apple</value> # this is the variale apple (Tag)
137 <value>Orange</value> # thi
[all...]
/system/core/libmincrypt/
H A Dsha256.c36 #define ror(value, bits) (((value) >> (bits)) | ((value) << (32 - (bits))))
37 #define shr(value, bits) ((value) >> (bits))
H A Dsha.c36 #define rol(bits, value) (((value) << (bits)) | ((value) >> (32 - (bits))))
/system/core/adb/
H A Dadb.c307 char value[PROPERTY_VALUE_MAX];
308 property_get(cnxn_props[i], value, "");
309 len = snprintf(buf, remaining, "%s=%s;", cnxn_props[i], value);
963 char value[PROPERTY_VALUE_MAX]; local
967 property_get("persist.adb.trace_mask", value, "");
968 if (sscanf(value, "%x", &adb_trace_mask) != 1)
1195 char value[PROPERTY_VALUE_MAX]; local
1196 property_get("ro.debuggable", value, "");
1197 if (strcmp(value, "1") == 0) {
1223 char value[PROPERTY_VALUE_MA
1255 char value[PROPERTY_VALUE_MAX]; local
[all...]
H A Dservices.c63 char value[PROPERTY_VALUE_MAX]; local
70 property_get("ro.debuggable", value, "");
71 if (strcmp(value, "1") != 0) {
88 char value[PROPERTY_VALUE_MAX]; local
98 snprintf(value, sizeof(value), "%d", port);
99 property_set("service.adb.tcp.port", value);
/system/core/libcutils/
H A Dfs.c109 int fs_write_atomic_int(const char* path, int value) { argument
123 int len = snprintf(buf, BUF_SIZE, "%d", value) + 1;
125 ALOGE("Value %d too large: %s", value, strerror(errno));
/system/vold/
H A DFat.cpp134 char value[PROPERTY_VALUE_MAX]; local
135 property_get("persist.sampling_profiler", value, "");
136 if (value[0] == '1') {
/system/core/healthd/
H A DBatteryMonitor.cpp151 bool value = false; local
154 value = true;
158 return value;
165 int value = 0; local
167 value = strtol(buf, NULL, 0);
169 return value;
/system/core/libctest/
H A Dctest.c150 void assertTrueWithSource(int value, const char* file, int line, char* message) { argument
151 if (!value) {
/system/core/toolbox/
H A Dsendevent.c17 __s32 value; member in struct:input_event
35 #define EVIOCGABS(abs) _IOR('E', 0x40 + abs, struct input_absinfo) /* get abs value/limits */
36 #define EVIOCSABS(abs) _IOW('E', 0xc0 + abs, struct input_absinfo) /* set abs value/limits */
57 fprintf(stderr, "use: %s device type code value\n", argv[0]);
73 event.value = atoi(argv[4]);
H A Dgetevent.c35 static const char *get_label(const struct label *labels, int value) argument
37 while(labels->name && value != labels->value) {
178 printf(" : value %d, min %d, max %d, fuzz %d, flat %d, resolution %d",
179 abs.value, abs.minimum, abs.maximum, abs.fuzz, abs.flat,
193 static void print_event(int type, int code, int value, int print_flags) argument
208 value_label = get_label(key_value_labels, value);
217 value_label = get_label(mt_tool_labels, value);
254 printf(" %08x ", value);
256 printf("%04x %04x %08x", type, code, value);
[all...]
/system/netd/
H A DNetdConstants.cpp110 int writeFile(const char *path, const char *value, int size) { argument
117 if (write(fd, value, size) != size) {
/system/core/include/utils/
H A DFlattenable.h62 static void write(void*& buffer, size_t& size, const T& value) { argument
63 *static_cast<T*>(buffer) = value;
69 static void read(void const*& buffer, size_t& size, T& value) { argument
70 value = *static_cast<T const*>(buffer);
99 // size should be equal to the value of getFlattenedSize() when the
H A DPropertyMap.h28 * Provides a mechanism for passing around string-based property key / value pairs
34 * key = value
37 * The '=' separates the key from the value.
38 * The key and value may not contain whitespace.
60 void addProperty(const String8& key, const String8& value);
65 /* Gets the value of a property and parses it.
66 * Returns true and sets outValue if the key was found and its value was parsed successfully.
/system/core/libcorkscrew/arch-x86/
H A Dbacktrace-x86.c346 dstate->regs[op].value = offset * cie_info->data_align;
347 ALOGV("DW_CFA_offset: r%d = o(%d)", op, dstate->regs[op].value);
351 dstate->regs[op].value = stack->regs[op].value;
352 ALOGV("DW_CFA_restore: r%d = %c(%d)", op, dstate->regs[op].rule, dstate->regs[op].value);
388 dstate->regs[reg].value = offset * cie_info->data_align;
389 ALOGV("DW_CFA_offset_extended: r%d = o(%d)", reg, dstate->regs[reg].value);
394 dstate->regs[reg].value = stack->regs[reg].value;
399 ALOGV("DW_CFA_restore: r%d = %c(%d)", reg, dstate->regs[reg].rule, dstate->regs[reg].value);
[all...]
H A Ddwarf.h113 char rule; // rule: o - offset(value); r - register(value)
114 uint32_t value; // value member in struct:__anon158
/system/extras/memtrack/
H A Dmemtrack.cpp85 size_t value; local
101 value = 0;
103 value = value * 10 + data_[cur_idx_] - '0';
106 *pss = value;
/system/core/libcorkscrew/arch-arm/
H A Dbacktrace-arm.c88 /* Special EXIDX value that indicates that a frame cannot be unwound. */
234 ALOGV("next_byte: ptr=0x%08x, value=0x%02x", stream->ptr, *out_value);
239 static void set_reg(unwind_state_t* state, uint32_t reg, uint32_t value) { argument
240 ALOGV("set_reg: reg=%d, value=0x%08x", reg, value);
241 state->gregs[reg] = value;
249 uint32_t value; local
250 if (!try_get_word(memory, sp, &value)) {
256 set_reg(state, i, value);
369 uint32_t value local
[all...]
/system/core/fastboot/
H A Dengine.c413 static int match(char *str, const char **value, unsigned count) argument
420 const char *val = value[n];
441 const char **value = a->data; local
461 yes = match(resp, value, count);
474 invert ? "rejects" : "requires", value[0]);
476 fprintf(stderr," or '%s'", value[n]);
493 int invert, unsigned nvalues, const char **value)
498 a->data = value;
492 fb_queue_require(const char *prod, const char *var, int invert, unsigned nvalues, const char **value) argument
/system/extras/tests/sdcard/
H A Dplot_sdcard.py48 """Dataset holds the summary and data (time,value pairs)."""
63 def Add(self, time, value):
65 self.data.append(value)
164 (time, value) = line.split(None, 1)
170 dataset.Add(float(time), float(value))

Completed in 285 milliseconds

123456