Home
last modified time | relevance | path

Searched refs:required_length (Results 1 – 7 of 7) sorted by relevance

/external/chromium_org/device/bluetooth/
Dbluetooth_low_energy_win.cc172 DWORD required_length; in CollectBluetoothLowEnergyDeviceProperty() local
180 &required_length, in CollectBluetoothLowEnergyDeviceProperty()
185 scoped_ptr<uint8_t[]> prop_value(new uint8_t[required_length]); in CollectBluetoothLowEnergyDeviceProperty()
186 DWORD actual_length = required_length; in CollectBluetoothLowEnergyDeviceProperty()
193 &required_length, in CollectBluetoothLowEnergyDeviceProperty()
198 actual_length, required_length, kDeviceInfoError, error)) { in CollectBluetoothLowEnergyDeviceProperty()
213 ULONG required_length = 0; in CollectBluetoothLowEnergyDeviceRegistryProperty() local
220 &required_length); in CollectBluetoothLowEnergyDeviceRegistryProperty()
224 scoped_ptr<uint8_t[]> property_value(new uint8_t[required_length]); in CollectBluetoothLowEnergyDeviceRegistryProperty()
225 ULONG actual_length = required_length; in CollectBluetoothLowEnergyDeviceRegistryProperty()
[all …]
/external/chromium_org/ppapi/shared_impl/private/
Dppb_char_set_shared.cc72 uint32_t required_length = 0; in UTF16ToCharSetDeprecated() local
74 &required_length); in UTF16ToCharSetDeprecated()
78 thunk::GetPPB_Memory_Dev_0_1_Thunk()->MemAlloc(required_length + 1)); in UTF16ToCharSetDeprecated()
82 ret_buf, &required_length); in UTF16ToCharSetDeprecated()
87 ret_buf[required_length] = 0; // Null terminate. in UTF16ToCharSetDeprecated()
88 *output_length = required_length; in UTF16ToCharSetDeprecated()
182 uint32_t required_length = 0; in CharSetToUTF16Deprecated() local
184 &required_length); in CharSetToUTF16Deprecated()
189 (required_length + 1) * sizeof(uint16_t))); in CharSetToUTF16Deprecated()
193 ret_buf, &required_length); in CharSetToUTF16Deprecated()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
Dmerge.cc178 const int required_length = (120 + 80 + 2) * fs_mult_; in GetExpandedSignal() local
179 if (expanded_.Size() < static_cast<size_t>(required_length)) { in GetExpandedSignal()
180 while (expanded_.Size() < static_cast<size_t>(required_length)) { in GetExpandedSignal()
185 expanded_.PopBack(expanded_.Size() - required_length); in GetExpandedSignal()
187 assert(expanded_.Size() >= static_cast<size_t>(required_length)); in GetExpandedSignal()
188 return required_length; in GetExpandedSignal()
/external/chromium_org/components/autofill/core/browser/
Dvalidation.cc124 size_t required_length = 3; in IsValidCreditCardSecurityCode() local
126 required_length = 4; in IsValidCreditCardSecurityCode()
128 return code.length() == required_length; in IsValidCreditCardSecurityCode()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/
Dsession_info.cc145 size_t required_length = 0; in InsertBuffer() local
149 required_length += in InsertBuffer()
153 ShiftSubsequentPackets(packet_it, required_length); in InsertBuffer()
165 packet.sizeBytes = required_length; in InsertBuffer()
/external/srec/srec/ca/
Dann_api.c227 int required_length; in CA_GetAnnotationLabel() local
238 required_length = strlen(hAnnotation->label) + 1; in CA_GetAnnotationLabel()
239 if (required_length > length) in CA_GetAnnotationLabel()
248 return (required_length); in CA_GetAnnotationLabel()
/external/chromium_org/v8/src/
Druntime.cc3206 int required_length = length_ + elements; in HasCapacity() local
3207 return (length >= required_length); in HasCapacity()
3212 int required_length = length_ + elements; in EnsureCapacity() local
3213 if (length < required_length) { in EnsureCapacity()
3217 } while (new_length < required_length); in EnsureCapacity()