Home
last modified time | relevance | path

Searched refs:resize (Results 1 – 25 of 537) sorted by relevance

12345678910>>...22

/hardware/google/aemu/base/
DWin32UnicodeString.cpp44 resize(size); in Win32UnicodeString()
50 resize(len); in Win32UnicodeString()
56 resize(other.mSize); in Win32UnicodeString()
66 resize(other.mSize); in operator =()
73 resize(len); in operator =()
107 void Win32UnicodeString::resize(size_t newSize) { in resize() function in android::base::Win32UnicodeString
138 resize(oldSize + len); in append()
158 result.resize(static_cast<size_t>(utf8Len)); in convertToUtf8()
161 result.resize(utf8Len - 1); // get rid of the null-terminator in convertToUtf8()
DStringFormat.cpp64 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
69 string->resize(cur_size + ret_sz); in StringAppendFormatWithArgs()
79 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
/hardware/qcom/sm7250/gps/android/2.1/
DGnssAntennaInfo.cpp71 out.resize(vecSize); in convertGnssAntennaInfo()
88 out[i].phaseCenterVariationCorrectionMillimeters.resize(numberOfRows); in convertGnssAntennaInfo()
91 out[i].phaseCenterVariationCorrectionMillimeters[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
99 out[i].phaseCenterVariationCorrectionUncertaintyMillimeters.resize(numberOfRows); in convertGnssAntennaInfo()
103 row.resize(numberOfColumns); in convertGnssAntennaInfo()
111 out[i].signalGainCorrectionDbi.resize(numberOfRows); in convertGnssAntennaInfo()
114 out[i].signalGainCorrectionDbi[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
121 out[i].signalGainCorrectionUncertaintyDbi.resize(numberOfRows); in convertGnssAntennaInfo()
124 out[i].signalGainCorrectionUncertaintyDbi[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
/hardware/qcom/sm8150/gps/android/2.1/
DGnssAntennaInfo.cpp71 out.resize(vecSize); in convertGnssAntennaInfo()
88 out[i].phaseCenterVariationCorrectionMillimeters.resize(numberOfRows); in convertGnssAntennaInfo()
91 out[i].phaseCenterVariationCorrectionMillimeters[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
99 out[i].phaseCenterVariationCorrectionUncertaintyMillimeters.resize(numberOfRows); in convertGnssAntennaInfo()
103 row.resize(numberOfColumns); in convertGnssAntennaInfo()
111 out[i].signalGainCorrectionDbi.resize(numberOfRows); in convertGnssAntennaInfo()
114 out[i].signalGainCorrectionDbi[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
121 out[i].signalGainCorrectionUncertaintyDbi.resize(numberOfRows); in convertGnssAntennaInfo()
124 out[i].signalGainCorrectionUncertaintyDbi[j].row.resize(numberOfColumns); in convertGnssAntennaInfo()
/hardware/interfaces/thermal/1.0/default/
DThermal.cpp62 list.resize(size); in getTemperatures()
65 temperatures.resize(list.size()); in getTemperatures()
118 list.resize(size); in getCpuUsages()
121 list.resize(size); in getCpuUsages()
122 cpuUsages.resize(size); in getCpuUsages()
156 list.resize(size); in getCoolingDevices()
159 list.resize(size); in getCoolingDevices()
160 coolingDevices.resize(list.size()); in getCoolingDevices()
/hardware/interfaces/macsec/aidl/default/
DMacsecPskPlugin.cpp120 CKN_1.resize(16); in MacsecPskPlugin()
121 CKN_2.resize(16); in MacsecPskPlugin()
149 ckn.resize(16); // make sure it is always zero padded with maximum length of in addTestKey()
165 kek.resize(CAK.size()); in addTestKey()
175 ick.resize(CAK.size()); in addTestKey()
206 out->resize(16); in calcIcv()
238 out->resize(sakLength); in generateSak()
269 out->resize(sak.size() + 8); in wrapSak()
299 out->resize(sak.size() - 8); in unwrapSak()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleUtils.cpp38 val->value.int32Values.resize(vecSize); in createVehiclePropValue()
42 val->value.floatValues.resize(vecSize); in createVehiclePropValue()
46 val->value.int64Values.resize(vecSize); in createVehiclePropValue()
49 val->value.bytes.resize(vecSize); in createVehiclePropValue()
104 dest->resize(0); in shallowCopyHidlVec()
DObd2SensorStore.cpp29 resize(numBits); in BitmaskInVector()
32 void Obd2SensorStore::BitmaskInVector::resize(size_t numBits) { in resize() function in android::hardware::automotive::vehicle::V2_0::Obd2SensorStore::BitmaskInVector
62 mSensorsBitmask.resize(mIntegerSensors.size() + mFloatSensors.size()); in Obd2SensorStore()
/hardware/google/pixel/misc_writer/
Dmisc_writer.cpp87 content.resize(strlen(kTimeOffset) + std::to_string(kMinTimeOffset).size(), 0); in PerformAction()
99 content.resize(32); in PerformAction()
104 content.resize(32); in PerformAction()
111 content.resize(32); in PerformAction()
116 content.resize(32); in PerformAction()
124 content.resize(32, 0); in PerformAction()
/hardware/google/gfxstream/guest/android-emu/aemu/base/
DStringFormat.cpp64 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
69 string->resize(cur_size + ret_sz); in StringAppendFormatWithArgs()
79 string->resize(cur_size + extra); in StringAppendFormatWithArgs()
/hardware/interfaces/tv/tuner/1.1/default/
DFilter.cpp320 eventExt.events.resize(1); in configureMonitorEvent()
336 eventExt.events.resize(1); in configureMonitorEvent()
404 startEvent.events.resize(1); in filterThreadLoop()
410 mFilterEventExt.events.resize(0); in filterThreadLoop()
418 mFilterEvent.events.resize(0); in filterThreadLoop()
459 mFilterEventExt.events.resize(0); in filterThreadLoop()
463 mFilterEvent.events.resize(0); in filterThreadLoop()
668 mFilterEvent.events.resize(size + 1); in startPesFilterHandler()
775 mFilterEventExt.events.resize(size + 1); in startRecordFilterHandler()
778 mFilterEvent.events.resize(size + 1); in startRecordFilterHandler()
[all …]
/hardware/google/gfxstream/host/gl/glsnapshot/
DGLSnapshot.cpp31 store.resize(size); in getGlobalStateEnum()
38 store.resize(size); in getGlobalStateByte()
45 store.resize(size); in getGlobalStateInt()
52 store.resize(size); in getGlobalStateFloat()
59 store.resize(size); in getGlobalStateInt64()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DHidRawDevice.cpp150 info.descriptor.resize(descriptorSize); in populateDeviceInfo()
201 mIoBuffer.resize(size); in getFeature()
220 out->resize(size - 1); in getFeature()
246 mIoBuffer.resize(size); in setFeature()
281 mIoBuffer.resize(size); in sendReport()
315 data->resize(static_cast<size_t>(res - 1)); in receiveReport()
319 data->resize(static_cast<size_t>(res)); in receiveReport()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/
DLinearFakeValueGenerator.cpp67 value.int32Values.resize(1); in nextEvent()
71 value.int64Values.resize(1); in nextEvent()
75 value.floatValues.resize(1); in nextEvent()
DJsonFakeValueGenerator.cpp164 value.int32Values.resize(1); in parseFakeValueJson()
168 value.int64Values.resize(1); in parseFakeValueJson()
172 value.floatValues.resize(1); in parseFakeValueJson()
179 value.int32Values.resize(rawEventValue.size()); in parseFakeValueJson()
210 dest.resize(jsonArray.size()); in copyJsonArray()
/hardware/interfaces/tests/baz/1.0/default/
DBaz.cpp83 out.resize(x.size()); in someBoolVectorMethod()
122 fooOutput.resize(2); in someMethodWithFooVectors()
139 out.addresses.resize(n); in someMethodWithVectorOfArray()
158 out.resize(n); in someMethodTakingAVectorOfArray()
296 out.resize(param.size()); in mapThisVector()
363 result.resize(2); in haveAStringVec()
399 result.resize(size); in getNestedStructs()
403 result[i].matrices.resize(6); in getNestedStructs()
/hardware/interfaces/secure_element/1.0/vts/functional/
DVtsHalSecureElementV1_0TargetTest.cpp109 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P()
122 transmitResponse.resize(res.size()); in TEST_P()
147 response.resize(selectResponse.size()); in TEST_P()
167 atr.resize(atrReturned.size()); in TEST_P()
196 response.selectResponse.resize(channelResponse.selectResponse.size()); in TEST_P()
/hardware/nxp/weaver/1.0/
DWeaver.cpp100 readResp.value.resize(0); in read()
106 readResp.value.resize(0); in read()
112 readResp.value.resize(0); in read()
/hardware/interfaces/camera/device/3.6/default/
DExternalCameraDeviceSession.cpp55 config_v32.streams.resize(requestedConfiguration_3_4.streams.size()); in configureStreams_3_6()
109 outStreams_v36->streams.resize(outStreams_v33.streams.size()); in fillOutputStream3_6()
149 info->offlineStreams.resize(offlineStreams.size()); in fillOfflineSessionInfo()
150 info->offlineRequests.resize(offlineReqs.size()); in fillOfflineSessionInfo()
155 info->offlineRequests[i].pendingStreams.resize(offlineReqs[i]->buffers.size()); in fillOfflineSessionInfo()
169 info->offlineStreams[i].circulatingBufferIds.resize(bufIdMap.size()); in fillOfflineSessionInfo()
255 result.outputBuffers.resize(1); in switchToOffline()
292 streamInfos.resize(offlineStreams.size()); in switchToOffline()
/hardware/google/aemu/base/include/aemu/base/testing/
DTestInputBufferSocketServerThread.h81 mString.resize(1024 + capacity * 2); in main()
93 mString.resize(size); in main()
/hardware/interfaces/bluetooth/audio/2.1/default/
DBluetoothAudioProvidersFactory.cpp117 audio_capabilities.resize(db_codec_capabilities.size()); in getProviderCapabilities()
127 audio_capabilities.resize(1); in getProviderCapabilities()
145 audio_capabilities.resize(db_codec_capabilities.size()); in getProviderCapabilities_2_1()
158 audio_capabilities.resize(1); in getProviderCapabilities_2_1()
/hardware/nxp/weaver/aidl_impl/
DWeaver.cpp103 out_response->value.resize(0); in read()
110 out_response->value.resize(0); in read()
117 out_response->value.resize(0); in read()
/hardware/nxp/nfc/snxxx/aidl/
DNfcExtns.cpp62 config.hostAllowlist.resize(retlen); in getConfig()
76 config.offHostRouteUicc.resize(retlen); in getConfig()
82 config.offHostRouteEse.resize(retlen); in getConfig()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/GeneratorHub/src/
DJsonFakeValueGenerator.cpp58 dest.resize(jsonArray.size()); in copyJsonArray()
138 value.int32Values.resize(1); in parseFakeValueJson()
142 value.int64Values.resize(1); in parseFakeValueJson()
146 value.floatValues.resize(1); in parseFakeValueJson()
153 value.int32Values.resize(rawEventValue.size()); in parseFakeValueJson()
/hardware/interfaces/gatekeeper/aidl/software/
DSharedSecret.cpp41 seed_.resize(32, 0); in getSharedSecretParameters()
45 nonce_.resize(32, 0); in getSharedSecretParameters()
118 sharing_check->resize(32, 0); in computeSharedSecret()

12345678910>>...22