Home
last modified time | relevance | path

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

/bootable/recovery/edify/
Dexpr.h65 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 …]
Dexpr.cpp41 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 …]
Dmain.cpp169 n->name == NULL ? "(NULL)" : n->name, n->fn, n->start, n->end, in ExprDump()
Dparser.yy75 $$->name = $1;
102 $$->name = $1;
/bootable/recovery/updater/
Dinstall.cpp116 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 …]
Dinstall.h25 static int make_parents(char* name);
Dblockimg.cpp1351 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/
Drecovery-refresh.cpp78 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()
Dwear_touch.cpp134 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()
Drecovery.cpp209 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 …]
Drecovery-persist.cpp58 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()
DNOTICE58 separable from, or merely link (or bind by name) to the interfaces of,
/bootable/recovery/minui/
Dminui.h58 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,
Dresources.cpp47 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 …]
Dgraphics.cpp267 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/
Dservices.cpp88 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/
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/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.cpp793 ImageChunk* FindChunkByName(const char* name, in FindChunkByName() argument
798 strcmp(name, chunks[i].filename) == 0) { in FindChunkByName()