Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 42) sorted by relevance

12

/system/extras/verity/fec/
Dimage.cpp46 void image_init(image *ctx) in image_init()
51 void image_free(image *ctx) in image_free()
66 static void calculate_rounds(uint64_t size, image *ctx) in calculate_rounds()
82 image *ctx = (image *)priv; in process_chunk() local
92 static void file_image_load(const std::vector<int>& fds, image *ctx) in file_image_load()
145 bool image_load(const std::vector<std::string>& filenames, image *ctx) in image_load()
173 bool image_save(const std::string& filename, image *ctx) in image_save()
192 bool image_ecc_new(const std::string& filename, image *ctx) in image_ecc_new()
212 bool image_ecc_load(const std::string& filename, image *ctx) in image_ecc_load()
292 bool image_ecc_save(image *ctx) in image_ecc_save()
[all …]
Dmain.cpp42 static void encode_rs(struct image_proc_ctx *ctx) in encode_rs()
59 static void decode_rs(struct image_proc_ctx *ctx) in decode_rs()
136 static int print_size(image& ctx) in print_size()
172 static int encode(image& ctx, const std::vector<std::string>& inp_filenames, in encode()
214 static int decode(image& ctx, const std::vector<std::string>& inp_filenames, in decode()
275 image ctx; in main() local
Dimage.h72 image *ctx; member
92 inline uint8_t image_get_interleaved_byte(uint64_t i, image *ctx) in image_get_interleaved_byte()
103 inline void image_set_interleaved_byte(uint64_t i, image *ctx, in image_set_interleaved_byte()
/system/core/liblog/
Dlog_event_list.cpp103 int android_log_destroy(android_log_context* ctx) { in android_log_destroy()
116 int android_log_reset(android_log_context ctx) { in android_log_reset()
132 int android_log_parser_reset(android_log_context ctx, const char* msg, size_t len) { in android_log_parser_reset()
146 int android_log_write_list_begin(android_log_context ctx) { in android_log_write_list_begin()
187 int android_log_write_int32(android_log_context ctx, int32_t value) { in android_log_write_int32()
221 int android_log_write_int64(android_log_context ctx, int64_t value) { in android_log_write_int64()
244 int android_log_write_string8_len(android_log_context ctx, const char* value, size_t maxlen) { in android_log_write_string8_len()
279 int android_log_write_string8(android_log_context ctx, const char* value) { in android_log_write_string8()
283 int android_log_write_float32(android_log_context ctx, float value) { in android_log_write_float32()
308 int android_log_write_list_end(android_log_context ctx) { in android_log_write_list_end()
[all …]
Dstderr_write.cpp68 struct stderrContext* ctx; in stderrOpen() local
125 stderrContext* ctx = static_cast<stderrContext*>(stderrLoggerWrite.context.priv); in stderrClose() local
155 stderrContext* ctx = static_cast<stderrContext*>(stderrLoggerWrite.context.priv); in stderrWrite() local
Dlog_event_write.cpp32 android_log_context ctx = create_android_logger(tag); in __android_log_error_write() local
/system/core/libasyncio/
DAsyncIO.cpp27 int io_destroy(aio_context_t ctx) { in io_destroy()
31 int io_submit(aio_context_t ctx, long nr, iocb** iocbpp) { in io_submit()
35 int io_getevents(aio_context_t ctx, long min_nr, long max_nr, io_event* events, timespec* timeout) { in io_getevents()
39 int io_cancel(aio_context_t ctx, iocb* iocbp, io_event* result) { in io_cancel()
/system/core/lmkd/
Dstatslog.c36 stats_write_lmk_state_changed(android_log_context ctx, int32_t code, int32_t state) { in stats_write_lmk_state_changed()
65 stats_write_lmk_kill_occurred(android_log_context ctx, int32_t code, int32_t uid, in stats_write_lmk_kill_occurred()
/system/core/libstats/
Dstats_event_list.c48 void reset_log_context(android_log_context ctx) { in reset_log_context()
68 int stats_write_list(android_log_context ctx) { in stats_write_list()
103 int write_to_logger(android_log_context ctx, log_id_t id) { in write_to_logger()
206 int android_log_write_char_array(android_log_context ctx, const char* value, size_t actual_len) { in android_log_write_char_array()
/system/core/logcat/tests/
Dlogcat_test.cpp1542 android_log_event_list ctx(hhgtg.tagNo); in TEST() local
1556 android_log_event_list ctx(sync.tagNo); in TEST() local
1566 android_log_event_list ctx(sync.tagNo); in TEST() local
1575 android_log_event_list ctx(sync.tagNo); in TEST() local
1588 android_log_event_list ctx(sync.tagNo); in TEST() local
1597 android_log_event_list ctx(sync.tagNo); in TEST() local
1609 android_log_event_list ctx(sync.tagNo); in TEST() local
1617 android_log_event_list ctx(sync.tagNo); in TEST() local
1625 android_log_event_list ctx(sync.tagNo); in TEST() local
1633 android_log_event_list ctx(sync.tagNo); in TEST() local
[all …]
/system/keymaster/key_blob_utils/
Docb_utils.cpp72 AeCtx* ctx) { in InitializeKeyWrappingContext()
128 AeCtx ctx; in OcbEncryptKey() local
164 AeCtx ctx; in OcbDecryptKey() local
Dintegrity_assured_key_blob.cpp44 explicit HmacCleanup(HMAC_CTX* ctx) : ctx_(ctx) {} in HmacCleanup()
59 HMAC_CTX ctx; in ComputeHmac() local
Docb.c375 #define ROUNDS(ctx) ((ctx)->rounds) argument
388 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
422 #define ROUNDS(ctx) ((ctx)->rounds) argument
425 #define ROUNDS(ctx) (6 + OCB_KEY_LEN / 4) argument
645 static block getL(const ae_ctx* ctx, unsigned tz) { in getL()
683 void ae_free(ae_ctx* ctx) { in ae_free()
693 int ae_clear(ae_ctx* ctx) /* Zero ae_ctx and undo initialization */ in ae_clear()
705 int ae_init(ae_ctx* ctx, const void* key, int key_len, int nonce_len, int tag_len) { in ae_init()
750 static block gen_offset_from_nonce(ae_ctx* ctx, const void* nonce) { in gen_offset_from_nonce()
791 static void process_ad(ae_ctx* ctx, const void* ad, int ad_len, int final) { in process_ad()
[all …]
/system/core/logcat/
Dlogcat_main.cpp23 android_logcat_context ctx = create_android_logcat(); in main() local
Dlogcatd_main.cpp27 android_logcat_context ctx = create_android_logcat(); in main() local
/system/keymaster/include/keymaster/km_openssl/
Dopenssl_utils.h38 explicit EvpMdCtxCleaner(EVP_MD_CTX* ctx) : ctx_(ctx) {} in EvpMdCtxCleaner()
/system/keymaster/km_openssl/
Diso18033kdf.cpp36 EVP_MD_CTX ctx; in GenerateKey() local
Dsoft_keymaster_enforcement.cpp64 EvpMdCtx ctx; in CreateKeyId() local
102 HMAC_CTX_Ptr ctx(HMAC_CTX_new()); in hmacSha256() local
Dckdf.cpp50 CMAC_CTX_Ptr ctx(CMAC_CTX_new()); in DEFINE_OPENSSL_OBJECT_POINTER() local
/system/core/logd/
Dlibaudit.h41 char ctx[0]; member
/system/core/trusty/keymaster/legacy/
Dtrusty_keymaster_main.cpp260 std::unique_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_Delete> ctx(EVP_PKEY_CTX_new(pkey.get(), NULL)); in test_rsa() local
364 std::unique_ptr<EVP_PKEY_CTX, EVP_PKEY_CTX_Delete> ctx(EVP_PKEY_CTX_new(pkey.get(), NULL)); in test_ecdsa() local
/system/core/liblog/tests/
Dliblog_test.cpp2558 android_log_context ctx; in event_test_int32() local
2575 android_log_context ctx; in event_test_int64() local
2592 android_log_context ctx; in event_test_list_int64() local
2613 android_log_context ctx; in event_test_simple_automagic_list() local
2635 android_log_context ctx; in event_test_list_empty() local
2654 android_log_context ctx; in event_test_complex_nested_list() local
2702 android_log_context ctx; in event_test_7_level_prefix() local
2741 android_log_context ctx; in event_test_7_level_suffix() local
2982 android_log_context ctx; in TEST() local
3009 __android_log_event_list ctx(1005); in TEST() local
/system/core/libcrypto_utils/
Dandroid_pubkey.c125 BN_CTX* ctx = BN_CTX_new(); in android_pubkey_encode() local
/system/core/adb/daemon/include/adbd/
Dusb.h31 aio_context_t ctx; member
/system/apex/apexd/
Dapex_shim.cpp54 SHA512_CTX ctx; in CalculateSha512() local

12