Searched refs:value_len (Results 1 – 9 of 9) sorted by relevance
/aosp12/system/bt/gd/rust/common/src/ffi/ |
H A D | sys_prop.cc | 11 auto value_len = property_get(name.c_str(), value_array.data(), nullptr); in get() local 12 if (value_len <= 0) { in get() 13 value_len = 0; in get() 15 return rust::String(value_array.data(), value_len); in get()
|
/aosp12/system/bt/gd/os/android/ |
H A D | system_properties.cc | 30 auto value_len = property_get(property.c_str(), value_array.data(), nullptr); in GetSystemProperty() local 31 if (value_len <= 0) { in GetSystemProperty() 34 return std::string(value_array.data(), value_len); in GetSystemProperty()
|
/aosp12/system/bt/stack/gatt/ |
H A D | gatt_cl.cc | 117 cl_req.find_type_value.value_len = size; in gatt_act_discovery() 798 STREAM_TO_UINT8(value_len, p); in gatt_process_read_by_type_rsp() 800 if ((value_len > (payload_size - 2)) || (value_len > (len - 1))) { in gatt_process_read_by_type_rsp() 818 while (len >= (handle_len + value_len)) { in gatt_process_read_by_type_rsp() 854 if (value_len < 4) { in gatt_process_read_by_type_rsp() 869 if (value_len == 6) { in gatt_process_read_by_type_rsp() 874 } else if (value_len == 4) { in gatt_process_read_by_type_rsp() 887 << +value_len; in gatt_process_read_by_type_rsp() 913 if (value_len < 3) { in gatt_process_read_by_type_rsp() 936 len -= (value_len + 2); in gatt_process_read_by_type_rsp() [all …]
|
H A D | att_protocol.cc | 161 uint16_t len = p_value_type->value_len; in attp_build_read_by_type_value_cmd() 175 if (p_value_type->value_len + p_buf->len > payload_size) in attp_build_read_by_type_value_cmd()
|
H A D | gatt_sr.cc | 1052 uint16_t value_len = 0; in gatts_process_read_req() local 1054 tcb, cid, el.p_db, op_code, handle, offset, p, &value_len, in gatts_process_read_req() 1056 p_msg->len += value_len; in gatts_process_read_req()
|
H A D | gatt_int.h | 105 uint16_t value_len; /* length of the attribute value */ member
|
/aosp12/system/bt/btif/src/ |
H A D | btif_config.cc | 541 size_t value_len = value_str->length(); in btif_config_get_bin() local 542 if ((value_len % 2) != 0 || *length < (value_len / 2)) { in btif_config_get_bin() 543 LOG(WARNING) << ": value size not divisible by 2, size is " << value_len; in btif_config_get_bin() 547 for (size_t i = 0; i < value_len; ++i) in btif_config_get_bin() 583 size_t value_len = value_str->length(); in btif_config_get_bin_length() local 584 return ((value_len % 2) != 0) ? 0 : (value_len / 2); in btif_config_get_bin_length()
|
/aosp12/bionic/libc/kernel/uapi/linux/ |
H A D | jffs2.h | 124 jint16_t value_len; member
|
/aosp12/system/core/init/ |
H A D | builtins.cpp | 1161 size_t value_len = strlen(value); in do_wait_for_prop() local 1166 if (value_len >= PROP_VALUE_MAX) { in do_wait_for_prop()
|