Home
last modified time | relevance | path

Searched refs:cps (Results 1 - 25 of 28) sorted by relevance

12

/third_party/libwebsockets/lib/cose/
H A Dcose_validate.c78 * protected headers: bstr containing a map (captured as CBOR in cps->ph[])
190 apply_external(struct lws_cose_validate_context *cps) in apply_external() argument
195 alg = lws_container_of(cps->algs.head, lws_cose_sig_alg_t, list); in apply_external()
202 if (cps->info.ext_len) { in apply_external()
207 cps->info.ext_len); in apply_external()
212 ex.cps = cps; in apply_external()
218 n = cps->info.ext_cb(&ex); in apply_external()
236 create_alg(struct lecp_ctx *ctx, struct lws_cose_validate_context *cps) in create_alg() argument
238 lws_cose_validate_param_stack_t *sl = &cps in create_alg()
426 ph_index(struct lws_cose_validate_context *cps) ph_index() argument
446 struct lws_cose_validate_context *cps = cb_cose_sig() local
971 struct lws_cose_validate_context *cps; lws_cose_validate_create() local
991 lws_cose_validate_chunk(struct lws_cose_validate_context *cps, const uint8_t *in, size_t in_len, size_t *used_in) lws_cose_validate_chunk() argument
1009 lws_cose_validate_results(struct lws_cose_validate_context *cps) lws_cose_validate_results() argument
1017 struct lws_cose_validate_context *cps = *_cps; lws_cose_validate_destroy() local
[all...]
H A Dcose_key.c307 struct lws_cose_key_parse_state *cps = in cb_cose_key() local
322 if (cps->ck) in cb_cose_key()
326 if (cps->pkey_set && ctx->pst[ctx->pst_sp].ppos == 2) { in cb_cose_key()
328 cps->ck = lws_zalloc(sizeof(*cps->ck), __func__); in cb_cose_key()
329 if (!cps->ck) in cb_cose_key()
331 cps->cose_state = 0; in cb_cose_key()
332 cps->meta_idx = -1; in cb_cose_key()
333 cps->gencrypto_eidx = -1; in cb_cose_key()
334 cps in cb_cose_key()
911 struct lws_cose_key_parse_state cps; lws_cose_key_import() local
[all...]
H A Dcose_validate_alg.c188 lws_cose_val_alg_destroy(struct lws_cose_validate_context *cps, in lws_cose_val_alg_destroy() argument
210 lws_dll2_add_tail(&res->list, &cps->results); in lws_cose_val_alg_destroy()
242 if (cps->mac_pos != shs) { in lws_cose_val_alg_destroy()
248 res->result = lws_timingsafe_bcmp(digest, cps->mac, in lws_cose_val_alg_destroy()
H A Dprivate-lib-cose.h132 lws_cose_val_alg_destroy(struct lws_cose_validate_context *cps,
/third_party/libwebsockets/minimal-examples/api-tests/api-test-cose/
H A Dsign.c673 struct lws_cose_validate_context *cps; in test_cose_sign() local
709 cps = lws_cose_validate_create(&info); in test_cose_sign()
710 if (!cps) { in test_cose_sign()
715 n = lws_cose_validate_chunk(cps, sign1_pass_01, sizeof(sign1_pass_01), in test_cose_sign()
722 o = lws_cose_validate_results(cps); in test_cose_sign()
730 lws_cose_validate_destroy(&cps); in test_cose_sign()
742 cps = lws_cose_validate_create(&info); in test_cose_sign()
743 if (!cps) { in test_cose_sign()
748 n = lws_cose_validate_chunk(cps, sign1_pass_01, sizeof(sign1_pass_01), in test_cose_sign()
755 o = lws_cose_validate_results(cps); in test_cose_sign()
[all...]
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/iso-2022-jp/
H A Diso2022jp-encoder.js116 var cps = chars2cps(stream);
124 if (cps.length == 0) cp = endofstream;
125 else cp = cps.shift();
127 cps.unshift(cp);
169 cps.unshift(cp);
175 cps.unshift(cp);
191 cps.unshift(cp);
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
H A Dmain.c84 pay_cb(struct lws_cose_validate_context *cps, void *opaque, in pay_cb() argument
98 struct lws_cose_validate_context *cps = NULL; in main() local
318 cps = lws_cose_validate_create(&vi); in main()
319 if (!cps) { in main()
331 n = lws_cose_validate_chunk(cps, temp, (size_t)n, NULL); in main()
348 o = lws_cose_validate_results(cps); in main()
384 lws_cose_validate_destroy(&cps); in main()
/third_party/libwebsockets/include/libwebsockets/
H A Dlws-cose.h383 struct lws_cose_validate_context *cps; member
389 typedef int (*lws_cose_validate_pay_cb_t)(struct lws_cose_validate_context *cps,
433 * \param cps: the validation context
442 lws_cose_validate_chunk(struct lws_cose_validate_context *cps,
446 lws_cose_validate_results(struct lws_cose_validate_context *cps);
449 lws_cose_validate_destroy(struct lws_cose_validate_context **cps);
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-korean/euc-kr/
H A Deuckr-encoder.js43 cps = chars2cps(stream);
50 if (cps.length == 0) cp = endofstream;
51 else cp = cps.shift();
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-tchinese/big5/
H A Dbig5-encoder.js51 var cps = chars2cps(stream);
58 if (cps.length == 0) cp = endofstream;
59 else cp = cps.shift();
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/euc-jp/
H A Deucjp-encoder.js45 var cps = chars2cps(stream);
51 if (cps.length == 0) {
54 } else cp = cps.shift();
/third_party/node/test/fixtures/wpt/encoding/legacy-mb-japanese/shift_jis/
H A Dsjis-encoder.js48 var cps = chars2cps(stream);
55 if (cps.length == 0) cp = endofstream;
56 else cp = cps.shift();
/third_party/ntfs-3g/ntfsprogs/
H A Dntfscluster.c282 int cb, sb, cps; in info() local
330 cps = cb - sb; in info()
339 c = 1 << cps; in info()
342 f = vol->nr_clusters >> cps; in info()
/third_party/ltp/tools/sparse/sparse-src/validation/linear/
H A Dpointer-arith32.c1 char *cps(char *data, short pos) in cps() function
41 cps:
H A Dpointer-arith64.c1 char *cps(char *data, short pos) in cps() function
34 cps:
/third_party/mesa3d/src/intel/vulkan/
H A DgenX_state.c842 anv_batch_emit(batch, GENX(3DSTATE_CPS), cps) { in emit_shading_rate()
843 cps.CoarsePixelShadingMode = cps_enable ? CPS_MODE_CONSTANT : CPS_MODE_NONE; in emit_shading_rate()
845 cps.MinCPSizeX = fsr->fragment_size.width; in emit_shading_rate()
846 cps.MinCPSizeY = fsr->fragment_size.height; in emit_shading_rate()
868 anv_batch_emit(batch, GENX(3DSTATE_CPS_POINTERS), cps) { in emit_shading_rate()
871 cps.CoarsePixelShadingStateArrayPointer = in emit_shading_rate()
/third_party/selinux/libsepol/cil/src/
H A Dcil_resolve_ast.h40 int cil_resolve_classpermissionset(struct cil_tree_node *current, struct cil_classpermissionset *cps, void *extra_args);
H A Dcil_reset_ast.c91 static void cil_reset_classpermissionset(struct cil_classpermissionset *cps) in cil_reset_classpermissionset() argument
93 cil_reset_classperms_list(cps->classperms); in cil_reset_classpermissionset()
H A Dcil.c2690 void cil_classpermissionset_init(struct cil_classpermissionset **cps) in cil_classpermissionset_init() argument
2692 *cps = cil_malloc(sizeof(**cps)); in cil_classpermissionset_init()
2694 (*cps)->set_str = NULL; in cil_classpermissionset_init()
2695 (*cps)->classperms = NULL; in cil_classpermissionset_init()
H A Dcil_build_ast.h70 void cil_destroy_classpermissionset(struct cil_classpermissionset *cps);
H A Dcil_write_ast.c792 struct cil_classpermissionset *cps = node->data; in cil_write_ast_node() local
793 fprintf(out, "(classpermissionset %s ", cps->set_str); in cil_write_ast_node()
794 write_classperms_list(out, cps->classperms); in cil_write_ast_node()
H A Dcil_internal.h1062 void cil_classpermissionset_init(struct cil_classpermissionset **cps);
H A Dcil_build_ast.c870 struct cil_classpermissionset *cps = NULL; in cil_gen_classpermissionset() local
888 cil_classpermissionset_init(&cps); in cil_gen_classpermissionset()
890 cps->set_str = parse_current->next->data; in cil_gen_classpermissionset()
892 rc = cil_fill_classperms_list(parse_current->next->next, &cps->classperms); in cil_gen_classpermissionset()
897 ast_node->data = cps; in cil_gen_classpermissionset()
904 cil_destroy_classpermissionset(cps); in cil_gen_classpermissionset()
908 void cil_destroy_classpermissionset(struct cil_classpermissionset *cps) in cil_destroy_classpermissionset() argument
910 if (cps == NULL) { in cil_destroy_classpermissionset()
914 cil_destroy_classperms_list(&cps->classperms); in cil_destroy_classpermissionset()
916 free(cps); in cil_destroy_classpermissionset()
[all...]
/third_party/node/deps/npm/node_modules/@npmcli/arborist/lib/
H A Dplace-dep.js529 const cps = this.canPlaceSelf
530 for (const peer of cps.conflictChildren) {
/third_party/selinux/libsepol/cil/test/unit/
H A Dtest_cil_build_ast.c1260 struct cil_classpermset *cps; in test_cil_fill_classpermset_anonperms() local
1261 cil_classpermset_init(&cps); in test_cil_fill_classpermset_anonperms()
1263 int rc = cil_fill_classpermset(test_tree->root->cl_head->cl_head->next->next->cl_head, cps); in test_cil_fill_classpermset_anonperms()
1276 struct cil_classpermset *cps; in test_cil_fill_classpermset_anonperms_neg() local
1277 cil_classpermset_init(&cps); in test_cil_fill_classpermset_anonperms_neg()
1279 int rc = cil_fill_classpermset(test_tree->root->cl_head->cl_head->next->next->cl_head, cps); in test_cil_fill_classpermset_anonperms_neg()
1292 struct cil_classpermset *cps; in test_cil_fill_classpermset_namedperms() local
1293 cil_classpermset_init(&cps); in test_cil_fill_classpermset_namedperms()
1295 int rc = cil_fill_classpermset(test_tree->root->cl_head->cl_head->next->next->cl_head, cps); in test_cil_fill_classpermset_namedperms()
1308 struct cil_classpermset *cps; in test_cil_fill_classpermset_extra_neg() local
1324 struct cil_classpermset *cps; test_cil_fill_classpermset_emptypermslist_neg() local
1340 struct cil_classpermset *cps; test_cil_fill_classpermset_noperms_neg() local
1356 struct cil_classpermset *cps; test_cil_fill_classpermset_noclass_neg() local
1372 struct cil_classpermset *cps; test_cil_fill_classpermset_classnodenull_neg() local
1388 struct cil_classpermset *cps = NULL; test_cil_fill_classpermset_cpsnull_neg() local
[all...]

Completed in 44 milliseconds

12