Home
last modified time | relevance | path

Searched refs:cval (Results 1 - 22 of 22) sorted by relevance

/third_party/python/Objects/
H A Dcomplexobject.c217 complex_subtype_from_c_complex(PyTypeObject *type, Py_complex cval) in complex_subtype_from_c_complex() argument
223 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
228 PyComplex_FromCComplex(Py_complex cval) in PyComplex_FromCComplex() argument
236 op->cval = cval; in PyComplex_FromCComplex()
262 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
273 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
322 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
333 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
[all...]
/third_party/node/deps/openssl/openssl/crypto/rand/
H A Drand_lib.c759 CONF_VALUE *cval; in random_conf_init() local
777 cval = sk_CONF_VALUE_value(elist, i); in random_conf_init()
778 if (OPENSSL_strcasecmp(cval->name, "random") == 0) { in random_conf_init()
779 if (!random_set_string(&dgbl->rng_name, cval->value)) in random_conf_init()
781 } else if (OPENSSL_strcasecmp(cval->name, "cipher") == 0) { in random_conf_init()
782 if (!random_set_string(&dgbl->rng_cipher, cval->value)) in random_conf_init()
784 } else if (OPENSSL_strcasecmp(cval->name, "digest") == 0) { in random_conf_init()
785 if (!random_set_string(&dgbl->rng_digest, cval->value)) in random_conf_init()
787 } else if (OPENSSL_strcasecmp(cval->name, "properties") == 0) { in random_conf_init()
788 if (!random_set_string(&dgbl->rng_propq, cval in random_conf_init()
[all...]
/third_party/openssl/crypto/rand/
H A Drand_lib.c759 CONF_VALUE *cval; in random_conf_init() local
777 cval = sk_CONF_VALUE_value(elist, i); in random_conf_init()
778 if (OPENSSL_strcasecmp(cval->name, "random") == 0) { in random_conf_init()
779 if (!random_set_string(&dgbl->rng_name, cval->value)) in random_conf_init()
781 } else if (OPENSSL_strcasecmp(cval->name, "cipher") == 0) { in random_conf_init()
782 if (!random_set_string(&dgbl->rng_cipher, cval->value)) in random_conf_init()
784 } else if (OPENSSL_strcasecmp(cval->name, "digest") == 0) { in random_conf_init()
785 if (!random_set_string(&dgbl->rng_digest, cval->value)) in random_conf_init()
787 } else if (OPENSSL_strcasecmp(cval->name, "properties") == 0) { in random_conf_init()
788 if (!random_set_string(&dgbl->rng_propq, cval in random_conf_init()
[all...]
/third_party/alsa-utils/iecset/
H A Diecset.c319 snd_ctl_elem_value_t *cval; in main() local
394 snd_ctl_elem_value_alloca(&cval); in main()
395 snd_ctl_elem_value_set_id(cval, cid); in main()
396 if ((err = snd_ctl_elem_read(ctl, cval)) < 0) { in main()
401 snd_ctl_elem_value_get_iec958(cval, &iec958); in main()
413 snd_ctl_elem_value_set_iec958(cval, &iec958); in main()
414 if ((err = snd_ctl_elem_write(ctl, cval)) < 0) { in main()
418 if ((err = snd_ctl_elem_read(ctl, cval)) < 0) { in main()
422 snd_ctl_elem_value_get_iec958(cval, &iec958); in main()
/third_party/musl/src/misc/
H A Dmntent.c29 unsigned char cval = 0; in unescape_ent() local
42 cval <<= 3; in unescape_ent()
43 cval += *val++ - '0'; in unescape_ent()
48 if (cval) { in unescape_ent()
49 *dest++ = cval; in unescape_ent()
/third_party/backends/backend/
H A Dmustek_pp_cis.c1335 int ctr, skips = dev->CIS.adjustskip, cval; in cis_read_line_low_level() local
1359 cval = color; in cis_read_line_low_level()
1369 cval -= low_val ; in cis_read_line_low_level()
1370 cval <<= 8 ; in cis_read_line_low_level()
1371 cval /= hi_val-low_val ; in cis_read_line_low_level()
1373 if (cval < 0) cval = 0; in cis_read_line_low_level()
1374 else if (cval > 255) cval = 255; in cis_read_line_low_level()
1377 cval in cis_read_line_low_level()
[all...]
H A Dmustek_pp_ccd300.c369 int ctr, skips = priv->adjustskip + 1, cval; in read_line_101x() local
388 cval = color; in read_line_101x()
390 if (cval < RefBlack) in read_line_101x()
391 cval = 0; in read_line_101x()
393 cval -= RefBlack; in read_line_101x()
397 if (cval >= cal[ctr]) in read_line_101x()
398 cval = 0xFF; in read_line_101x()
401 cval <<= 8; in read_line_101x()
402 cval /= (int) cal[ctr]; in read_line_101x()
407 cval in read_line_101x()
[all...]
/third_party/node/deps/openssl/openssl/crypto/engine/
H A Deng_cnf.c150 CONF_VALUE *cval; in int_engine_module_init() local
163 cval = sk_CONF_VALUE_value(elist, i); in int_engine_module_init()
164 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
/third_party/openssl/crypto/engine/
H A Deng_cnf.c150 CONF_VALUE *cval; in int_engine_module_init() local
163 cval = sk_CONF_VALUE_value(elist, i); in int_engine_module_init()
164 if (!int_engine_configure(cval->name, cval->value, cnf)) in int_engine_module_init()
/third_party/node/deps/openssl/openssl/crypto/
H A Dprovider_conf.c354 CONF_VALUE *cval; in provider_conf_init() local
369 cval = sk_CONF_VALUE_value(elist, i); in provider_conf_init()
371 cval->name, cval->value, cnf)) in provider_conf_init()
/third_party/openssl/crypto/
H A Dprovider_conf.c354 CONF_VALUE *cval; in provider_conf_init() local
369 cval = sk_CONF_VALUE_value(elist, i); in provider_conf_init()
371 cval->name, cval->value, cnf)) in provider_conf_init()
/third_party/mesa3d/src/compiler/nir/
H A Dnir_search.c542 nir_ssa_def *cval; in construct_value() local
545 cval = nir_imm_floatN_t(build, c->data.d, bit_size); in construct_value()
550 cval = nir_imm_intN_t(build, c->data.i, bit_size); in construct_value()
554 cval = nir_imm_boolN_t(build, c->data.u, bit_size); in construct_value()
561 assert(cval->index == in construct_value()
564 nir_algebraic_automaton(cval->parent_instr, state->states, in construct_value()
568 val.src = nir_src_for_ssa(cval); in construct_value()
/third_party/python/Lib/http/
H A Dcookies.py497 rval, cval = self.value_encode(value)
498 self.__set(key, rval, cval)
595 rval, cval = value
596 self.__set(key, rval, cval)
/third_party/python/Include/cpython/
H A Dcomplexobject.h28 Py_complex cval; member
/third_party/alsa-lib/src/topology/
H A Dctl.c113 unsigned int j, count, access, cval; in tplg_save_access() local
121 cval = ctl_access[j].value; in tplg_save_access()
122 if ((access & cval) == cval) { in tplg_save_access()
123 access &= ~cval; in tplg_save_access()
135 cval = ctl_access[j].value; in tplg_save_access()
136 if ((access & cval) == cval) { in tplg_save_access()
141 access &= ~cval; in tplg_save_access()
/third_party/ffmpeg/libavcodec/
H A Dvorbisdec.c1226 unsigned partition_class, cdim, cbits, csub, cval, offset, i, j; in vorbis_floor1_decode() local
1246 cval = 0; in vorbis_floor1_decode()
1251 cval = get_vlc2(gb, vc->codebooks[vf->class_masterbook[partition_class]].vlc.table, in vorbis_floor1_decode()
1255 book = vf->subclass_books[partition_class][cval & csub]; in vorbis_floor1_decode()
1257 ff_dlog(NULL, "book %d Cbits %u cval %u bits:%d\n", in vorbis_floor1_decode()
1258 book, cbits, cval, get_bits_count(gb)); in vorbis_floor1_decode()
1260 cval = cval >> cbits; in vorbis_floor1_decode()
H A Dvorbisenc.c847 int k, cval = 0, csub = 1<<c->subclass; in floor_encode() local
862 cval |= l << cshift; in floor_encode()
865 if (put_codeword(pb, book, cval)) in floor_encode()
869 int book = c->books[cval & (csub-1)]; in floor_encode()
871 cval >>= c->subclass; in floor_encode()
/third_party/protobuf/php/ext/google/protobuf/
H A Dphp-upb.h559 * void upb_value_setint32(upb_value *val, int32_t cval);
564 UPB_INLINE void upb_value_set ## name(upb_value *val, type_t cval) { \
565 val->val = (converter)cval; \
588 UPB_INLINE void upb_value_setfloat(upb_value *val, float cval) { in upb_value_setfloat() argument
589 memcpy(&val->val, &cval, sizeof(cval)); in upb_value_setfloat()
592 UPB_INLINE void upb_value_setdouble(upb_value *val, double cval) { in upb_value_setdouble() argument
593 memcpy(&val->val, &cval, sizeof(cval)); in upb_value_setdouble()
596 UPB_INLINE upb_value upb_value_float(float cval) { in upb_value_float() argument
602 upb_value_double(double cval) upb_value_double() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
H A Dconnection.c1891 MHD_UNSIGNED_LONG_LONG cval; local
1940 cval = strtoul (clen, &end, 10);
1942 ( (LONG_MAX == cval) && (errno == ERANGE) ) )
1953 connection->remaining_upload_size = cval;
/third_party/protobuf/ruby/ext/google/protobuf_c/
H A Dupb.h545 * void upb_value_setint32(upb_value *val, int32_t cval);
550 UPB_INLINE void upb_value_set ## name(upb_value *val, type_t cval) { \
551 val->val = (converter)cval; \
574 UPB_INLINE void upb_value_setfloat(upb_value *val, float cval) { in upb_value_setfloat() argument
575 memcpy(&val->val, &cval, sizeof(cval)); in upb_value_setfloat()
578 UPB_INLINE void upb_value_setdouble(upb_value *val, double cval) { in upb_value_setdouble() argument
579 memcpy(&val->val, &cval, sizeof(cval)); in upb_value_setdouble()
582 UPB_INLINE upb_value upb_value_float(float cval) { in upb_value_float() argument
588 upb_value_double(double cval) upb_value_double() argument
[all...]
/third_party/python/Python/
H A Dgetargs.c846 Py_complex cval; in convertsimple() local
847 cval = PyComplex_AsCComplex(arg); in convertsimple()
851 *p = cval; in convertsimple()
/third_party/python/Modules/
H A D_testcapimodule.c1611 Py_complex cval; in getargs_D() local
1612 if (!PyArg_ParseTuple(args, "D", &cval)) in getargs_D()
1614 return PyComplex_FromCComplex(cval); in getargs_D()

Completed in 60 milliseconds