/third_party/pulseaudio/src/pulsecore/ |
D | atomic.h | 425 int new_val, old_val; in pa_atomic_add() local 432 : "=&r" (old_val), "=&r" (not_exclusive), "=&r" (new_val) in pa_atomic_add() 438 return old_val; in pa_atomic_add() 444 int new_val, old_val; in pa_atomic_sub() local 451 : "=&r" (old_val), "=&r" (not_exclusive), "=&r" (new_val) in pa_atomic_sub() 457 return old_val; in pa_atomic_sub() 564 int old_val; in pa_atomic_add() local 566 old_val = a->value; in pa_atomic_add() 567 } while(__kernel_cmpxchg(old_val, old_val + i, &a->value)); in pa_atomic_add() 568 return old_val; in pa_atomic_add() [all …]
|
/third_party/mtdev/src/ |
D | core.c | 53 static int defuzz(int value, int old_val, int fuzz) in defuzz() argument 56 if (value > old_val - fuzz / 2 && value < old_val + fuzz / 2) in defuzz() 57 return old_val; in defuzz() 59 if (value > old_val - fuzz && value < old_val + fuzz) in defuzz() 60 return (old_val * 3 + value) / 4; in defuzz() 62 if (value > old_val - fuzz * 2 && value < old_val + fuzz * 2) in defuzz() 63 return (old_val + value) / 2; in defuzz()
|
/third_party/flutter/skia/src/core/ |
D | SkExchange.h | 18 T old_val = std::move(obj); in exchange() local 20 return old_val; in exchange()
|
/third_party/ltp/include/ |
D | tst_atomic.h | 152 int old_val, new_val; in tst_atomic_add_return() local 161 : "=&d" (old_val), "=&d" (new_val), "+Q" (*v) in tst_atomic_add_return() 165 return old_val + i; in tst_atomic_add_return()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
D | Threading.h | 98 sys::cas_flag old_val = sys::CompareAndSwap(&flag, Wait, Uninitialized); in call_once() 99 if (old_val == Uninitialized) { in call_once()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | Threading.h | 125 sys::cas_flag old_val = sys::CompareAndSwap(&flag.status, Wait, Uninitialized); in call_once() 126 if (old_val == Uninitialized) { in call_once()
|
/third_party/gstreamer/gstplugins_base/tests/check/libs/ |
D | sdp.c | 267 const gchar *old_val; in GST_START_TEST() local 278 old_val = gst_sdp_message_get_attribute_val (message, "test_attr_session"); in GST_START_TEST() 280 fail_unless (old_val != NULL); in GST_START_TEST() 282 attr.value = g_strdup_printf ("%s;param2=val2", old_val); in GST_START_TEST() 299 old_val = in GST_START_TEST() 303 fail_unless (old_val != NULL); in GST_START_TEST()
|
/third_party/benchmark/tools/gbench/ |
D | report.py | 75 def calculate_change(old_val, new_val): argument 79 if old_val == 0 and new_val == 0: 81 if old_val == 0: 82 return float(new_val - old_val) / (float(old_val + new_val) / 2) 83 return float(new_val - old_val) / abs(old_val)
|
/third_party/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 369 SkScalar old_val; member 375 if (val < ranges[0].old_val) { in map_ranges() 381 if (val < ranges[i+1].old_val) { in map_ranges() 382 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges()
|
D | SkFontMgr_fontconfig.cpp | 278 SkScalar old_val; member 284 if (val < ranges[0].old_val) { in map_ranges() 290 if (val < ranges[i+1].old_val) { in map_ranges() 291 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges()
|
/third_party/flutter/skia/src/ports/ |
D | SkFontConfigInterface_direct.cpp | 384 SkScalar old_val; member 390 if (val < ranges[0].old_val) { in map_ranges() 396 if (val < ranges[i+1].old_val) { in map_ranges() 397 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges()
|
D | SkFontMgr_fontconfig.cpp | 302 SkScalar old_val; member 308 if (val < ranges[0].old_val) { in map_ranges() 314 if (val < ranges[i+1].old_val) { in map_ranges() 315 return map_range(val, ranges[i].old_val, ranges[i+1].old_val, in map_ranges()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_asn1write.function | 397 unsigned char *old_val = NULL; 403 old_val = nd.val.p; 405 memset( old_val, 'x', old_len ); 424 TEST_ASSERT( found->val.p == old_val ); 426 TEST_ASSERT( found->val.p != old_val );
|
/third_party/python/Python/ |
D | context.c | 275 PyObject *old_val = NULL; in PyContextVar_Set() local 276 int found = _PyHamt_Find(ctx->ctx_vars, (PyObject *)var, &old_val); in PyContextVar_Set() 281 Py_XINCREF(old_val); in PyContextVar_Set() 282 PyContextToken *tok = token_new(ctx, var, old_val); in PyContextVar_Set() 283 Py_XDECREF(old_val); in PyContextVar_Set()
|
/third_party/cef/libcef/common/ |
D | value_base.h | 339 ValueType* old_val = value_; in Detach() local 341 return old_val; in Detach()
|
/third_party/skia/modules/skottie/src/animator/ |
D | VectorKeyframeAnimator.cpp | 115 const auto old_val = Sk4f::Load(dst), in onSeek() local 118 changed |= (new_val != old_val).anyTrue(); in onSeek()
|
/third_party/flutter/skia/third_party/externals/sdl/src/core/linux/ |
D | SDL_fcitx.c | 266 const char *old_val, in Fcitx_SetCapabilities() argument
|
D | SDL_ibus.c | 306 IBus_SetCapabilities(void *data, const char *name, const char *old_val, in IBus_SetCapabilities() argument
|
/third_party/libinput/test/ |
D | test-tablet.c | 2039 double val, old_val = 0; in START_TEST() local 2072 litest_assert_double_gt(val, old_val); in START_TEST() 2075 old_val = val; in START_TEST() 3255 double val, old_val = 0; in START_TEST() local 3284 litest_assert_double_gt(val, old_val); in START_TEST() 3287 old_val = val; in START_TEST()
|
/third_party/python/Lib/test/test_email/ |
D | test_email.py | 478 old_val = msg.get_param("report-type") 483 msg.set_param("report-type", old_val) 487 ('report-type', old_val)])
|