Searched refs:new_size (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Bluetooth/system/include/hardware/avrcp/ |
D | avrcp_common.h | 192 void resize(size_t new_size) { in resize() argument 193 new_size = new_size < kHeaderSize() ? 0 : new_size - kHeaderSize(); in resize() 194 if (value_.size() > new_size) { in resize() 195 value_.resize(new_size); in resize()
|
/packages/modules/Nfc/libnfc-nci/src/nfa/ee/ |
D | nfa_ee_act.cc | 123 void nfa_ee_check_set_routing(uint16_t new_size, int* p_max_len, uint8_t* p, 497 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_aid_route_to_ecb() local 498 nfa_ee_check_set_routing(new_size, p_max_len, ps, p_cur_offset); in nfa_ee_add_aid_route_to_ecb() 503 *p_cur_offset = new_size; in nfa_ee_add_aid_route_to_ecb() 506 memcpy(p, p_start, new_size); in nfa_ee_add_aid_route_to_ecb() 507 pp += new_size; in nfa_ee_add_aid_route_to_ecb() 511 *p_cur_offset += new_size; in nfa_ee_add_aid_route_to_ecb() 580 uint8_t new_size = (uint8_t)(pp - p_start); in nfa_ee_add_sys_code_route_to_ecb() local 581 nfa_ee_check_set_routing(new_size, p_max_len, p_buff, p_cur_offset); in nfa_ee_add_sys_code_route_to_ecb() 586 *p_cur_offset = new_size; in nfa_ee_add_sys_code_route_to_ecb() [all …]
|
/packages/modules/adb/ |
D | types.h | 68 void resize(size_t new_size) { in resize() 70 allocate(new_size); in resize() 72 CHECK_GE(capacity_, new_size); in resize() 73 size_ = new_size; in resize()
|
/packages/modules/Virtualization/libs/libfdt/src/ |
D | lib.rs | 414 pub fn trimprop(&mut self, name: &CStr, new_size: usize) -> Result<()> { in trimprop() 418 x if x == new_size => Ok(()), in trimprop() 419 x if x < new_size => Err(FdtError::NoSpace), in trimprop() 420 _ => self.fdt.setprop_placeholder(self.offset, name, new_size).map(|_| ()), in trimprop()
|
/packages/modules/Bluetooth/system/bta/csis/ |
D | csis_client.cc | 1111 auto new_size = value[0]; in OnCsisSizeValueUpdate() local 1112 csis_group->SetDesiredSize(new_size); in OnCsisSizeValueUpdate()
|
/packages/providers/MediaProvider/jni/ |
D | FuseDaemon.cpp | 177 auto new_size = sizes_.insert(Sizes::value_type(size, fd)); in RecordImpl() local 178 file->second = new_size; in RecordImpl()
|