Home
last modified time | relevance | path

Searched refs:cd (Results 1 - 25 of 182) sorted by relevance

12345678

/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_timedwait/
H A Dstress2.c197 struct celldata *cd = (struct celldata *)arg; in cleanup() local
200 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
210 struct celldata *cd = (struct celldata *)arg; in worker() local
214 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
220 cd->count += 1; in worker()
223 ret = clock_gettime(cd->cid, &ts); in worker()
234 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
246 } while (cd->boolean == 0); in worker()
249 ret = pthread_cond_broadcast(&(cd in worker()
269 struct celldata *cd = (struct celldata *)arg; signaler() local
305 struct celldata *cd = (struct celldata *)arg; cellmanager() local
[all...]
H A Dstress1.c208 struct childdata cd[NTOT]; member
221 struct childdata *cd = (struct childdata *)arg; in threaded_B() local
223 ret = pthread_mutex_lock(&(cd->mtx)); in threaded_B()
228 while (*(cd->pBool) == 0) { in threaded_B()
229 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
234 ret = clock_gettime(cd->cid, &ts); in threaded_B()
241 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in threaded_B()
252 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
257 ret = pthread_mutex_unlock(&(cd in threaded_B()
270 struct childdata *cd = (struct childdata *)arg; threaded_A() local
[all...]
/third_party/ffmpeg/libavutil/
H A Dtx.c260 static av_cold int ff_tx_null_init(AVTXContext *s, const FFTXCodelet *cd, in ff_tx_null_init() argument
336 static void print_cd_info(const FFTXCodelet *cd, int prio, int print_prio) in print_cd_info() argument
341 av_bprintf(&bp, "%s - type: ", cd->name); in print_cd_info()
343 print_type(&bp, cd->type); in print_cd_info()
346 if (cd->min_len != cd->max_len) in print_cd_info()
347 av_bprintf(&bp, "[%i, ", cd->min_len); in print_cd_info()
349 if (cd->max_len == TX_LEN_UNLIMITED) in print_cd_info()
352 av_bprintf(&bp, "%i", cd->max_len); in print_cd_info()
354 av_bprintf(&bp, "%s, factors: [", cd in print_cd_info()
377 const FFTXCodelet *cd = s->cd_self; print_tx_structure() local
390 const FFTXCodelet *cd; global() member
400 check_cd_factors(const FFTXCodelet *cd, int len) check_cd_factors() argument
501 const FFTXCodelet *cd = NULL; ff_tx_init_subtx() local
612 const FFTXCodelet *cd = cd_matches[i].cd; ff_tx_init_subtx() local
[all...]
/third_party/ltp/testcases/open_posix_testsuite/stress/threads/pthread_cond_wait/
H A Dstress2.c206 struct celldata *cd = (struct celldata *)arg; in cleanup() local
209 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
219 struct celldata *cd = (struct celldata *)arg; in worker() local
223 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
229 cd->count += 1; in worker()
232 ret = clock_gettime(cd->cid, &ts); in worker()
243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
255 } while (cd->boolean == 0); in worker()
258 ret = pthread_cond_broadcast(&(cd in worker()
278 struct celldata *cd = (struct celldata *)arg; signaler() local
314 struct celldata *cd = (struct celldata *)arg; cellmanager() local
[all...]
H A Dstress.c206 struct celldata *cd = (struct celldata *)arg; in cleanup() local
209 ret = pthread_mutex_unlock(&(cd->mtx)); in cleanup()
219 struct celldata *cd = (struct celldata *)arg; in worker() local
223 ret = pthread_mutex_lock(&(cd->mtx)); in worker()
229 cd->count += 1; in worker()
232 ret = clock_gettime(cd->cid, &ts); in worker()
243 ret = pthread_cond_timedwait(&(cd->cnd), &(cd->mtx), &ts); in worker()
255 } while (cd->boolean == 0); in worker()
258 ret = pthread_cond_broadcast(&(cd in worker()
278 struct celldata *cd = (struct celldata *)arg; signaler() local
314 struct celldata *cd = (struct celldata *)arg; cellmanager() local
[all...]
H A Dstress1.c217 struct childdata cd[NTOT]; member
229 struct childdata *cd = (struct childdata *)arg; in threaded_B() local
231 ret = pthread_mutex_lock(&(cd->mtx)); in threaded_B()
236 while (*(cd->pBool) == 0) { in threaded_B()
237 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
244 ret = pthread_cond_wait(&(cd->cnd), &(cd->mtx)); in threaded_B()
251 ret = pthread_cond_broadcast(&(cd->cnd)); in threaded_B()
256 ret = pthread_mutex_unlock(&(cd->mtx)); in threaded_B()
269 struct childdata *cd in threaded_A() local
[all...]
/third_party/FreeBSD/sys/dev/usb/
H A Dusb_parse.c43 usb_desc_foreach(struct usb_config_descriptor *cd, in usb_desc_foreach() argument
52 if (cd == NULL) in usb_desc_foreach()
56 start = (uint8_t *)cd; in usb_desc_foreach()
57 end = start + UGETW(cd->wTotalLength); in usb_desc_foreach()
95 usb_idesc_foreach(struct usb_config_descriptor *cd, in usb_idesc_foreach() argument
108 usb_desc_foreach(cd, (struct usb_descriptor *)id); in usb_idesc_foreach()
168 usb_edesc_foreach(struct usb_config_descriptor *cd, in usb_edesc_foreach() argument
175 while ((desc = usb_desc_foreach(cd, desc))) { in usb_edesc_foreach()
203 usb_ed_comp_foreach(struct usb_config_descriptor *cd, in usb_ed_comp_foreach() argument
210 while ((desc = usb_desc_foreach(cd, des in usb_ed_comp_foreach()
233 usbd_get_no_descriptors(struct usb_config_descriptor *cd, uint8_t type) usbd_get_no_descriptors() argument
257 usbd_get_no_alts(struct usb_config_descriptor *cd, struct usb_interface_descriptor *id) usbd_get_no_alts() argument
[all...]
H A Dusbdi_util.h44 struct usb_descriptor *usb_desc_foreach(struct usb_config_descriptor *cd,
47 struct usb_config_descriptor *cd,
50 struct usb_config_descriptor *cd,
53 struct usb_config_descriptor *cd,
55 uint8_t usbd_get_no_descriptors(struct usb_config_descriptor *cd,
57 uint8_t usbd_get_no_alts(struct usb_config_descriptor *cd,
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_cd.c29 CMS_CompressedData *cd; in ossl_cms_CompressedData_create() local
43 cd = M_ASN1_new_of(CMS_CompressedData); in ossl_cms_CompressedData_create()
45 if (cd == NULL) in ossl_cms_CompressedData_create()
49 cms->d.compressedData = cd; in ossl_cms_CompressedData_create()
51 cd->version = 0; in ossl_cms_CompressedData_create()
53 X509_ALGOR_set0(cd->compressionAlgorithm, in ossl_cms_CompressedData_create()
56 cd->encapContentInfo->eContentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_CompressedData_create()
67 CMS_CompressedData *cd; in ossl_cms_CompressedData_init_bio() local
74 cd = cms->d.compressedData; in ossl_cms_CompressedData_init_bio()
75 X509_ALGOR_get0(&compoid, NULL, NULL, cd in ossl_cms_CompressedData_init_bio()
[all...]
/third_party/openssl/crypto/cms/
H A Dcms_cd.c29 CMS_CompressedData *cd; in ossl_cms_CompressedData_create() local
43 cd = M_ASN1_new_of(CMS_CompressedData); in ossl_cms_CompressedData_create()
45 if (cd == NULL) in ossl_cms_CompressedData_create()
49 cms->d.compressedData = cd; in ossl_cms_CompressedData_create()
51 cd->version = 0; in ossl_cms_CompressedData_create()
53 X509_ALGOR_set0(cd->compressionAlgorithm, in ossl_cms_CompressedData_create()
56 cd->encapContentInfo->eContentType = OBJ_nid2obj(NID_pkcs7_data); in ossl_cms_CompressedData_create()
67 CMS_CompressedData *cd; in ossl_cms_CompressedData_init_bio() local
74 cd = cms->d.compressedData; in ossl_cms_CompressedData_init_bio()
75 X509_ALGOR_get0(&compoid, NULL, NULL, cd in ossl_cms_CompressedData_init_bio()
[all...]
/third_party/libfuse/lib/
H A Dcuse_lowlevel.c118 struct cuse_data *cd; in cuse_prep_data() local
130 cd = calloc(1, sizeof(*cd) + dev_info_len); in cuse_prep_data()
131 if (!cd) { in cuse_prep_data()
136 memcpy(&cd->clop, clop, sizeof(cd->clop)); in cuse_prep_data()
137 cd->max_read = 131072; in cuse_prep_data()
138 cd->dev_major = ci->dev_major; in cuse_prep_data()
139 cd->dev_minor = ci->dev_minor; in cuse_prep_data()
140 cd in cuse_prep_data()
153 struct cuse_data *cd; cuse_lowlevel_new() local
200 struct cuse_data *cd = se->cuse_data; cuse_lowlevel_init() local
[all...]
/third_party/ffmpeg/libavfilter/
H A Daf_acrossover.c50 double cd[5]; member
256 b->cd[B0] = b0 / a0; in set_lp()
257 b->cd[B1] = b1 / a0; in set_lp()
258 b->cd[B2] = b2 / a0; in set_lp()
259 b->cd[A1] = -a1 / a0; in set_lp()
260 b->cd[A2] = -a2 / a0; in set_lp()
262 b->cf[B0] = b->cd[B0]; in set_lp()
263 b->cf[B1] = b->cd[B1]; in set_lp()
264 b->cf[B2] = b->cd[B2]; in set_lp()
265 b->cf[A1] = b->cd[A in set_lp()
[all...]
/third_party/musl/libc-test/src/functional/
H A Diconv_open.c8 iconv_t cd; in main() local
17 cd = iconv_open(bad, bad); in main()
18 if (cd != (iconv_t)-1) in main()
24 cd = iconv_open("UTF-8", "UTF-8"); in main()
25 if (cd == (iconv_t)-1) in main()
30 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
38 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
44 r = iconv_close(cd); in main()
H A Diconv_test.c46 void CloseIconv(iconv_t cd) in CloseIconv() argument
48 if (iconv_close(cd)) { in CloseIconv()
55 iconv_t cd = iconv_open(param->to, param->from); in IconvTest() local
56 if (cd == (iconv_t)-1) { in IconvTest()
58 CloseIconv(cd); in IconvTest()
65 if (iconv(cd, &input, &inputLen, &output, &outputLen)) { in IconvTest()
67 CloseIconv(cd); in IconvTest()
71 CloseIconv(cd); in IconvTest()
/third_party/typescript/tests/baselines/reference/
H A DbinaryArithmeticControlFlowGraphNotTooLarge.js5 var a, b, c, d, ab, bc, cd, da, blocks = this.blocks;
65 cd = c & d;
66 b += (cd | (c & a) | da) + blocks[12] + 1518500249;
69 a += (bc | (b & d) | cd) + blocks[1] + 1518500249;
77 cd = c & d;
78 b += (cd | (c & a) | da) + blocks[13] + 1518500249;
81 a += (bc | (b & d) | cd) + blocks[2] + 1518500249;
89 cd = c & d;
90 b += (cd | (c & a) | da) + blocks[14] + 1518500249;
93 a += (bc | (b & d) | cd)
[all...]
/third_party/mbedtls/library/
H A Dsha512.c385 uint64x2_t cd = vld1q_u64(&ctx->state[2]); in mbedtls_internal_sha512_process_many_a64_crypto() local
399 uint64x2_t cd_orig = cd; in mbedtls_internal_sha512_process_many_a64_crypto()
426 intermed = vsha512hq_u64(sum, vextq_u64(ef, gh, 1), vextq_u64(cd, ef, 1)); in mbedtls_internal_sha512_process_many_a64_crypto()
427 gh = vsha512h2q_u64(intermed, cd, ab); in mbedtls_internal_sha512_process_many_a64_crypto()
428 cd = vaddq_u64(cd, intermed); in mbedtls_internal_sha512_process_many_a64_crypto()
433 intermed = vsha512hq_u64(sum, vextq_u64(cd, ef, 1), vextq_u64(ab, cd, 1)); in mbedtls_internal_sha512_process_many_a64_crypto()
439 sum = vaddq_u64(vextq_u64(initial_sum, initial_sum, 1), cd); in mbedtls_internal_sha512_process_many_a64_crypto()
440 intermed = vsha512hq_u64(sum, vextq_u64(ab, cd, in mbedtls_internal_sha512_process_many_a64_crypto()
[all...]
/third_party/curl/packages/OS400/
H A Dcurlmain.c57 iconv_t cd; in main() local
73 cd = iconv_open(tocode, fromcode); in main()
82 j = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
87 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
101 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
102 iconv(cd, NULL, &inbytesleft, &outbuf, &outbytesleft); in main()
105 iconv_close(cd); in main()
/third_party/skia/third_party/externals/spirv-tools/kokoro/scripts/windows/
H A Dbuild.bat19 set BUILD_ROOT=%cd%
20 set SRC=%cd%\github\SPIRV-Tools
27 cd %SRC%
30 cd external && cd googletest && git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 && cd .. && cd ..
46 cd %SRC%
48 cd build
89 cd
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/kokoro/scripts/windows/
H A Dbuild.bat19 set BUILD_ROOT=%cd%
20 set SRC=%cd%\github\SPIRV-Tools
27 cd %SRC%
30 cd external && cd googletest && git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 && cd .. && cd ..
46 cd %SRC%
48 cd build
89 cd
[all...]
/third_party/protobuf/kokoro/release/protoc/windows/
H A Dbuild.bat9 cd github\protobuf
12 cd build32
15 cd ..
18 cd build64
21 cd ..
/third_party/skia/third_party/externals/swiftshader/tests/kokoro/gcp_windows/
H A Dcontinuous.bat6 SET SRC=%cd%\git\SwiftShader
8 cd %SRC% || goto :error
13 cd %SRC%\build || goto :error
32 cd %SRC% || goto :error
41 cd %SRC%\build || goto :error
48 cd %SRC%\build || goto :error
55 cd %SRC%\build || goto :error
61 cd %SRC%\build || goto :error
/third_party/popt/src/
H A Dpoptint.c73 iconv_t cd; in strdup_locale_from_utf8() local
83 && (cd = iconv_open(codeset, "UTF-8")) != (iconv_t)-1) in strdup_locale_from_utf8()
96 (void) iconv_close(cd); in strdup_locale_from_utf8()
99 err = iconv(cd, NULL, NULL, NULL, NULL); in strdup_locale_from_utf8()
102 err = iconv(cd, &pin, &ib, &pout, &ob); in strdup_locale_from_utf8()
118 (void) iconv_close(cd); in strdup_locale_from_utf8()
133 (void) iconv_close(cd); in strdup_locale_from_utf8()
/third_party/mesa3d/src/gallium/auxiliary/draw/
H A Ddraw_cliptest_tmp.h39 unsigned cd[2]; in do_cliptest() local
59 cd[0] = draw_current_shader_ccdistance_output(pvs->draw, 0); in do_cliptest()
60 cd[1] = draw_current_shader_ccdistance_output(pvs->draw, 1); in do_cliptest()
62 if (cd[0] != pos || cd[1] != pos) in do_cliptest()
150 clipdist = out->data[cd[0]][i]; in do_cliptest()
152 clipdist = out->data[cd[1]][i-4]; in do_cliptest()
/third_party/jerryscript/tests/jerry/es2015/
H A Dobject-initializer.js34 var cd = 6;
37 cd: 8,
38 cd
43 assert(o.cd === 6);
/third_party/skia/third_party/externals/spirv-tools/kokoro/windows-msvc-2015-release-bazel/
H A Dbuild.bat19 set SRC=%cd%\github\SPIRV-Tools
25 cd %SRC%
28 cd external && cd googletest && git reset --hard 1fb1bb23bb8418dc73a5a9a82bbed31dc610fec7 && cd .. && cd ..

Completed in 18 milliseconds

12345678