Searched defs:ctx (Results 1 – 9 of 9) sorted by relevance
/bootable/recovery/ |
D | asn1_decoder.cpp | 42 asn1_context_t* ctx = (asn1_context_t*) calloc(1, sizeof(asn1_context_t)); in asn1_context_new() local 51 void asn1_context_free(asn1_context_t* ctx) { in asn1_context_free() 55 static inline int peek_byte(asn1_context_t* ctx) { in peek_byte() 62 static inline int get_byte(asn1_context_t* ctx) { in get_byte() 72 static inline bool skip_bytes(asn1_context_t* ctx, size_t num_skip) { in skip_bytes() 81 static bool decode_length(asn1_context_t* ctx, size_t* out_len) { in decode_length() 110 asn1_context_t* asn1_constructed_get(asn1_context_t* ctx) { in asn1_constructed_get() 124 bool asn1_constructed_skip_all(asn1_context_t* ctx) { in asn1_constructed_skip_all() 137 int asn1_constructed_type(asn1_context_t* ctx) { in asn1_constructed_type() 141 asn1_context_t* asn1_sequence_get(asn1_context_t* ctx) { in asn1_sequence_get() [all …]
|
D | verifier.cpp | 63 asn1_context_t* ctx = asn1_context_new(pkcs7_der, pkcs7_der_len); in read_pkcs7() local
|
/bootable/recovery/tests/ |
D | asn1_decoder_test.cpp | 33 asn1_context_t* ctx = asn1_context_new(empty, sizeof(empty)); in TEST_F() local 52 asn1_context_t* ctx = asn1_context_new(truncated, sizeof(truncated)); in TEST_F() local 60 asn1_context_t* ctx = asn1_context_new(truncated, sizeof(truncated)); in TEST_F() local 67 asn1_context_t* ctx = asn1_context_new(data, sizeof(data)); in TEST_F() local 80 asn1_context_t* ctx = asn1_context_new(data, sizeof(data)); in TEST_F() local 95 asn1_context_t* ctx = asn1_context_new(truncated, sizeof(truncated)); in TEST_F() local 104 asn1_context_t* ctx = asn1_context_new(data, sizeof(data)); in TEST_F() local 116 asn1_context_t* ctx = asn1_context_new(truncated, sizeof(truncated)); in TEST_F() local 123 asn1_context_t* ctx = asn1_context_new(data, sizeof(data)); in TEST_F() local 135 asn1_context_t* ctx = asn1_context_new(data, sizeof(data)); in TEST_F() local [all …]
|
/bootable/recovery/mtdutils/ |
D | mtdutils.c | 259 MtdReadContext *ctx = (MtdReadContext*) malloc(sizeof(MtdReadContext)); in mtd_read_partition() local 328 ssize_t mtd_read_data(MtdReadContext *ctx, char *data, size_t len) in mtd_read_data() 361 void mtd_read_close(MtdReadContext *ctx) in mtd_read_close() 370 MtdWriteContext *ctx = (MtdWriteContext*) malloc(sizeof(MtdWriteContext)); in mtd_write_partition() local 397 static void add_bad_block_offset(MtdWriteContext *ctx, off_t pos) { in add_bad_block_offset() 406 static int write_block(MtdWriteContext *ctx, const char *data) in write_block() 478 ssize_t mtd_write_data(MtdWriteContext *ctx, const char *data, size_t len) in mtd_write_data() 507 off_t mtd_erase_blocks(MtdWriteContext *ctx, int blocks) in mtd_erase_blocks() 551 int mtd_write_close(MtdWriteContext *ctx) in mtd_write_close()
|
/bootable/recovery/applypatch/ |
D | imgpatch.c | 42 SinkFn sink, void* token, SHA_CTX* ctx, in ApplyImagePatch()
|
D | bspatch.c | 103 SinkFn sink, void* token, SHA_CTX* ctx) { in ApplyBSDiffPatch()
|
D | applypatch.c | 174 MtdReadContext* ctx = NULL; in LoadPartitionContents() local 386 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteToPartition() local 816 SHA_CTX ctx; in GenerateTarget() local
|
/bootable/recovery/updater/ |
D | install.c | 317 MtdWriteContext* ctx = mtd_write_partition(mtd); in FormatFn() local 1033 int data_len, void* ctx) { in write_raw_image_cb() 1073 MtdWriteContext* ctx = mtd_write_partition(mtd); in WriteRawImageFn() local
|
D | blockimg.c | 741 SHA_CTX ctx; in CreateStash() local 1915 SHA_CTX ctx; in RangeSha1Fn() local
|