Home
last modified time | relevance | path

Searched refs:cval (Results 1 – 20 of 20) sorted by relevance

/third_party/python/Objects/
Dcomplexobject.c215 complex_subtype_from_c_complex(PyTypeObject *type, Py_complex cval) in complex_subtype_from_c_complex() argument
221 ((PyComplexObject *)op)->cval = cval; in complex_subtype_from_c_complex()
226 PyComplex_FromCComplex(Py_complex cval) in PyComplex_FromCComplex() argument
234 op->cval = cval; in PyComplex_FromCComplex()
260 return ((PyComplexObject *)op)->cval.real; in PyComplex_RealAsDouble()
271 return ((PyComplexObject *)op)->cval.imag; in PyComplex_ImagAsDouble()
321 return ((PyComplexObject *)op)->cval; in PyComplex_AsCComplex()
332 cv = ((PyComplexObject *)newop)->cval; in PyComplex_AsCComplex()
366 if (v->cval.real == 0. && copysign(1.0, v->cval.real)==1.0) { in complex_repr()
370 im = PyOS_double_to_string(v->cval.imag, format_code, in complex_repr()
[all …]
/third_party/cef/tools/yapf/yapf/yapflib/
Dunwrapped_line.py350 cval = cur_token.value
352 if pval == 'yield' and cval == 'from':
355 if pval in {'async', 'await'} and cval in {'def', 'with', 'for'}:
363 if cval == ':':
366 if cval == ',':
369 if prev_token.is_name and cval == '(':
372 if prev_token.is_name and cval == '[':
375 if prev_token.is_name and cval == '.':
426 cval = cur_token.value
437 if cval in _LOGICAL_OPERATORS:
[all …]
/third_party/openssl/crypto/rand/
Drand_lib.c752 CONF_VALUE *cval; in random_conf_init() local
770 cval = sk_CONF_VALUE_value(elist, i); in random_conf_init()
771 if (OPENSSL_strcasecmp(cval->name, "random") == 0) { in random_conf_init()
772 if (!random_set_string(&dgbl->rng_name, cval->value)) in random_conf_init()
774 } else if (OPENSSL_strcasecmp(cval->name, "cipher") == 0) { in random_conf_init()
775 if (!random_set_string(&dgbl->rng_cipher, cval->value)) in random_conf_init()
777 } else if (OPENSSL_strcasecmp(cval->name, "digest") == 0) { in random_conf_init()
778 if (!random_set_string(&dgbl->rng_digest, cval->value)) in random_conf_init()
780 } else if (OPENSSL_strcasecmp(cval->name, "properties") == 0) { in random_conf_init()
781 if (!random_set_string(&dgbl->rng_propq, cval->value)) in random_conf_init()
[all …]
/third_party/alsa-utils/iecset/
Diecset.c318 snd_ctl_elem_value_t *cval; in main() local
393 snd_ctl_elem_value_alloca(&cval); in main()
394 snd_ctl_elem_value_set_id(cval, cid); in main()
395 if ((err = snd_ctl_elem_read(ctl, cval)) < 0) { in main()
400 snd_ctl_elem_value_get_iec958(cval, &iec958); in main()
412 snd_ctl_elem_value_set_iec958(cval, &iec958); in main()
413 if ((err = snd_ctl_elem_write(ctl, cval)) < 0) { in main()
417 if ((err = snd_ctl_elem_read(ctl, cval)) < 0) { in main()
421 snd_ctl_elem_value_get_iec958(cval, &iec958); in main()
/third_party/openssl/crypto/engine/
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/
Dprovider_conf.c288 CONF_VALUE *cval; in provider_conf_init() local
303 cval = sk_CONF_VALUE_value(elist, i); in provider_conf_init()
305 cval->name, cval->value, cnf)) in provider_conf_init()
/third_party/python/Lib/http/
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/mesa3d/src/compiler/nir/
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/alsa-lib/src/topology/
Dctl.c112 unsigned int j, count, access, cval; in tplg_save_access() local
120 cval = ctl_access[j].value; in tplg_save_access()
121 if ((access & cval) == cval) { in tplg_save_access()
122 access &= ~cval; in tplg_save_access()
134 cval = ctl_access[j].value; in tplg_save_access()
135 if ((access & cval) == cval) { in tplg_save_access()
140 access &= ~cval; in tplg_save_access()
/third_party/python/Include/
Dcomplexobject.h35 Py_complex cval; member
/third_party/gstreamer/gstplugins_bad/ext/lv2/
Dgstlv2utils.c786 const LilvNode *cval; in gst_lv2_element_class_set_metadata() local
809 cval = lilv_plugin_class_get_label (lv2plugin_class); in gst_lv2_element_class_set_metadata()
810 if (cval) { in gst_lv2_element_class_set_metadata()
811 class_tags = g_strconcat (lv2_class_tags, "/", lilv_node_as_string (cval), in gst_lv2_element_class_set_metadata()
/third_party/ffmpeg/libavcodec/
Dvorbisdec.c1219 unsigned partition_class, cdim, cbits, csub, cval, offset, i, j; in vorbis_floor1_decode() local
1239 cval = 0; in vorbis_floor1_decode()
1244 cval = get_vlc2(gb, vc->codebooks[vf->class_masterbook[partition_class]].vlc.table, in vorbis_floor1_decode()
1248 book = vf->subclass_books[partition_class][cval & csub]; in vorbis_floor1_decode()
1251 book, cbits, cval, get_bits_count(gb)); in vorbis_floor1_decode()
1253 cval = cval >> cbits; in vorbis_floor1_decode()
Dvorbisenc.c842 int k, cval = 0, csub = 1<<c->subclass; in floor_encode() local
857 cval |= l << cshift; in floor_encode()
860 if (put_codeword(pb, book, cval)) in floor_encode()
864 int book = c->books[cval & (csub-1)]; in floor_encode()
866 cval >>= c->subclass; in floor_encode()
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.h564 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 FUNCS()
589 memcpy(&val->val, &cval, sizeof(cval)); in FUNCS()
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
598 upb_value_setfloat(&ret, cval); in upb_value_float()
602 UPB_INLINE upb_value upb_value_double(double cval) { in upb_value_double() argument
604 upb_value_setdouble(&ret, cval); in upb_value_double()
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
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/
Dupb.h550 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 FUNCS()
575 memcpy(&val->val, &cval, sizeof(cval)); in FUNCS()
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
584 upb_value_setfloat(&ret, cval); in upb_value_float()
588 UPB_INLINE upb_value upb_value_double(double cval) { in upb_value_double() argument
590 upb_value_setdouble(&ret, cval); in upb_value_double()
/third_party/python/Python/
Dgetargs.c845 Py_complex cval; in convertsimple() local
846 cval = PyComplex_AsCComplex(arg); in convertsimple()
850 *p = cval; in convertsimple()
/third_party/libxml2/
Dxmlschemastypes.c2374 xmlChar cval[25]; in xmlSchemaValAtomicType() local
2375 xmlChar *cptr = cval; in xmlSchemaValAtomicType()
2468 cptr = cval; in xmlSchemaValAtomicType()
/third_party/python/Modules/
D_testcapimodule.c1416 Py_complex cval; in getargs_D() local
1417 if (!PyArg_ParseTuple(args, "D", &cval)) in getargs_D()
1419 return PyComplex_FromCComplex(cval); in getargs_D()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h49715 int cval; member