/third_party/NuttX/drivers/pipes/ |
D | pipe_common.c | 173 int sval; in pipecommon_open() local 220 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_open() 282 int sval; in pipecommon_close() local 316 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_close() 381 int sval; in pipecommon_read() local 470 while (sem_getvalue(&dev->d_wrsem, &sval) == 0 && sval == 0) in pipecommon_read() 498 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval != 0) in pipecommon_read() 520 while (sem_getvalue(&dev->d_wrsem, &sval) == 0 && sval == 0) in pipecommon_read() 544 int sval; in pipecommon_write() local 632 while (sem_getvalue(&dev->d_rdsem, &sval) == 0 && sval == 0) in pipecommon_write() [all …]
|
/third_party/python/Modules/_multiprocessing/ |
D | semaphore.c | 424 int sval; in _multiprocessing_SemLock_release_impl() 428 if (sem_getvalue(self->handle, &sval) < 0) { in _multiprocessing_SemLock_release_impl() 430 } else if (sval >= self->maxvalue) { in _multiprocessing_SemLock_release_impl() 618 int sval; in _multiprocessing_SemLock__get_value_impl() 619 if (SEM_GETVALUE(self->handle, &sval) < 0) in _multiprocessing_SemLock__get_value_impl() 623 if (sval < 0) in _multiprocessing_SemLock__get_value_impl() 624 sval = 0; in _multiprocessing_SemLock__get_value_impl() 625 return PyLong_FromLong((long)sval); in _multiprocessing_SemLock__get_value_impl() 650 int sval; in _multiprocessing_SemLock__is_zero_impl() 651 if (SEM_GETVALUE(self->handle, &sval) < 0) in _multiprocessing_SemLock__is_zero_impl() [all …]
|
/third_party/rust/crates/log/ |
D | Cargo.toml | 51 kv_unstable_sval = ["kv_unstable", "value-bag/sval", "sval"] 58 sval = { version = "=1.0.0-alpha.5", optional = true, default-features = false } 65 sval = { version = "=1.0.0-alpha.5", features = ["derive"] }
|
/third_party/iowow/src/json/tests/ |
D | jbl_test1.c | 184 const char *sval; in jbl_test1_4() local 193 sval = jbl_get_str(at); in jbl_test1_4() 194 CU_ASSERT_PTR_NOT_NULL_FATAL(sval); in jbl_test1_4() 195 CU_ASSERT_STRING_EQUAL(sval, "bar"); in jbl_test1_4() 205 sval = jbl_get_str(at2); in jbl_test1_4() 206 CU_ASSERT_PTR_NOT_NULL_FATAL(sval); in jbl_test1_4() 207 CU_ASSERT_STRING_EQUAL(sval, "bar4"); in jbl_test1_4() 220 sval = jbl_get_str(at); in jbl_test1_4() 221 CU_ASSERT_PTR_NOT_NULL_FATAL(sval); in jbl_test1_4() 222 CU_ASSERT_STRING_EQUAL(sval, "bar4"); in jbl_test1_4() [all …]
|
/third_party/rust/crates/log/src/kv/ |
D | source.rs | 4 extern crate sval; 463 use self::sval::value; 486 .map_err(|_| self::sval::Error::msg("failed to begin map"))?; in stream() 489 .map_err(|_| self::sval::Error::msg("failed to visit key-values"))?; in stream() 493 .map_err(|_| self::sval::Error::msg("failed to end map")) in stream() 515 .map_err(|_| self::sval::Error::msg("failed to begin seq"))?; in stream() 518 .map_err(|_| self::sval::Error::msg("failed to visit key-values"))?; in stream() 522 .map_err(|_| self::sval::Error::msg("failed to end seq")) in stream() 530 use self::sval::Value;
|
D | value.rs | 8 extern crate sval; 211 T: self::sval::value::Value + 'static, in capture_sval() 253 T: self::sval::value::Value, in from_sval() 284 pub fn from_dyn_sval(value: &'v dyn self::sval::value::Value) -> Self { in from_dyn_sval() 425 impl<'v> self::sval::value::Value for Value<'v> { 426 fn stream(&self, stream: &mut self::sval::value::Stream) -> self::sval::value::Result { in stream() 427 self::sval::value::Value::stream(&self.inner, stream) in stream() 432 impl ToValue for dyn self::sval::value::Value {
|
D | key.rs | 135 extern crate sval; 137 use self::sval::value::{self, Value};
|
/third_party/python/PC/ |
D | _msi.c | 677 char *sval = sbuf; in _msi_SummaryInformation_GetProperty_impl() local 681 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl() 684 sval = malloc(ssize); in _msi_SummaryInformation_GetProperty_impl() 685 if (sval == NULL) { in _msi_SummaryInformation_GetProperty_impl() 689 &fval, sval, &ssize); in _msi_SummaryInformation_GetProperty_impl() 705 result = PyBytes_FromStringAndSize(sval, ssize); in _msi_SummaryInformation_GetProperty_impl() 716 if (sval != sbuf) in _msi_SummaryInformation_GetProperty_impl() 717 free(sval); in _msi_SummaryInformation_GetProperty_impl()
|
/third_party/rust/crates/log/rfcs/ |
D | 0296-structured-logging.md | 211 …in `log`. They're offloaded to serialization frameworks like `serde` and `sval` that are capable o… 213 `serde` and `sval` have direct two-way integration with `log`'s `Value` type through optional Cargo… 220 Complex structures that derive `sval`'s `Value` trait can then implement `log`'s `ToValue` trait in… 235 … a `User`, described as a map by `sval`, is retained when converting it into a `Value`. Using `ser… 364 A `Source` can be serialized as a map using a serialization framework like `serde` or `sval`. Using… 491 …ainer. The `Source` trait allows these `Value`s to be consumed using `std::fmt`, `sval` or `serde`. 493 …represented by any other. That means a value can be captured in terms of `sval` and consumed in te… 512 … producer of a `log::Record` should be able to log a map that implements `sval::Value`, and the im… 529 kv_sval = ["sval"] 530 kv_serde = ["std", "serde", "erased-serde", "sval"] [all …]
|
/third_party/gstreamer/gstplugins_good/gst/goom/ |
D | goom_config_param.h | 72 struct StrVal sval; member 87 #define SVAL(p) ((p).param.sval.value)
|
/third_party/ejdb/src/bindings/ejdb2_react_native/binding/ |
D | index.js | 207 const sval = val.toString(); 208 val = sval.substring(1, sval.lastIndexOf('/'));
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | index.js | 375 const sval = val.toString(); 376 val = sval.substring(1, sval.lastIndexOf('/'));
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/DWARF/ |
D | DWARFFormValue.h | 44 ValueType(int64_t V) : sval(V) {} in ValueType() 50 int64_t sval; member
|
/third_party/ffmpeg/libavcodec/ |
D | ituh263enc.c | 412 short sval = 0; in h263p_encode_umotion() local 427 sval = ((val < 0) ? (short)(-val):(short)val); in h263p_encode_umotion() 428 temp_val = sval; in h263p_encode_umotion() 437 tcode = (sval & (1 << (i-1))) >> (i-1); in h263p_encode_umotion()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/ |
D | DWARFFormValue.cpp | 310 Value.sval = Data.getSLEB128(OffsetPtr); in extractValue() 483 OS << Value.sval; in dump() 704 return Value.sval; in getAsSignedConstant()
|
/third_party/python/Objects/ |
D | bytearrayobject.c | 170 void *sval; in PyByteArray_Resize() local 221 sval = PyObject_Malloc(alloc); in PyByteArray_Resize() 222 if (sval == NULL) { in PyByteArray_Resize() 226 memcpy(sval, PyByteArray_AS_STRING(self), in PyByteArray_Resize() 231 sval = PyObject_Realloc(obj->ob_bytes, alloc); in PyByteArray_Resize() 232 if (sval == NULL) { in PyByteArray_Resize() 238 obj->ob_bytes = obj->ob_start = sval; in PyByteArray_Resize()
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | simplify.c | 895 long long sval = uval; in check_shift_count() local 904 sval = sign_extend_safe(sval, size); in check_shift_count() 905 sval = sign_extend_safe(sval, bits_in_int); in check_shift_count() 906 if (sval < 0) in check_shift_count() 907 insn->src2 = value_pseudo(sval); in check_shift_count()
|
D | parse.c | 830 long long sval = uval; in update_range() local 832 if (is_signed_type(vtype) && (sval < 0)) { in update_range() 833 if (sval < range->neg) in update_range() 834 range->neg = sval; in update_range() 879 static int val_in_range(struct range *range, long long sval, struct symbol *vtype) in val_in_range() argument 881 unsigned long long uval = sval; in val_in_range() 883 if (is_signed_type(vtype) && (sval < 0)) in val_in_range() 884 return range->neg <= sval; in val_in_range()
|
D | linearize.c | 2486 long long sval; in check_tainted_insn() local 2502 sval = sign_extend(uval, insn->size); in check_tainted_insn() 2503 if (Wshift_count_negative && sval < 0) in check_tainted_insn() 2504 warning(insn->pos, "shift count is negative (%lld)", sval); in check_tainted_insn()
|
/third_party/alsa-lib/src/ucm/ |
D | main.c | 631 char *sval; in rewrite_device_value() local 649 sval = malloc(l); in rewrite_device_value() 650 if (sval == NULL) { in rewrite_device_value() 655 snprintf(sval, l, "_ucm%04X.%s", uc_mgr->ucm_card_number, *value); in rewrite_device_value() 657 *value = sval; in rewrite_device_value()
|
/third_party/lwip/src/netif/ppp/ |
D | eap.c | 1321 struct t_num sval, gval, Nval, *Ap, Bval; in eap_request() local 1531 sval.data = inp; in eap_request() 1532 sval.len = vallen; in eap_request() 1567 &Nval, &gval, &sval); in eap_request()
|
/third_party/iowow/src/kv/ |
D | iwkv.c | 2452 IWKV_val sval, *val = lx->val; in _lx_addkv() local 2471 sval.data = rp; in _lx_addkv() 2472 sval.size = len; in _lx_addkv() 2473 if (sval.size == 4) { in _lx_addkv() 2475 memcpy(&lv, sval.data, 4); in _lx_addkv() 2479 } else if (sval.size == 8) { in _lx_addkv() 2481 memcpy(&llv, sval.data, 8); in _lx_addkv() 2490 sval.data = lx->incbuf; in _lx_addkv() 2491 val = &sval; in _lx_addkv()
|
/third_party/alsa-utils/aplay/ |
D | aplay.c | 1825 signed short sval; in compute_max_peak() local 1830 sval = le16toh(*valp); in compute_max_peak() 1832 sval = be16toh(*valp); in compute_max_peak() 1833 sval ^= mask; in compute_max_peak() 1834 val = abs(sval); in compute_max_peak()
|
/third_party/python/Lib/test/ |
D | test_unicode.py | 459 def __init__(self, sval): self.sval = sval argument 460 def __str__(self): return self.sval
|
/third_party/rust/crates/libc/src/unix/bsd/netbsdlike/ |
D | mod.rs | 697 pub fn sem_getvalue(sem: *mut sem_t, sval: *mut ::c_int) -> ::c_int; in sem_getvalue()
|