Home
last modified time | relevance | path

Searched refs:token (Results 1 – 9 of 9) sorted by relevance

/bootable/recovery/
Dfuse_sdcard_provider.c63 struct token { struct
70 struct token* t = (struct token*)cookie; in run_sdcard_fuse() argument
103 struct token* t = malloc(sizeof(struct token)); in start_sdcard_fuse()
131 struct token* t = (struct token*)cookie; in finish_sdcard_fuse()
Dfuse_sdcard_provider.h25 void finish_sdcard_fuse(void* token);
Drecovery.cpp228 char *token; in get_args() local
236 token = strtok(buf, "\r\n"); in get_args()
237 if (token != NULL) { in get_args()
238 (*argv)[*argc] = strdup(token); // Strip newline. in get_args()
766 void* token = start_sdcard_fuse(path); in apply_from_sdcard() local
771 finish_sdcard_fuse(token); in apply_from_sdcard()
/bootable/recovery/applypatch/
Dapplypatch.h73 SinkFn sink, void* token, SHA_CTX* ctx);
81 SinkFn sink, void* token, SHA_CTX* ctx,
Dimgpatch.c42 SinkFn sink, void* token, SHA_CTX* ctx, in ApplyImagePatch() argument
84 patch, patch_offset, sink, token, ctx); in ApplyImagePatch()
101 data_len, token) != data_len) { in ApplyImagePatch()
216 if (sink(temp_data, have, token) != have) { in ApplyImagePatch()
Dapplypatch.c35 static ssize_t FileSink(const unsigned char* data, ssize_t len, void* token);
626 ssize_t FileSink(const unsigned char* data, ssize_t len, void* token) { in FileSink() argument
627 int fd = *(int *)token; in FileSink()
647 ssize_t MemorySink(const unsigned char* data, ssize_t len, void* token) { in MemorySink() argument
648 MemorySinkInfo* msi = (MemorySinkInfo*)token; in MemorySink()
924 void* token = NULL; in GenerateTarget() local
939 token = &msi; in GenerateTarget()
954 token = &output; in GenerateTarget()
967 patch, 0, sink, token, &ctx); in GenerateTarget()
971 patch, sink, token, &ctx, bonus_data); in GenerateTarget()
Dbspatch.c103 SinkFn sink, void* token, SHA_CTX* ctx) { in ApplyBSDiffPatch() argument
112 if (sink(new_data, new_size, token) < new_size) { in ApplyBSDiffPatch()
/bootable/recovery/edify/
Dparser.y49 %token AND OR SUBSTR SUPERSTR EQ NE IF THEN ELSE ENDIF
50 %token <str> STRING BAD
/bootable/recovery/updater/
Dblockimg.c176 static ssize_t RangeSinkWrite(const uint8_t* data, ssize_t size, void* token) { in RangeSinkWrite() argument
177 RangeSinkState* rss = (RangeSinkState*) token; in RangeSinkWrite()