/third_party/libwebsockets/lib/drivers/i2c/bitbang/ |
D | lws-bb-i2c.c | 30 lws_bb_i2c_init(const lws_i2c_ops_t *octx) in lws_bb_i2c_init() argument 32 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_init() 41 lws_bb_i2c_start(const lws_i2c_ops_t *octx) in lws_bb_i2c_start() argument 43 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_start() 60 lws_bb_i2c_stop(const lws_i2c_ops_t *octx) in lws_bb_i2c_stop() argument 62 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_stop() 76 lws_bb_i2c_write(const lws_i2c_ops_t *octx, uint8_t data) in lws_bb_i2c_write() argument 78 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_write() 102 lws_bb_i2c_read(const lws_i2c_ops_t *octx) in lws_bb_i2c_read() argument 104 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_read() [all …]
|
/third_party/libwebsockets/minimal-examples/embedded/esp32/esp-c3dev/main/ |
D | bb-i2c.c | 13 lws_bb_i2c_start(lws_i2c_ops_t *octx) in lws_bb_i2c_start() argument 15 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_start() 32 lws_bb_i2c_stop(lws_i2c_ops_t *octx) in lws_bb_i2c_stop() argument 34 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_stop() 48 lws_bb_i2c_write(lws_i2c_ops_t *octx, uint8_t data) in lws_bb_i2c_write() argument 50 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_write() 74 lws_bb_i2c_read(lws_i2c_ops_t *octx) in lws_bb_i2c_read() argument 76 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_read() 95 lws_bb_i2c_set_ack(lws_i2c_ops_t *octx, int ack) in lws_bb_i2c_set_ack() argument 97 lws_bb_i2c_t *ctx = (lws_bb_i2c_t *)octx; in lws_bb_i2c_set_ack()
|
D | bb-i2c.h | 37 lws_bb_i2c_start(lws_i2c_ops_t *octx); 40 lws_bb_i2c_stop(lws_i2c_ops_t *octx); 43 lws_bb_i2c_write(lws_i2c_ops_t *octx, uint8_t data); 46 lws_bb_i2c_read(lws_i2c_ops_t *octx); 49 lws_bb_i2c_set_ack(lws_i2c_ops_t *octx, int ack);
|
D | i2c.h | 25 void (*set_ack)(struct lws_i2c_ops *octx, int ack);
|
/third_party/libwebsockets/include/libwebsockets/ |
D | lws-bb-i2c.h | 51 lws_bb_i2c_init(const lws_i2c_ops_t *octx); 54 lws_bb_i2c_start(const lws_i2c_ops_t *octx); 57 lws_bb_i2c_stop(const lws_i2c_ops_t *octx); 60 lws_bb_i2c_write(const lws_i2c_ops_t *octx, uint8_t data); 63 lws_bb_i2c_read(const lws_i2c_ops_t *octx); 66 lws_bb_i2c_set_ack(const lws_i2c_ops_t *octx, int ack);
|
D | lws-bb-spi.h | 59 lws_bb_spi_init(const lws_spi_ops_t *octx); 62 lws_bb_spi_queue(const lws_spi_ops_t *octx, const lws_spi_desc_t *desc);
|
D | lws-i2c.h | 40 void (*set_ack)(const struct lws_i2c_ops *octx, int ack);
|
/third_party/openssl/crypto/evp/ |
D | e_aes.c | 344 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); in aesni_ocb_init_key() local 355 &octx->ksenc.ks); in aesni_ocb_init_key() 357 &octx->ksdec.ks); in aesni_ocb_init_key() 358 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key() 359 &octx->ksenc.ks, &octx->ksdec.ks, in aesni_ocb_init_key() 371 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key() 372 iv = octx->iv; in aesni_ocb_init_key() 374 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key() 377 octx->iv_set = 1; in aesni_ocb_init_key() 379 octx->key_set = 1; in aesni_ocb_init_key() [all …]
|
/third_party/libwebsockets/lib/drivers/spi/bitbang/ |
D | lws-bb-spi.c | 27 lws_bb_spi_init(const lws_spi_ops_t *octx) in lws_bb_spi_init() argument 29 lws_bb_spi_t *ctx = (lws_bb_spi_t *)octx; in lws_bb_spi_init() 40 ((octx->bus_mode & LWSSPIMODE_CPOL) ? in lws_bb_spi_init() 96 lws_bb_spi_queue(const lws_spi_ops_t *octx, const lws_spi_desc_t *desc) in lws_bb_spi_queue() argument 98 lws_bb_spi_t *ctx = (lws_bb_spi_t *)octx; in lws_bb_spi_queue() 102 ctx->gpio->set(ctx->clk, 0 ^ !!(octx->bus_mode & LWSSPIMODE_CPOL)); in lws_bb_spi_queue() 124 ctx->gpio->set(ctx->clk, 0 ^ !!(octx->bus_mode & LWSSPIMODE_CPOL)); in lws_bb_spi_queue()
|
/third_party/ffmpeg/fftools/ |
D | cmdutils.c | 658 static void finish_group(OptionParseContext *octx, int group_idx, in finish_group() argument 661 OptionGroupList *l = &octx->groups[group_idx]; in finish_group() 667 *g = octx->cur_group; in finish_group() 683 memset(&octx->cur_group, 0, sizeof(octx->cur_group)); in finish_group() 689 static void add_opt(OptionParseContext *octx, const OptionDef *opt, in add_opt() argument 693 OptionGroup *g = global ? &octx->global_opts : &octx->cur_group; in add_opt() 701 static void init_parse_context(OptionParseContext *octx, in init_parse_context() argument 707 memset(octx, 0, sizeof(*octx)); in init_parse_context() 709 octx->nb_groups = nb_groups; in init_parse_context() 710 octx->groups = av_mallocz_array(octx->nb_groups, sizeof(*octx->groups)); in init_parse_context() [all …]
|
D | cmdutils.h | 371 int split_commandline(OptionParseContext *octx, int argc, char *argv[], 378 void uninit_parse_context(OptionParseContext *octx);
|
D | ffmpeg_opt.c | 3353 OptionParseContext octx; in ffmpeg_parse_options() local 3357 memset(&octx, 0, sizeof(octx)); in ffmpeg_parse_options() 3360 ret = split_commandline(&octx, argc, argv, options, groups, in ffmpeg_parse_options() 3368 ret = parse_optgroup(NULL, &octx.global_opts); in ffmpeg_parse_options() 3378 ret = open_files(&octx.groups[GROUP_INFILE], "input", open_input_file); in ffmpeg_parse_options() 3392 ret = open_files(&octx.groups[GROUP_OUTFILE], "output", open_output_file); in ffmpeg_parse_options() 3401 uninit_parse_context(&octx); in ffmpeg_parse_options()
|
/third_party/python/Python/ |
D | context.c | 92 PyContext_Copy(PyObject * octx) in PyContext_Copy() argument 94 ENSURE_Context(octx, NULL) in PyContext_Copy() 95 PyContext *ctx = (PyContext *)octx; in PyContext_Copy() 113 _PyContext_Enter(PyThreadState *ts, PyObject *octx) in _PyContext_Enter() argument 115 ENSURE_Context(octx, -1) in _PyContext_Enter() 116 PyContext *ctx = (PyContext *)octx; in _PyContext_Enter() 136 PyContext_Enter(PyObject *octx) in PyContext_Enter() argument 140 return _PyContext_Enter(ts, octx); in PyContext_Enter() 145 _PyContext_Exit(PyThreadState *ts, PyObject *octx) in _PyContext_Exit() argument 147 ENSURE_Context(octx, -1) in _PyContext_Exit() [all …]
|
/third_party/selinux/libsepol/src/ |
D | policydb_validate.c | 1034 ocontext_t *octx; in validate_ocontexts() local 1038 for (octx = p->ocontexts[i]; octx; octx = octx->next) { in validate_ocontexts() 1039 if (validate_context(&octx->context[0], flavors, p->mls)) in validate_ocontexts() 1046 if (validate_context(&octx->context[1], flavors, p->mls)) in validate_ocontexts() 1050 switch (octx->v.behavior) { in validate_ocontexts() 1073 ocontext_t *octx; in validate_genfs() local 1076 for (octx = genfs->head; octx; octx = octx->next) { in validate_genfs() 1077 if (validate_context(&octx->context[0], flavors, p->mls)) in validate_genfs()
|
/third_party/openssl/crypto/modes/ |
D | ocb128.c | 134 OCB128_CONTEXT *octx; in CRYPTO_ocb128_new() local 137 if ((octx = OPENSSL_malloc(sizeof(*octx))) != NULL) { in CRYPTO_ocb128_new() 138 ret = CRYPTO_ocb128_init(octx, keyenc, keydec, encrypt, decrypt, in CRYPTO_ocb128_new() 141 return octx; in CRYPTO_ocb128_new() 142 OPENSSL_free(octx); in CRYPTO_ocb128_new()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_overlay.c | 452 …OverlayContext *octx = ctx->priv; … 488 …if (nbits == 8 && ((vsub && j+1 < src_hp) || !vsub) && octx->blend_row[i]) { … 489 … int c = octx->blend_row[i]((uint8_t*)d, (uint8_t*)da, (uint8_t*)s, \
|