Searched refs:value_array (Results 1 – 3 of 3) sorted by relevance
/system/bt/gd/rust/common/src/ffi/ |
D | sys_prop.cc | 10 std::array<char, PROPERTY_VALUE_MAX> value_array{0}; in get() local 11 auto value_len = property_get(name.c_str(), value_array.data(), nullptr); in get() 15 return rust::String(value_array.data(), value_len); in get()
|
/system/bt/gd/os/android/ |
D | system_properties.cc | 29 std::array<char, PROPERTY_VALUE_MAX> value_array{0}; in GetSystemProperty() local 30 auto value_len = property_get(property.c_str(), value_array.data(), nullptr); in GetSystemProperty() 34 return std::string(value_array.data(), value_len); in GetSystemProperty()
|
/system/media/audio_route/ |
D | audio_route.c | 483 long* value_array = NULL; in start_tag() local 540 value_array = calloc(num_values, sizeof(long)); in start_tag() 541 if (!value_array) { in start_tag() 553 value_array[i] = strtol((char *)attr_sub_value, NULL, 0); in start_tag() 555 value_array[i] = in start_tag() 593 ar->mixer_state[ctl_index].new_value.bytes[id] = value_array[0]; in start_tag() 595 ar->mixer_state[ctl_index].new_value.integer[id] = value_array[0]; in start_tag() 607 ar->mixer_state[ctl_index].new_value.bytes[i] = value_array[i]; in start_tag() 609 ar->mixer_state[ctl_index].new_value.integer[i] = value_array[i]; in start_tag() 621 mixer_value.values = value_array; in start_tag() [all …]
|