Home
last modified time | relevance | path

Searched refs:octx (Results 1 – 15 of 15) sorted by relevance

/third_party/libwebsockets/lib/drivers/i2c/bitbang/
Dlws-bb-i2c.c30 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/
Dbb-i2c.c13 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()
Dbb-i2c.h37 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);
Di2c.h25 void (*set_ack)(struct lws_i2c_ops *octx, int ack);
/third_party/libwebsockets/include/libwebsockets/
Dlws-bb-i2c.h51 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);
Dlws-bb-spi.h59 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);
Dlws-i2c.h40 void (*set_ack)(const struct lws_i2c_ops *octx, int ack);
/third_party/openssl/crypto/evp/
De_aes.c481 EVP_AES_OCB_CTX *octx = EVP_C_DATA(EVP_AES_OCB_CTX,ctx); in aesni_ocb_init_key() local
492 &octx->ksenc.ks); in aesni_ocb_init_key()
494 &octx->ksdec.ks); in aesni_ocb_init_key()
495 if (!CRYPTO_ocb128_init(&octx->ocb, in aesni_ocb_init_key()
496 &octx->ksenc.ks, &octx->ksdec.ks, in aesni_ocb_init_key()
508 if (iv == NULL && octx->iv_set) in aesni_ocb_init_key()
509 iv = octx->iv; in aesni_ocb_init_key()
511 if (CRYPTO_ocb128_setiv(&octx->ocb, iv, octx->ivlen, octx->taglen) in aesni_ocb_init_key()
514 octx->iv_set = 1; in aesni_ocb_init_key()
516 octx->key_set = 1; in aesni_ocb_init_key()
[all …]
/third_party/libwebsockets/lib/drivers/spi/bitbang/
Dlws-bb-spi.c27 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/
Dcmdutils.c658 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 …]
Dcmdutils.h371 int split_commandline(OptionParseContext *octx, int argc, char *argv[],
378 void uninit_parse_context(OptionParseContext *octx);
Dffmpeg_opt.c3353 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/
Dcontext.c92 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/openssl/crypto/modes/
Docb128.c134 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/
Dvf_overlay.c452 …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, \