Searched refs:newBlob (Results 1 – 4 of 4) sorted by relevance
400 newBlob->size = length; in CertGetBlobFromUint8ArrJSParams()405 CfFree(newBlob); in CertGetBlobFromUint8ArrJSParams()412 CfFree(newBlob); in CertGetBlobFromUint8ArrJSParams()416 return newBlob; in CertGetBlobFromUint8ArrJSParams()450 newBlob->data = static_cast<uint8_t *>(CfMalloc(newBlob->size, 0)); in CertGetBlobFromStringJSParams()454 CfFree(newBlob); in CertGetBlobFromStringJSParams()463 CfFree(newBlob); in CertGetBlobFromStringJSParams()467 return newBlob; in CertGetBlobFromStringJSParams()585 CfFree(newBlob); in CertGetBlobFromArrBoolJSParams()608 CfFree(newBlob); in CertGetBlobFromArrBoolJSParams()[all …]
160 HcfBlob *newBlob = reinterpret_cast<HcfBlob *>(HcfMalloc(sizeof(HcfBlob), 0)); in GetBlobFromNapiUint8Arr() local161 if (newBlob == nullptr) { in GetBlobFromNapiUint8Arr()168 newBlob->len = 0; in GetBlobFromNapiUint8Arr()169 newBlob->data = nullptr; in GetBlobFromNapiUint8Arr()171 return newBlob; in GetBlobFromNapiUint8Arr()173 newBlob->len = length; in GetBlobFromNapiUint8Arr()174 newBlob->data = static_cast<uint8_t *>(HcfMalloc(length, 0)); in GetBlobFromNapiUint8Arr()175 if (newBlob->data == nullptr) { in GetBlobFromNapiUint8Arr()177 HcfFree(newBlob); in GetBlobFromNapiUint8Arr()180 (void)memcpy_s(newBlob->data, length, rawData, length); in GetBlobFromNapiUint8Arr()[all …]
416 let newBlob = Object.create(this);418 newBlob._type = type;421 return newBlob;424 newBlob.blobClass = new internalBuffer.Blob(this.blobClass, start);425 return newBlob;428 return newBlob;431 return newBlob;433 newBlob.blobClass = new internalBuffer.Blob(this.blobClass, start, end);434 return newBlob;
341 struct HksBlob *newBlob) in GetNewCachedData() argument358 newBlob->data = newData; in GetNewCachedData()359 newBlob->size = newSize; in GetNewCachedData()