Home
last modified time | relevance | path

Searched refs:name (Results 1 – 17 of 17) sorted by relevance

/bootable/recovery/edify/
Dexpr.h57 typedef Value* (*Function)(const char* name, State* state,
62 char* name; member
81 Value* Literal(const char* name, State* state, int argc, Expr* argv[]);
86 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]);
87 Value* LogicalAndFn(const char* name, State* state, int argc, Expr* argv[]);
88 Value* LogicalOrFn(const char* name, State* state, int argc, Expr* argv[]);
89 Value* LogicalNotFn(const char* name, State* state, int argc, Expr* argv[]);
90 Value* SubstringFn(const char* name, State* state, int argc, Expr* argv[]);
91 Value* EqualityFn(const char* name, State* state, int argc, Expr* argv[]);
92 Value* InequalityFn(const char* name, State* state, int argc, Expr* argv[]);
[all …]
Dexpr.c36 Value* v = expr->fn(expr->name, state, expr->argc, expr->argv); in Evaluate()
49 return expr->fn(expr->name, state, expr->argc, expr->argv); in EvaluateValue()
67 Value* ConcatFn(const char* name, State* state, int argc, Expr* argv[]) { in ConcatFn() argument
102 Value* IfElseFn(const char* name, State* state, int argc, Expr* argv[]) { in IfElseFn() argument
126 Value* AbortFn(const char* name, State* state, int argc, Expr* argv[]) { in AbortFn() argument
140 Value* AssertFn(const char* name, State* state, int argc, Expr* argv[]) { in AssertFn() argument
165 Value* SleepFn(const char* name, State* state, int argc, Expr* argv[]) { in SleepFn() argument
175 Value* StdoutFn(const char* name, State* state, int argc, Expr* argv[]) { in StdoutFn() argument
188 Value* LogicalAndFn(const char* name, State* state, in LogicalAndFn() argument
200 Value* LogicalOrFn(const char* name, State* state, in LogicalOrFn() argument
[all …]
Dparser.y75 $$->name = $1;
102 $$->name = $1;
Dmain.c164 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
/bootable/recovery/updater/
Dinstall.c93 Value* MountFn(const char* name, State* state, int argc, Expr* argv[]) { in MountFn() argument
96 return ErrorAbort(state, "%s() expects 4-5 args, got %d", name, argc); in MountFn()
119 ErrorAbort(state, "fs_type argument to %s() can't be empty", name); in MountFn()
124 name); in MountFn()
128 ErrorAbort(state, "location argument to %s() can't be empty", name); in MountFn()
132 ErrorAbort(state, "mount_point argument to %s() can't be empty", name); in MountFn()
156 name, location); in MountFn()
172 name, location, mount_point, strerror(errno)); in MountFn()
190 Value* IsMountedFn(const char* name, State* state, int argc, Expr* argv[]) { in IsMountedFn() argument
193 return ErrorAbort(state, "%s() expects 1 arg, got %d", name, argc); in IsMountedFn()
[all …]
Dinstall.h22 static int make_parents(char* name);
Dblockimg.c1489 const char* name; member
1496 return strcmp(((const Command*) c1)->name, ((const Command*) c2)->name); in CompareCommands()
1500 return strcmp(((const Command*) c1)->name, (const char*) c2); in CompareCommandNames()
1521 static Value* PerformBlockImageUpdate(const char* name, State* state, int argc, Expr* argv[], in PerformBlockImageUpdate() argument
1559 ErrorAbort(state, "blockdev_filename argument to %s must be string", name); in PerformBlockImageUpdate()
1563 ErrorAbort(state, "transfer_list argument to %s must be blob", name); in PerformBlockImageUpdate()
1567 ErrorAbort(state, "new_data_fn argument to %s must be string", name); in PerformBlockImageUpdate()
1571 ErrorAbort(state, "patch_data_fn argument to %s must be string", name); in PerformBlockImageUpdate()
1591 fprintf(stderr, "%s(): no file \"%s\" in package", name, patch_data_fn->data); in PerformBlockImageUpdate()
1599 fprintf(stderr, "%s(): no file \"%s\" in package", name, new_data_fn->data); in PerformBlockImageUpdate()
[all …]
/bootable/recovery/minadbd/
Dservices.cpp91 int service_to_fd(const char* name) { in service_to_fd() argument
94 if (!strncmp(name, "sideload:", 9)) { in service_to_fd()
99 } else if (!strncmp(name, "sideload-host:", 14)) { in service_to_fd()
100 ret = create_service_thread(sideload_host_service, (void*)(name + 14)); in service_to_fd()
/bootable/recovery/minui/
Dminui.h98 int res_create_display_surface(const char* name, GRSurface** pSurface);
104 int res_create_multi_display_surface(const char* name,
108 int res_create_alpha_surface(const char* name, GRSurface** pSurface);
116 int res_create_localized_alpha_surface(const char* name, const char* locale,
Dresources.cpp49 static int open_png(const char* name, png_structp* png_ptr, png_infop* info_ptr, in open_png() argument
57 snprintf(resPath, sizeof(resPath)-1, "/res/images/%s.png", name); in open_png()
200 int res_create_display_surface(const char* name, GRSurface** pSurface) { in res_create_display_surface() argument
212 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_display_surface()
240 int res_create_multi_display_surface(const char* name, int* frames, GRSurface*** pSurface) { in res_create_multi_display_surface() argument
256 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_multi_display_surface()
319 int res_create_alpha_surface(const char* name, GRSurface** pSurface) { in res_create_alpha_surface() argument
329 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_alpha_surface()
383 int res_create_localized_alpha_surface(const char* name, in res_create_localized_alpha_surface() argument
406 result = open_png(name, &png_ptr, &info_ptr, &width, &height, &channels); in res_create_localized_alpha_surface()
[all …]
/bootable/recovery/mtdutils/
Dmtdutils.c35 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()
Dmtdutils.h30 const MtdPartition *mtd_find_partition_by_name(const char *name);
/bootable/recovery/
Drecovery.cpp182 check_and_fclose(FILE *fp, const char *name) { in check_and_fclose() argument
184 if (ferror(fp)) LOGE("Error in %s\n(%s)\n", name, strerror(errno)); in check_and_fclose()
414 char* name; member
448 p->name = strdup(path); in erase_volume()
480 FILE* f = fopen_path(head->name, "wb"); in erase_volume()
484 chmod(head->name, head->st.st_mode); in erase_volume()
485 chown(head->name, head->st.st_uid, head->st.st_gid); in erase_volume()
487 free(head->name); in erase_volume()
865 print_property(const char *key, const char *name, void *cookie) { in print_property() argument
866 printf("%s=%s\n", key, name); in print_property()
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/bootable/recovery/minzip/
DZip.c122 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/
DOFL.txt65 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/
Dimgdiff.c771 ImageChunk* FindChunkByName(const char* name, in FindChunkByName() argument
776 strcmp(name, chunks[i].filename) == 0) { in FindChunkByName()