Home
last modified time | relevance | path

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

12345

/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
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/nearby/crypto/
Dhmac.c23 static void sha2InitHmacKeyUpdate(struct HmacContext *ctx) { in sha2InitHmacKeyUpdate()
29 void hmacInit(struct HmacContext *ctx, const void *inKey, const size_t keyLen) { in hmacInit()
46 void hmacUpdate(struct HmacContext *ctx, const void *inData, in hmacUpdate()
56 void hmacUpdateHashInit(struct HmacContext *ctx, const void *inData, in hmacUpdateHashInit()
66 void hmacFinish(struct HmacContext *ctx, void *outHash, const size_t hashLen) { in hmacFinish()
79 struct HmacContext ctx; in hmacSha256() local
Dsha2.c35 void sha2init(struct Sha2Context *ctx) { in sha2init()
74 static void sha2processBlock(struct Sha2Context *ctx) { in sha2processBlock()
145 void sha2processBytes(struct Sha2Context *ctx, const void *inData, in sha2processBytes()
170 void sha2finish(struct Sha2Context *ctx, void *outHash, uint32_t hashLen) { in sha2finish()
202 struct Sha2Context ctx; in sha256() local
Daes.c145 int aesInitForEncr(struct AesContext *ctx, const uint32_t *k) { in aesInitForEncr()
189 void aesEncr(struct AesContext *ctx, const uint32_t *src, uint32_t *dst) { in aesEncr()
251 int aesCtrInit(struct AesCtrContext *ctx, const void *k, const void *iv, in aesCtrInit()
277 void aesCtr(struct AesCtrContext *ctx, const void *src, void *dst, in aesCtr()
/system/linkerconfig/contents/tests/configuration/
Dapexconfig_test.cc59 android::linkerconfig::contents::Context ctx; in TEST_F() local
71 android::linkerconfig::contents::Context ctx; in TEST_F() local
87 android::linkerconfig::contents::Context ctx; in TEST_F() local
108 android::linkerconfig::contents::Context ctx; in TEST_F() local
128 android::linkerconfig::contents::Context ctx; in TEST_F() local
158 Context ctx; in TEST_F() local
178 Context ctx; in TEST_F() local
Dbaseconfig_test.cc29 Context ctx; in TEST() local
43 Context ctx; in TEST() local
56 Context ctx; in TEST() local
69 Context ctx; in TEST() local
90 Context ctx; in TEST() local
/system/linkerconfig/
Dmain.cc207 Context ctx; in GetContext() local
278 Configuration GetConfiguration(Context& ctx) { in GetConfiguration()
309 Result<void> GenerateBaseLinkerConfiguration(Context& ctx, in GenerateBaseLinkerConfiguration()
314 Result<void> GenerateRecoveryLinkerConfiguration(Context& ctx, in GenerateRecoveryLinkerConfiguration()
323 android::linkerconfig::contents::Context& ctx, in GenerateApexConfiguration()
342 android::linkerconfig::contents::Context& ctx, const std::string& apex_name, in GenerateApexConfiguration()
356 void GenerateApexConfigurations(Context& ctx, const std::string& dir_path) { in GenerateApexConfigurations()
365 void GenerateApexLibrariesConfig(Context& ctx, const std::string& dir_path) { in GenerateApexLibrariesConfig()
427 Context ctx = GetContext(args); in main() local
/system/linkerconfig/contents/namespace/
Dvendordefault.cc35 Namespace BuildVendorDefaultNamespace(const Context& ctx) { in BuildVendorDefaultNamespace()
39 Namespace BuildVendorNamespace([[maybe_unused]] const Context& ctx, in BuildVendorNamespace()
89 void AddVendorSubdirNamespaceProviders(const Context& ctx, in AddVendorSubdirNamespaceProviders()
Dproductdefault.cc31 Namespace BuildProductDefaultNamespace(const Context& ctx) { in BuildProductDefaultNamespace()
35 Namespace BuildProductNamespace(const Context& ctx, const std::string& name) { in BuildProductNamespace()
Dapexplatform.cc32 Namespace BuildApexPlatformNamespace([[maybe_unused]] const Context& ctx) { in BuildApexPlatformNamespace()
Dvndkinsystem.cc39 Namespace BuildVndkInSystemNamespace([[maybe_unused]] const Context& ctx) { in BuildVndkInSystemNamespace()
/system/linkerconfig/modules/tests/
Dsection_test.cc154 BaseContext ctx; in TEST() local
184 BaseContext ctx; in TEST() local
209 BaseContext ctx; in TEST() local
228 BaseContext ctx; in TEST() local
248 BaseContext ctx; in TEST() local
276 BaseContext ctx; in TEST() 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/apex/tools/apex-ls/
Derofs.cpp43 struct erofs_dir_context ctx; member
47 int ReadDirIter(struct erofs_dir_context* ctx) { in ReadDirIter()
63 ReadDirContext ctx = { in ReadDir() local
/system/linkerconfig/contents/common/
Dsystem_links.cc44 void AddStandardSystemLinks(const Context& ctx, Section* section) { in AddStandardSystemLinks()
64 void AddLlndkLibraries(const Context& ctx, Namespace* ns, in AddLlndkLibraries()
/system/linkerconfig/contents/section/
Dsectionbuilder.cc37 Section BuildSection(const Context& ctx, const std::string& name, in BuildSection()
68 std::vector<LibProvider> GetVndkProvider(const Context& ctx, in GetVndkProvider()
/system/memory/mmd/src/
Dservice.rs48 ctx: Arc<Mutex<ZramContext>>, field
62 let mut ctx = self.ctx.lock().expect("mmd aborts on panics"); in doZramMaintenanceAsync() localVariable
94 let ctx = self.ctx.lock().expect("mmd aborts on panics"); in isZramMaintenanceSupported() localVariable
/system/apex/apexd/
Dapex_sha.cpp35 SHA512_CTX ctx; in CalculateSha512() local
62 SHA256_CTX ctx; in CalculateSha256() local
/system/core/libstats/push_compat/
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/keymaster/key_blob_utils/
Docb_utils.cpp69 AeCtx* ctx) { in InitializeKeyWrappingContext()
122 AeCtx ctx; in OcbEncryptKey() local
154 AeCtx ctx; in OcbDecryptKey() local
/system/unwinding/libunwindstack/
DMemoryXz.cpp141 auto* ctx = reinterpret_cast<const XzLookInStream*>(p); in ReadBlocks() local
147 auto* ctx = reinterpret_cast<XzLookInStream*>(const_cast<ILookInStream*>(p)); in ReadBlocks() local
152 auto* ctx = reinterpret_cast<const XzLookInStream*>(p); in ReadBlocks() local
158 auto* ctx = reinterpret_cast<XzLookInStream*>(const_cast<ILookInStream*>(p)); in ReadBlocks() local
/system/update_engine/payload_generator/
Derofs_iterate.h28 struct erofs_dir_context ctx; member
55 auto ctx = reinterpret_cast<erofs_iterate_dir_context*>(arg); in erofs_iterate_root_dir() member
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp97 SHA256_CTX ctx; in WriteRandomData() local
134 SHA256_CTX ctx; in HashSnapshot() local
165 SHA256_CTX ctx; in GetHash() local
/system/logging/liblog/
Dlog_event_list.cpp95 int android_log_destroy(android_log_context* ctx) { in android_log_destroy()
235 int android_log_write_string8(android_log_context ctx, const char* value) { in android_log_write_string8()
537 android_log_list_element android_log_read_next(android_log_context ctx) { in android_log_read_next()
541 android_log_list_element android_log_peek_next(android_log_context ctx) { in android_log_peek_next()

12345