Home
last modified time | relevance | path

Searched refs:result (Results 1 – 23 of 23) sorted by relevance

/bootable/recovery/minzip/
DBits.h27 unsigned short result; in get2BE() local
29 result = *pSrc++ << 8; in get2BE()
30 result |= *pSrc++; in get2BE()
32 return result; in get2BE()
40 unsigned int result; in get4BE() local
42 result = *pSrc++ << 24; in get4BE()
43 result |= *pSrc++ << 16; in get4BE()
44 result |= *pSrc++ << 8; in get4BE()
45 result |= *pSrc++; in get4BE()
47 return result; in get4BE()
[all …]
DHash.c183 void* result = NULL; in mzHashTableLookup() local
231 result = item; in mzHashTableLookup()
233 assert(result == NULL); in mzHashTableLookup()
236 result = pEntry->data; in mzHashTableLookup()
239 return result; in mzHashTableLookup()
DZip.c189 bool result = false; in parseZipArchive() local
402 result = true; in parseZipArchive()
405 if (!result) { in parseZipArchive()
409 return result; in parseZipArchive()
508 long result = -1; in processDeflatedEntry() local
576 result = zstream.total_out; in processDeflatedEntry()
582 if (result != pEntry->uncompLen) { in processDeflatedEntry()
583 if (result != -1) // error already shown? in processDeflatedEntry()
585 result, pEntry->uncompLen); in processDeflatedEntry()
/bootable/recovery/minui/
Dresources.cpp53 int result = 0; in open_png() local
61 result = -1; in open_png()
67 result = -2; in open_png()
72 result = -3; in open_png()
78 result = -4; in open_png()
84 result = -5; in open_png()
89 result = -6; in open_png()
117 result = -7; in open_png()
121 return result; in open_png()
124 if (result < 0) { in open_png()
[all …]
Dgraphics.cpp311 int result = res_create_multi_surface("icon_installing", &frames, &images);
312 if (result < 0) {
313 printf("create surface %d\n", result);
/bootable/recovery/
Dfuse_sideload.c261 int result = fd->vtab->read_block(fd->cookie, block, fd->block_data, fetch_size); in fetch_block() local
262 if (result < 0) return result; in fetch_block()
299 int result; in handle_read() local
324 result = fetch_block(fd, block); in handle_read()
325 if (result != 0) return result; in handle_read()
354 result = fetch_block(fd, block+1); in handle_read()
355 if (result != 0) return result; in handle_read()
370 int result; in run_fuse_sideload() local
395 result = -1; in run_fuse_sideload()
403 result = -1; in run_fuse_sideload()
[all …]
Droots.cpp86 int result; in ensure_path_mounted() local
87 result = scan_mounted_volumes(); in ensure_path_mounted()
88 if (result < 0) { in ensure_path_mounted()
116 result = mount(v->blk_device, v->mount_point, v->fs_type, in ensure_path_mounted()
118 if (result == 0) return 0; in ensure_path_mounted()
139 int result; in ensure_path_unmounted() local
140 result = scan_mounted_volumes(); in ensure_path_unmounted()
141 if (result < 0) { in ensure_path_unmounted()
234 int result; in format_volume() local
236 result = make_ext4fs(v->blk_device, length, volume, sehandle); in format_volume()
[all …]
Dadb_install.cpp94 int result; in apply_from_adb() local
100 result = INSTALL_ERROR; in apply_from_adb()
111 result = INSTALL_ERROR; in apply_from_adb()
116 result = install_package(FUSE_SIDELOAD_HOST_PATHNAME, wipe_cache, install_file, false); in apply_from_adb()
143 return result; in apply_from_adb()
Dinstall.cpp258 int result = try_update_binary(path, &zip, wipe_cache); in really_install_package() local
264 return result; in really_install_package()
280 int result; in install_package() local
283 result = INSTALL_ERROR; in install_package()
285 result = really_install_package(path, wipe_cache, needs_mount); in install_package()
288 fputc(result == INSTALL_SUCCESS ? '1' : '0', install_log); in install_package()
292 return result; in install_package()
Dfuse_sdcard_provider.c66 int result; member
75 t->result = -1; in run_sdcard_fuse()
85 t->result = -1; in run_sdcard_fuse()
94 t->result = run_fuse_sideload(&vtab, &fd, fd.file_size, fd.block_size); in run_sdcard_fuse()
Dscreen_ui.cpp362 int result = res_create_display_surface(filename, surface); in LoadBitmap() local
363 if (result < 0) { in LoadBitmap()
364 LOGE("missing bitmap %s\n(Code %d)\n", filename, result); in LoadBitmap()
369 int result = res_create_multi_display_surface(filename, frames, surface); in LoadBitmapArray() local
370 if (result < 0) { in LoadBitmapArray()
371 LOGE("missing bitmap %s\n(Code %d)\n", filename, result); in LoadBitmapArray()
376 int result = res_create_localized_alpha_surface(filename, locale, surface); in LoadLocalizedBitmap() local
377 if (result < 0) { in LoadLocalizedBitmap()
378 LOGE("missing bitmap %s\n(Code %d)\n", filename, result); in LoadLocalizedBitmap()
383 char** result = new char*[rows]; in Alloc2d() local
[all …]
Dverifier_test.cpp245 int result = verify_file(map.addr, map.length, certs, num_keys); in main() local
246 if (result == VERIFY_SUCCESS) { in main()
249 } else if (result == VERIFY_FAILURE) { in main()
Drecovery.cpp476 int result = format_volume(volume); in erase_volume() local
501 return (result == 0); in erase_volume()
622 char* result; in browse_directory() local
631 result = NULL; in browse_directory()
643 result = browse_directory(new_path, device); in browse_directory()
644 if (result) break; in browse_directory()
647 result = strdup(new_path); in browse_directory()
655 return result; in browse_directory()
Dui.cpp271 bool result = key_long_press; in IsLongPress() local
273 return result; in IsLongPress()
DNOTICE172 result of this License or out of the use or inability to use the
/bootable/recovery/edify/
Dmain.c28 char* result; in expect() local
45 result = Evaluate(&state, e); in expect()
48 if (result == NULL && expected != NULL) { in expect()
54 if (result == NULL && expected == NULL) { in expect()
58 if (strcmp(result, expected) != 0) { in expect()
60 expr_str, expected, result); in expect()
62 free(result); in expect()
66 free(result); in expect()
204 char* result = Evaluate(&state, root); in main() local
205 if (result == NULL) { in main()
[all …]
Dexpr.c43 char* result = v->data; in Evaluate() local
45 return result; in Evaluate()
76 char* result = NULL; in ConcatFn() local
86 result = malloc(length+1); in ConcatFn()
89 strcpy(result+p, strings[i]); in ConcatFn()
92 result[p] = '\0'; in ConcatFn()
99 return StringValue(result); in ConcatFn()
231 char* result = strdup(strstr(haystack, needle) ? "t" : ""); in SubstringFn() local
234 return StringValue(result); in SubstringFn()
246 char* result = strdup(strcmp(left, right) == 0 ? "t" : ""); in EqualityFn() local
[all …]
/bootable/recovery/applypatch/
Dmain.c137 int result = applypatch(argv[1], argv[2], argv[3], target_size, in PatchMode() local
155 return result; in PatchMode()
198 int result; in main() local
201 result = ShowLicenses(); in main()
203 result = CheckMode(argc, argv); in main()
205 result = SpaceMode(argc, argv); in main()
207 result = PatchMode(argc, argv); in main()
210 if (result == 2) { in main()
213 return result; in main()
Dimgdiff_test.sh97 $ADB pull /data/local/tmp/target $tmpdir/result
98 diff -q $tmpdir/target $tmpdir/result || fail "patch output not correct!"
Dapplypatch.c796 int result = GenerateTarget(&source_file, source_patch_value, in applypatch() local
803 return result; in applypatch()
962 int result; in GenerateTarget() local
966 result = ApplyBSDiffPatch(source_to_use->data, source_to_use->size, in GenerateTarget()
970 result = ApplyImagePatch(source_to_use->data, source_to_use->size, in GenerateTarget()
980 result = 1; in GenerateTarget()
984 result = 1; in GenerateTarget()
988 if (result != 0) { in GenerateTarget()
991 return result != 0; in GenerateTarget()
/bootable/recovery/updater/
Dinstall.c94 char* result = NULL; in MountFn() local
157 result = strdup(""); in MountFn()
163 result = strdup(""); in MountFn()
166 result = mount_point; in MountFn()
173 result = strdup(""); in MountFn()
175 result = mount_point; in MountFn()
183 if (result != mount_point) free(mount_point); in MountFn()
185 return StringValue(result); in MountFn()
191 char* result = NULL; in IsMountedFn() local
207 result = strdup(""); in IsMountedFn()
[all …]
Dupdater.c141 char* result = Evaluate(&state, root); in main() local
142 if (result == NULL) { in main()
158 fprintf(cmd_pipe, "ui_print script succeeded: result was [%s]\n", result); in main()
159 free(result); in main()
/bootable/recovery/minadbd/
Dservices.cpp57 int result = run_adb_fuse(sfd, file_size, block_size); in sideload_host_service() local
61 exit(result == 0 ? 0 : 1); in sideload_host_service()