Lines Matching refs:data

558         v->data = NULL;  in PackageExtractFileFn()
570 v->data = malloc(v->size); in PackageExtractFileFn()
571 if (v->data == NULL) { in PackageExtractFileFn()
578 (unsigned char *)v->data); in PackageExtractFileFn()
583 free(v->data); in PackageExtractFileFn()
584 v->data = NULL; in PackageExtractFileFn()
843 cap_data.data[0].permitted = (uint32_t) (parsed.capabilities & 0xffffffff); in ApplyParsedPerms()
844 cap_data.data[0].inheritable = 0; in ApplyParsedPerms()
845 cap_data.data[1].permitted = (uint32_t) (parsed.capabilities >> 32); in ApplyParsedPerms()
846 cap_data.data[1].inheritable = 0; in ApplyParsedPerms()
1032 static bool write_raw_image_cb(const unsigned char* data, in write_raw_image_cb() argument
1034 int r = mtd_write_data((MtdWriteContext*)ctx, (const char *)data, data_len); in write_raw_image_cb()
1055 partition = partition_value->data; in WriteRawImageFn()
1060 if (contents->type == VAL_STRING && strlen((char*) contents->data) == 0) { in WriteRawImageFn()
1085 char* filename = contents->data; in WriteRawImageFn()
1105 ssize_t wrote = mtd_write_data(ctx, contents->data, contents->size); in WriteRawImageFn()
1205 patch_sha_str[i] = patches[i*2]->data; in ApplyPatchFn()
1206 patches[i*2]->data = NULL; in ApplyPatchFn()
1351 SHA_hash(args[0]->data, args[0]->size, digest); in Sha1CheckFn()
1364 } else if (ParseSha1(args[i]->data, arg_digest) != 0) { in Sha1CheckFn()
1367 name, args[i]->data); in Sha1CheckFn()
1402 v->data = NULL; in ReadFileFn()
1403 free(fc.data); in ReadFileFn()
1408 v->data = (char*)fc.data; in ReadFileFn()