/bootable/recovery/edify/ |
D | expr.h | 65 typedef Value* (*Function)(const char* name, State* state, 70 const char* name; member 89 Value* Literal(const char* name, State* state, int argc, Expr* argv[]); 94 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]); 95 Value* LogicalAndFn(const char* name, State* state, int argc, Expr* argv[]); 96 Value* LogicalOrFn(const char* name, State* state, int argc, Expr* argv[]); 97 Value* LogicalNotFn(const char* name, State* state, int argc, Expr* argv[]); 98 Value* SubstringFn(const char* name, State* state, int argc, Expr* argv[]); 99 Value* EqualityFn(const char* name, State* state, int argc, Expr* argv[]); 100 Value* InequalityFn(const char* name, State* state, int argc, Expr* argv[]); [all …]
|
D | expr.cpp | 41 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); in Evaluate() 54 return expr->fn(expr->name, state, expr->argc, expr->argv); in EvaluateValue() 72 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) { in ConcatFn() argument 108 Value* IfElseFn(const char* name, State* state, int argc, Expr* argv[]) { in IfElseFn() argument 132 Value* AbortFn(const char* name, State* state, int argc, Expr* argv[]) { in AbortFn() argument 146 Value* AssertFn(const char* name, State* state, int argc, Expr* argv[]) { in AssertFn() argument 171 Value* SleepFn(const char* name, State* state, int argc, Expr* argv[]) { in SleepFn() argument 181 Value* StdoutFn(const char* name, State* state, int argc, Expr* argv[]) { in StdoutFn() argument 194 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn() argument 206 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn() argument [all …]
|
D | main.cpp | 169 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
|
D | parser.yy | 75 $$->name = $1; 102 $$->name = $1;
|
/bootable/recovery/updater/ |
D | install.cpp | 116 Value* MountFn(const char* name, State* state, int argc, Expr* argv[]) { in MountFn() argument 119 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 4-5 args, got %d", name, argc); in MountFn() 142 ErrorAbort(state, kArgsParsingFailure, "fs_type argument to %s() can't be empty", name); in MountFn() 147 name); in MountFn() 151 ErrorAbort(state, kArgsParsingFailure, "location argument to %s() can't be empty", name); in MountFn() 156 name); in MountFn() 182 name, location); in MountFn() 198 name, location, mount_point, strerror(errno)); in MountFn() 216 Value* IsMountedFn(const char* name, State* state, int argc, Expr* argv[]) { in IsMountedFn() argument 219 return ErrorAbort(state, kArgsParsingFailure, "%s() expects 1 arg, got %d", name, argc); in IsMountedFn() [all …]
|
D | install.h | 25 static int make_parents(char* name);
|
D | blockimg.cpp | 1351 const char* name; member 1358 return strcmp(((const Command*) c1)->name, ((const Command*) c2)->name); in CompareCommands() 1362 return strcmp(((const Command*) c1)->name, (const char*) c2); in CompareCommandNames() 1383 static Value* PerformBlockImageUpdate(const char* name, State* state, int /* argc */, Expr* argv[], in PerformBlockImageUpdate() argument 1412 name); in PerformBlockImageUpdate() 1416 ErrorAbort(state, kArgsParsingFailure, "transfer_list argument to %s must be blob", name); in PerformBlockImageUpdate() 1420 ErrorAbort(state, kArgsParsingFailure, "new_data_fn argument to %s must be string", name); in PerformBlockImageUpdate() 1425 name); in PerformBlockImageUpdate() 1444 fprintf(stderr, "%s(): no file \"%s\" in package", name, patch_data_fn->data); in PerformBlockImageUpdate() 1451 fprintf(stderr, "%s(): no file \"%s\" in package", name, new_data_fn->data); in PerformBlockImageUpdate() [all …]
|
/bootable/recovery/ |
D | recovery-refresh.cpp | 78 std::string name(filename); in logrotate() local 79 size_t dot = name.find_last_of("."); in logrotate() 80 std::string sub = name.substr(0, dot); in logrotate() 89 name += ".1"; in logrotate() 91 std::string number = name.substr(dot + 1); in logrotate() 93 name += ".1"; in logrotate() 96 name = sub + "." + std::to_string(i + 1); in logrotate() 100 return __android_log_pmsg_file_write(logId, prio, name.c_str(), buf, len); in logrotate()
|
D | wear_touch.cpp | 134 char name[80]; in openDevice() local 135 name[sizeof(name) - 1] = '\0'; in openDevice() 136 if (ioctl(fd, EVIOCGNAME(sizeof(name) - 1), &name) < 1) { in openDevice() 138 name[0] = '\0'; in openDevice() 146 LOGD("Found %s %s\n", device, name); in openDevice()
|
D | recovery.cpp | 209 static void check_and_fclose(FILE *fp, const char *name) { in check_and_fclose() argument 211 if (ferror(fp)) LOGE("Error in %s\n(%s)\n", name, strerror(errno)); in check_and_fclose() 572 char* name; member 607 p->name = strdup(path); in erase_volume() 660 FILE* f = fopen_path(head->name, "wb"); in erase_volume() 664 chmod(head->name, head->st.st_mode); in erase_volume() 665 chown(head->name, head->st.st_uid, head->st.st_gid); in erase_volume() 667 free(head->name); in erase_volume() 1298 print_property(const char *key, const char *name, void *cookie) { in print_property() argument 1299 printf("%s=%s\n", key, name); in print_property() [all …]
|
D | recovery-persist.cpp | 58 static void check_and_fclose(FILE *fp, const char *name) { in check_and_fclose() argument 60 if (ferror(fp)) SLOGE("%s %s", name, strerror(errno)); in check_and_fclose()
|
D | NOTICE | 58 separable from, or merely link (or bind by name) to the interfaces of,
|
/bootable/recovery/minui/ |
D | minui.h | 58 int gr_init_font(const char* name, GRFont** dest); 110 int res_create_display_surface(const char* name, GRSurface** pSurface); 116 int res_create_multi_display_surface(const char* name, int* frames, 120 int res_create_alpha_surface(const char* name, GRSurface** pSurface); 128 int res_create_localized_alpha_surface(const char* name, const char* locale,
|
D | resources.cpp | 47 static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, in open_png() argument 55 snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name); in open_png() 198 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface() argument 210 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface() 238 int res_create_multi_display_surface(const char* name, int* frames, int* fps, in res_create_multi_display_surface() argument 254 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_multi_display_surface() 326 int res_create_alpha_surface(const char* name, GRSurface** pSurface) { in res_create_alpha_surface() argument 336 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_alpha_surface() 385 int res_create_localized_alpha_surface(const char* name, in res_create_localized_alpha_surface() argument 408 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_localized_alpha_surface() [all …]
|
D | graphics.cpp | 267 int gr_init_font(const char* name, GRFont** dest) { in gr_init_font() argument 273 int res = res_create_alpha_surface(name, &(font->texture)); in gr_init_font()
|
/bootable/recovery/minadbd/ |
D | services.cpp | 88 int service_to_fd(const char* name, const atransport* transport) { in service_to_fd() argument 91 if (!strncmp(name, "sideload:", 9)) { in service_to_fd() 96 } else if (!strncmp(name, "sideload-host:", 14)) { in service_to_fd() 97 char* arg = strdup(name + 14); in service_to_fd()
|
/bootable/recovery/mtdutils/ |
D | mtdutils.c | 35 char *name; member 98 if (p->name != NULL) { in mtd_scan_partitions() 99 free(p->name); in mtd_scan_partitions() 100 p->name = NULL; in mtd_scan_partitions() 147 p->name = strdup(mtdname); in mtd_scan_partitions() 148 if (p->name == NULL) { in mtd_scan_partitions() 176 mtd_find_partition_by_name(const char *name) in mtd_find_partition_by_name() argument 182 if (p->device_index >= 0 && p->name != NULL) { in mtd_find_partition_by_name() 183 if (strcmp(p->name, name) == 0) { in mtd_find_partition_by_name()
|
D | mtdutils.h | 30 const MtdPartition *mtd_find_partition_by_name(const char *name);
|
/bootable/recovery/minzip/ |
D | Zip.c | 122 const char* name = (const char*) vname; in hashcmpZipName() local 123 unsigned int nameLen = strlen(name); in hashcmpZipName() 127 return memcmp(entry->fileName, name, nameLen); in hashcmpZipName() 136 static unsigned int computeHash(const char* name, int nameLen) in computeHash() argument 141 hash = hash * 31 + *name++; in computeHash()
|
/bootable/recovery/fonts/ |
D | OFL.txt | 65 Copyright Holder. This restriction only applies to the primary font name as 68 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
|
/bootable/recovery/applypatch/ |
D | imgdiff.cpp | 793 ImageChunk* FindChunkByName(const char* name, in FindChunkByName() argument 798 strcmp(name, chunks[i].filename) == 0) { in FindChunkByName()
|