Searched refs:type (Results 1 - 18 of 18) sorted by relevance

/bootable/recovery/applypatch/
H A Dimgdiff.c67 * chunk type (4) [CHUNK_{NORMAL, GZIP, DEFLATE, RAW}]
68 * if chunk type == CHUNK_NORMAL:
72 * if chunk type == CHUNK_GZIP: (version 1 only)
86 * if chunk type == CHUNK_DEFLATE: (version 2 only)
97 * if chunk type == RAW: (version 2 only)
137 int type; // CHUNK_NORMAL, CHUNK_DEFLATE member in struct:__anon2
291 curr->type = CHUNK_NORMAL;
306 curr->type = CHUNK_DEFLATE;
347 curr->type = CHUNK_NORMAL;
418 curr->type
[all...]
H A Dimgpatch.c67 int type = Read4(patch->data + pos); local
70 if (type == CHUNK_NORMAL) {
84 } else if (type == CHUNK_RAW) {
105 } else if (type == CHUNK_DEFLATE) {
227 printf("patch chunk %d is unknown type %d\n", i, type);
H A Dmain.c81 (*patches)[i]->type = VAL_BLOB;
111 bonus->type = VAL_BLOB;
167 // bsdiff <patch> to <src-file> to produce a new file (the type of patch
H A Dapplypatch.c128 enum PartitionType type; local
131 type = MTD;
133 type = EMMC;
177 switch (type) {
224 switch (type) {
269 switch (type) {
356 enum PartitionType type; local
358 type = MTD;
360 type = EMMC;
372 switch (type) {
[all...]
/bootable/recovery/
H A Dasn1_decoder.cpp107 * Returns the constructed type and advances the pointer. E.g. A0 -> 0
110 int type = get_byte(ctx); local
111 if (type == -1 || (type & kMaskConstructed) != kTagConstructed) {
119 app_ctx->app_type = type & kMaskAppType;
H A Dscreen_ui.h38 void SetProgressType(ProgressType type);
H A Dui.cpp77 if (ev.type == EV_SYN) {
79 } else if (ev.type == EV_REL) {
100 if (ev.type == EV_KEY && ev.code <= KEY_MAX)
H A Dscreen_ui.cpp420 void ScreenRecoveryUI::SetProgressType(ProgressType type) argument
423 if (progressBarType != type) {
424 progressBarType = type;
/bootable/recovery/minadbd/
H A Dadb.c229 char *type, *product, *end; local
232 type = banner;
233 product = strchr(type, ':');
252 if(!strcmp(type, "bootloader")){
259 if(!strcmp(type, "device")) {
266 if(!strcmp(type, "recovery")) {
273 if(!strcmp(type, "sideload")) {
H A Dsysdeps.h169 extern int socket_loopback_client(int port, int type);
170 extern int socket_network_client(const char *host, int port, int type);
171 extern int socket_loopback_server(int port, int type);
172 extern int socket_inaddr_any_server(int port, int type);
440 static __inline__ int unix_socketpair( int d, int type, int protocol, int sv[2] ) argument
442 return socketpair( d, type, protocol, sv );
H A Dtransport_usb.c117 t->type = kTransportUsb;
H A Dadb.h125 /* socket-type-specific extradata */
179 transport_type type; member in struct:atransport
H A Dtransport.c622 if (ttype == kTransportUsb && t->type == kTransportUsb) {
631 } else if (ttype == kTransportLocal && t->type == kTransportLocal) {
/bootable/recovery/edify/
H A Dparser.y51 %type <expr> expr
52 %type <args> arglist
H A Dexpr.h52 int type; member in struct:__anon5
H A Dexpr.c38 if (v->type != VAL_STRING) {
39 ErrorAbort(state, "expecting string, got value type %d", v->type);
55 v->type = VAL_STRING;
/bootable/recovery/updater/
H A Dblockimg.c267 if (blockdev_filename->type != VAL_STRING) {
271 if (transfer_list_value->type != VAL_BLOB) {
275 if (new_data_fn->type != VAL_STRING) {
279 if (patch_data_fn->type != VAL_STRING) {
317 // target blocks. bsdiff or imgdiff specifies the type of
514 patch_value.type = VAL_BLOB;
600 if (blockdev_filename->type != VAL_STRING) {
604 if (ranges->type != VAL_STRING) {
H A Dinstall.c555 v->type = VAL_BLOB;
1050 if (partition_value->type != VAL_STRING) {
1059 if (contents->type == VAL_STRING && strlen((char*) contents->data) == 0) {
1082 if (contents->type == VAL_STRING) {
1185 if (patches[i*2]->type != VAL_STRING) {
1189 if (patches[i*2+1]->type != VAL_BLOB) {
1360 if (args[i]->type != VAL_STRING) {
1395 v->type = VAL_BLOB;

Completed in 3194 milliseconds