Home
last modified time | relevance | path

Searched refs:csc (Results 1 – 25 of 56) sorted by relevance

123

/third_party/libwebsockets/lib/cose/
Dcose_sign.c31 struct lws_cose_sign_context *csc; in lws_cose_sign_create() local
45 csc = lws_zalloc(sizeof(*csc), __func__); in lws_cose_sign_create()
46 if (!csc) in lws_cose_sign_create()
49 csc->info = *info; in lws_cose_sign_create()
51 return csc; in lws_cose_sign_create()
55 lws_cose_sign_add(struct lws_cose_sign_context *csc, cose_param_t alg, in lws_cose_sign_add() argument
58 lws_cose_sig_alg_t *si = lws_cose_sign_alg_create(csc->info.cx, ck, alg, in lws_cose_sign_add()
64 lws_dll2_add_tail(&si->list, &csc->algs); in lws_cose_sign_add()
79 lws_cose_sign_hashing(struct lws_cose_sign_context *csc, in lws_cose_sign_hashing() argument
87 lws_dll2_get_head(&csc->algs)) { in lws_cose_sign_hashing()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Dcasetrn.cpp39 UCaseContext *csc=(UCaseContext *)context; in utrans_rep_caseContextIterator() local
40 Replaceable *rep=(Replaceable *)csc->p; in utrans_rep_caseContextIterator()
45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
46 csc->dir=dir; in utrans_rep_caseContextIterator()
49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
50 csc->dir=dir; in utrans_rep_caseContextIterator()
53 dir=csc->dir; in utrans_rep_caseContextIterator()
59 if(csc->start<csc->index) { in utrans_rep_caseContextIterator()
60 c=rep->char32At(csc->index-1); in utrans_rep_caseContextIterator()
62 csc->start=csc->index; in utrans_rep_caseContextIterator()
[all …]
Dtitletrn.cpp113 UCaseContext csc; in handleTransliterate() local
114 uprv_memset(&csc, 0, sizeof(csc)); in handleTransliterate()
115 csc.p = &text; in handleTransliterate()
116 csc.start = offsets.contextStart; in handleTransliterate()
117 csc.limit = offsets.contextLimit; in handleTransliterate()
124 csc.cpStart=textPos; in handleTransliterate()
126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
131 … result=ucase_toFullTitle(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
133 … result=ucase_toFullLower(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
137 if(csc.b1 && isIncremental) { in handleTransliterate()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dcasetrn.cpp39 UCaseContext *csc=(UCaseContext *)context; in utrans_rep_caseContextIterator() local
40 Replaceable *rep=(Replaceable *)csc->p; in utrans_rep_caseContextIterator()
45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
46 csc->dir=dir; in utrans_rep_caseContextIterator()
49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
50 csc->dir=dir; in utrans_rep_caseContextIterator()
53 dir=csc->dir; in utrans_rep_caseContextIterator()
59 if(csc->start<csc->index) { in utrans_rep_caseContextIterator()
60 c=rep->char32At(csc->index-1); in utrans_rep_caseContextIterator()
62 csc->start=csc->index; in utrans_rep_caseContextIterator()
[all …]
Dtitletrn.cpp113 UCaseContext csc; in handleTransliterate() local
114 uprv_memset(&csc, 0, sizeof(csc)); in handleTransliterate()
115 csc.p = &text; in handleTransliterate()
116 csc.start = offsets.contextStart; in handleTransliterate()
117 csc.limit = offsets.contextLimit; in handleTransliterate()
124 csc.cpStart=textPos; in handleTransliterate()
126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
131 … result=ucase_toFullTitle(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
133 … result=ucase_toFullLower(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
137 if(csc.b1 && isIncremental) { in handleTransliterate()
[all …]
/third_party/icu/icu4c/source/i18n/
Dcasetrn.cpp39 UCaseContext *csc=(UCaseContext *)context; in utrans_rep_caseContextIterator() local
40 Replaceable *rep=(Replaceable *)csc->p; in utrans_rep_caseContextIterator()
45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
46 csc->dir=dir; in utrans_rep_caseContextIterator()
49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
50 csc->dir=dir; in utrans_rep_caseContextIterator()
53 dir=csc->dir; in utrans_rep_caseContextIterator()
59 if(csc->start<csc->index) { in utrans_rep_caseContextIterator()
60 c=rep->char32At(csc->index-1); in utrans_rep_caseContextIterator()
62 csc->start=csc->index; in utrans_rep_caseContextIterator()
[all …]
Dtitletrn.cpp113 UCaseContext csc; in handleTransliterate() local
114 uprv_memset(&csc, 0, sizeof(csc)); in handleTransliterate()
115 csc.p = &text; in handleTransliterate()
116 csc.start = offsets.contextStart; in handleTransliterate()
117 csc.limit = offsets.contextLimit; in handleTransliterate()
124 csc.cpStart=textPos; in handleTransliterate()
126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
131 … result=ucase_toFullTitle(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
133 … result=ucase_toFullLower(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
137 if(csc.b1 && isIncremental) { in handleTransliterate()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcasetrn.cpp39 UCaseContext *csc=(UCaseContext *)context; in utrans_rep_caseContextIterator() local
40 Replaceable *rep=(Replaceable *)csc->p; in utrans_rep_caseContextIterator()
45 csc->index=csc->cpStart; in utrans_rep_caseContextIterator()
46 csc->dir=dir; in utrans_rep_caseContextIterator()
49 csc->index=csc->cpLimit; in utrans_rep_caseContextIterator()
50 csc->dir=dir; in utrans_rep_caseContextIterator()
53 dir=csc->dir; in utrans_rep_caseContextIterator()
59 if(csc->start<csc->index) { in utrans_rep_caseContextIterator()
60 c=rep->char32At(csc->index-1); in utrans_rep_caseContextIterator()
62 csc->start=csc->index; in utrans_rep_caseContextIterator()
[all …]
Dtitletrn.cpp113 UCaseContext csc; in handleTransliterate() local
114 uprv_memset(&csc, 0, sizeof(csc)); in handleTransliterate()
115 csc.p = &text; in handleTransliterate()
116 csc.start = offsets.contextStart; in handleTransliterate()
117 csc.limit = offsets.contextLimit; in handleTransliterate()
124 csc.cpStart=textPos; in handleTransliterate()
126 csc.cpLimit=textPos+=U16_LENGTH(c); in handleTransliterate()
131 … result=ucase_toFullTitle(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
133 … result=ucase_toFullLower(c, utrans_rep_caseContextIterator, &csc, &s, UCASE_LOC_ROOT); in handleTransliterate()
137 if(csc.b1 && isIncremental) { in handleTransliterate()
[all …]
/third_party/mesa3d/src/gallium/winsys/radeon/drm/
Dradeon_drm_cs.c110 static bool radeon_init_cs_context(struct radeon_cs_context *csc, in radeon_init_cs_context() argument
115 csc->fd = ws->fd; in radeon_init_cs_context()
117 csc->chunks[0].chunk_id = RADEON_CHUNK_ID_IB; in radeon_init_cs_context()
118 csc->chunks[0].length_dw = 0; in radeon_init_cs_context()
119 csc->chunks[0].chunk_data = (uint64_t)(uintptr_t)csc->buf; in radeon_init_cs_context()
120 csc->chunks[1].chunk_id = RADEON_CHUNK_ID_RELOCS; in radeon_init_cs_context()
121 csc->chunks[1].length_dw = 0; in radeon_init_cs_context()
122 csc->chunks[1].chunk_data = (uint64_t)(uintptr_t)csc->relocs; in radeon_init_cs_context()
123 csc->chunks[2].chunk_id = RADEON_CHUNK_ID_FLAGS; in radeon_init_cs_context()
124 csc->chunks[2].length_dw = 2; in radeon_init_cs_context()
[all …]
Dradeon_drm_cs.h81 struct radeon_cs_context *csc; member
96 int radeon_lookup_buffer(struct radeon_cs_context *csc, struct radeon_bo *bo);
110 (num_refs && radeon_lookup_buffer(cs->csc, bo) != -1); in radeon_bo_is_referenced_by_cs()
122 index = radeon_lookup_buffer(cs->csc, bo); in radeon_bo_is_referenced_by_cs_for_write()
127 index = cs->csc->slab_buffers[index].u.slab.real_idx; in radeon_bo_is_referenced_by_cs_for_write()
129 return cs->csc->relocs[index].write_domain != 0; in radeon_bo_is_referenced_by_cs_for_write()
/third_party/icu/icu4c/source/common/
Ducasemap.cpp170 UCaseContext *csc=(UCaseContext *)context; in utf8_caseContextIterator() local
175 csc->index=csc->cpStart; in utf8_caseContextIterator()
176 csc->dir=dir; in utf8_caseContextIterator()
179 csc->index=csc->cpLimit; in utf8_caseContextIterator()
180 csc->dir=dir; in utf8_caseContextIterator()
183 dir=csc->dir; in utf8_caseContextIterator()
187 if(csc->start<csc->index) { in utf8_caseContextIterator()
188 U8_PREV((const uint8_t *)csc->p, csc->start, csc->index, c); in utf8_caseContextIterator()
192 if(csc->index<csc->limit) { in utf8_caseContextIterator()
193 U8_NEXT((const uint8_t *)csc->p, csc->index, csc->limit, c); in utf8_caseContextIterator()
[all …]
Dustrcase.cpp168 UCaseContext *csc=(UCaseContext *)context; in utf16_caseContextIterator() local
173 csc->index=csc->cpStart; in utf16_caseContextIterator()
174 csc->dir=dir; in utf16_caseContextIterator()
177 csc->index=csc->cpLimit; in utf16_caseContextIterator()
178 csc->dir=dir; in utf16_caseContextIterator()
181 dir=csc->dir; in utf16_caseContextIterator()
185 if(csc->start<csc->index) { in utf16_caseContextIterator()
186 U16_PREV((const UChar *)csc->p, csc->start, csc->index, c); in utf16_caseContextIterator()
190 if(csc->index<csc->limit) { in utf16_caseContextIterator()
191 U16_NEXT((const UChar *)csc->p, csc->index, csc->limit, c); in utf16_caseContextIterator()
[all …]
/third_party/node/deps/icu-small/source/common/
Ducasemap.cpp170 UCaseContext *csc=(UCaseContext *)context; in utf8_caseContextIterator() local
175 csc->index=csc->cpStart; in utf8_caseContextIterator()
176 csc->dir=dir; in utf8_caseContextIterator()
179 csc->index=csc->cpLimit; in utf8_caseContextIterator()
180 csc->dir=dir; in utf8_caseContextIterator()
183 dir=csc->dir; in utf8_caseContextIterator()
187 if(csc->start<csc->index) { in utf8_caseContextIterator()
188 U8_PREV((const uint8_t *)csc->p, csc->start, csc->index, c); in utf8_caseContextIterator()
192 if(csc->index<csc->limit) { in utf8_caseContextIterator()
193 U8_NEXT((const uint8_t *)csc->p, csc->index, csc->limit, c); in utf8_caseContextIterator()
[all …]
Dustrcase.cpp168 UCaseContext *csc=(UCaseContext *)context; in utf16_caseContextIterator() local
173 csc->index=csc->cpStart; in utf16_caseContextIterator()
174 csc->dir=dir; in utf16_caseContextIterator()
177 csc->index=csc->cpLimit; in utf16_caseContextIterator()
178 csc->dir=dir; in utf16_caseContextIterator()
181 dir=csc->dir; in utf16_caseContextIterator()
185 if(csc->start<csc->index) { in utf16_caseContextIterator()
186 U16_PREV((const UChar *)csc->p, csc->start, csc->index, c); in utf16_caseContextIterator()
190 if(csc->index<csc->limit) { in utf16_caseContextIterator()
191 U16_NEXT((const UChar *)csc->p, csc->index, csc->limit, c); in utf16_caseContextIterator()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Ducasemap.cpp170 UCaseContext *csc=(UCaseContext *)context; in utf8_caseContextIterator() local
175 csc->index=csc->cpStart; in utf8_caseContextIterator()
176 csc->dir=dir; in utf8_caseContextIterator()
179 csc->index=csc->cpLimit; in utf8_caseContextIterator()
180 csc->dir=dir; in utf8_caseContextIterator()
183 dir=csc->dir; in utf8_caseContextIterator()
187 if(csc->start<csc->index) { in utf8_caseContextIterator()
188 U8_PREV((const uint8_t *)csc->p, csc->start, csc->index, c); in utf8_caseContextIterator()
192 if(csc->index<csc->limit) { in utf8_caseContextIterator()
193 U8_NEXT((const uint8_t *)csc->p, csc->index, csc->limit, c); in utf8_caseContextIterator()
[all …]
Dustrcase.cpp168 UCaseContext *csc=(UCaseContext *)context; in utf16_caseContextIterator() local
173 csc->index=csc->cpStart; in utf16_caseContextIterator()
174 csc->dir=dir; in utf16_caseContextIterator()
177 csc->index=csc->cpLimit; in utf16_caseContextIterator()
178 csc->dir=dir; in utf16_caseContextIterator()
181 dir=csc->dir; in utf16_caseContextIterator()
185 if(csc->start<csc->index) { in utf16_caseContextIterator()
186 U16_PREV((const UChar *)csc->p, csc->start, csc->index, c); in utf16_caseContextIterator()
190 if(csc->index<csc->limit) { in utf16_caseContextIterator()
191 U16_NEXT((const UChar *)csc->p, csc->index, csc->limit, c); in utf16_caseContextIterator()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Ducasemap.cpp170 UCaseContext *csc=(UCaseContext *)context; in utf8_caseContextIterator() local
175 csc->index=csc->cpStart; in utf8_caseContextIterator()
176 csc->dir=dir; in utf8_caseContextIterator()
179 csc->index=csc->cpLimit; in utf8_caseContextIterator()
180 csc->dir=dir; in utf8_caseContextIterator()
183 dir=csc->dir; in utf8_caseContextIterator()
187 if(csc->start<csc->index) { in utf8_caseContextIterator()
188 U8_PREV((const uint8_t *)csc->p, csc->start, csc->index, c); in utf8_caseContextIterator()
192 if(csc->index<csc->limit) { in utf8_caseContextIterator()
193 U8_NEXT((const uint8_t *)csc->p, csc->index, csc->limit, c); in utf8_caseContextIterator()
[all …]
Dustrcase.cpp168 UCaseContext *csc=(UCaseContext *)context; in utf16_caseContextIterator() local
173 csc->index=csc->cpStart; in utf16_caseContextIterator()
174 csc->dir=dir; in utf16_caseContextIterator()
177 csc->index=csc->cpLimit; in utf16_caseContextIterator()
178 csc->dir=dir; in utf16_caseContextIterator()
181 dir=csc->dir; in utf16_caseContextIterator()
185 if(csc->start<csc->index) { in utf16_caseContextIterator()
186 U16_PREV((const UChar *)csc->p, csc->start, csc->index, c); in utf16_caseContextIterator()
190 if(csc->index<csc->limit) { in utf16_caseContextIterator()
191 U16_NEXT((const UChar *)csc->p, csc->index, csc->limit, c); in utf16_caseContextIterator()
[all …]
/third_party/openssl/apps/
Dverify.c211 X509_STORE_CTX *csc; in check() local
219 csc = X509_STORE_CTX_new(); in check()
220 if (csc == NULL) { in check()
227 if (!X509_STORE_CTX_init(csc, ctx, x, uchain)) { in check()
228 X509_STORE_CTX_free(csc); in check()
234 X509_STORE_CTX_set0_trusted_stack(csc, tchain); in check()
236 X509_STORE_CTX_set0_crls(csc, crls); in check()
237 i = X509_verify_cert(csc); in check()
238 if (i > 0 && X509_STORE_CTX_get_error(csc) == X509_V_OK) { in check()
244 chain = X509_STORE_CTX_get1_chain(csc); in check()
[all …]
/third_party/mesa3d/src/gallium/winsys/amdgpu/drm/
Damdgpu_cs.h148 struct amdgpu_cs_context *csc; member
240 return amdgpu_lookup_buffer_any_type(cs->csc, bo) != -1; in amdgpu_bo_is_referenced_by_cs()
251 index = amdgpu_lookup_buffer_any_type(cs->csc, bo); in amdgpu_bo_is_referenced_by_cs_with_usage()
255 buffer = bo->bo ? &cs->csc->real_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage()
256 bo->base.usage & RADEON_FLAG_SPARSE ? &cs->csc->sparse_buffers[index] : in amdgpu_bo_is_referenced_by_cs_with_usage()
257 &cs->csc->slab_buffers[index]; in amdgpu_bo_is_referenced_by_cs_with_usage()
Damdgpu_cs.c269 cs->csc->ib[IB_MAIN].ip_type, in amdgpu_cs_get_next_fence()
270 cs->csc->ib[IB_MAIN].ip_instance, in amdgpu_cs_get_next_fence()
271 cs->csc->ib[IB_MAIN].ring); in amdgpu_cs_get_next_fence()
516 struct amdgpu_cs_context *cs = acs->csc; in amdgpu_lookup_or_add_real_buffer()
541 struct amdgpu_cs_context *cs = acs->csc; in amdgpu_lookup_or_add_slab_buffer()
591 struct amdgpu_cs_context *cs = acs->csc; in amdgpu_lookup_or_add_sparse_buffer()
654 struct amdgpu_cs_context *cs = acs->csc; in amdgpu_cs_add_buffer()
773 struct drm_amdgpu_cs_chunk_ib *info = &cs->csc->ib[ib->ib_type]; in amdgpu_get_new_ib()
815 cs->csc->ib_main_addr = rcs->current.buf; in amdgpu_get_new_ib()
993 cs->csc = &cs->csc1; in amdgpu_cs_create()
[all …]
/third_party/libwebsockets/minimal-examples/crypto/minimal-crypto-cose-sign/
Dmain.c99 struct lws_cose_sign_context *csc = NULL; in main() local
271 csc = lws_cose_sign_create(&i); in main()
272 if (!csc) in main()
278 if (lws_cose_sign_add(csc, alg, ck)) in main()
287 m = (int)lws_cose_sign_payload_chunk(csc, in main()
387 lws_cose_sign_destroy(&csc); in main()
/third_party/mesa3d/src/gallium/frontends/xvmc/
Dattributes.c80 vl_csc_matrix csc; in XvMCSetAttribute() local
111 &context_priv->procamp, true, &csc in XvMCSetAttribute()
113 vl_compositor_set_csc_matrix(&context_priv->cstate, (const vl_csc_matrix *)&csc, 1.0f, 0.0f); in XvMCSetAttribute()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtc/
Dreciprocal.inl24 // csc
26 GLM_FUNC_QUALIFIER genType csc(genType angle) function
28 …GLM_STATIC_ASSERT(std::numeric_limits<genType>::is_iec559, "'csc' only accept floating-point value…
33 GLM_FUNC_QUALIFIER vecType<T, P> csc(vecType<T, P> const & x) function
35 GLM_STATIC_ASSERT(std::numeric_limits<T>::is_iec559, "'csc' only accept floating-point inputs");
36 return detail::functor1<T, T, P, vecType>::call(csc, x);

123