Home
last modified time | relevance | path

Searched refs:initial_value (Results 1 – 25 of 70) sorted by relevance

123

/third_party/node/deps/histogram/src/
Dhdr_atomic.h47 int64_t initial_value = *field; in hdr_atomic_exchange_64()
50 comparand = initial_value; in hdr_atomic_exchange_64()
51 initial_value = _InterlockedCompareExchange64(field, value, comparand); in hdr_atomic_exchange_64()
53 while (comparand != initial_value); in hdr_atomic_exchange_64()
55 return initial_value; in hdr_atomic_exchange_64()
65 int64_t initial_value = *field; in hdr_atomic_add_fetch_64()
68 comparand = initial_value; in hdr_atomic_add_fetch_64()
69 initial_value = _InterlockedCompareExchange64(field, comparand + value, comparand); in hdr_atomic_add_fetch_64()
71 while (comparand != initial_value); in hdr_atomic_add_fetch_64()
73 return initial_value + value; in hdr_atomic_add_fetch_64()
/third_party/musl/libc-test/src/functionalext/supplement/linux/
Deventfd_read.c27 unsigned int initial_value = 2; in eventfd_read_0100() local
28 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_read_0100()
39 if (value != initial_value) { in eventfd_read_0100()
67 unsigned int initial_value = 2; in eventfd_read_0300() local
68 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_read_0300()
Deventfd_write.c28 unsigned int initial_value = 0; in eventfd_write_0100() local
29 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_write_0100()
77 unsigned int initial_value = 2; in eventfd_write_0300() local
78 int fd = eventfd(initial_value, O_NONBLOCK); in eventfd_write_0300()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/windows/
DSDL_syssem.c40 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument
49 sem->id = CreateSemaphoreEx(NULL, initial_value, 32 * 1024, NULL, 0, SEMAPHORE_ALL_ACCESS); in SDL_CreateSemaphore()
51 sem->id = CreateSemaphore(NULL, initial_value, 32 * 1024, NULL); in SDL_CreateSemaphore()
53 sem->count = initial_value; in SDL_CreateSemaphore()
/third_party/protobuf/src/google/protobuf/
Darenastring.h370 void CreateInstance(Arena* arena, const ::std::string* initial_value) { in CreateInstance()
371 GOOGLE_DCHECK(initial_value != NULL); in CreateInstance()
373 ptr_ = Arena::Create< ::std::string>(arena, *initial_value); in CreateInstance()
376 void CreateInstanceNoArena(const ::std::string* initial_value) { in CreateInstanceNoArena()
377 GOOGLE_DCHECK(initial_value != NULL); in CreateInstanceNoArena()
378 ptr_ = new ::std::string(*initial_value); in CreateInstanceNoArena()
/third_party/python/Lib/test/
Dtest_uu.py30 def __init__(self, initial_value="", encoding="utf-8", argument
38 if initial_value:
39 if not isinstance(initial_value, str):
40 initial_value = str(initial_value)
41 self.write(initial_value)
/third_party/mesa3d/src/vulkan/runtime/
Dvk_semaphore.c107 get_semaphore_type(const void *pNext, uint64_t *initial_value) in get_semaphore_type() argument
115 if (initial_value) in get_semaphore_type()
116 *initial_value = type_info->initialValue; in get_semaphore_type()
131 uint64_t initial_value = 0; in vk_common_CreateSemaphore() local
133 get_semaphore_type(pCreateInfo->pNext, &initial_value); in vk_common_CreateSemaphore()
181 sync_type, sync_flags, initial_value); in vk_common_CreateSemaphore()
Dvk_sync.h170 uint64_t initial_value);
311 uint64_t initial_value);
319 uint64_t initial_value,
Dvk_drm_syncobj.c47 uint64_t initial_value) in vk_drm_syncobj_init() argument
52 if (!(sync->flags & VK_SYNC_IS_TIMELINE) && initial_value) in vk_drm_syncobj_init()
62 if ((sync->flags & VK_SYNC_IS_TIMELINE) && initial_value) { in vk_drm_syncobj_init()
64 &initial_value, 1); in vk_drm_syncobj_init()
Dvk_sync.c85 uint64_t initial_value) in vk_sync_init() argument
99 return type->init(device, sync, initial_value); in vk_sync_init()
113 uint64_t initial_value, in vk_sync_create() argument
123 VkResult result = vk_sync_init(device, sync, type, flags, initial_value); in vk_sync_create()
Dvk_sync_binary.c39 uint64_t initial_value) in vk_sync_binary_init() argument
49 binary->next_point = (initial_value == 0); in vk_sync_binary_init()
Dvk_sync_dummy.c29 uint64_t initial_value) in vk_sync_dummy_init() argument
Dvk_sync_binary.h58 uint64_t initial_value);
/third_party/flutter/skia/third_party/externals/sdl/src/thread/generic/
DSDL_syssem.c33 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument
85 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument
94 sem->count = initial_value; in SDL_CreateSemaphore()
/third_party/gn/src/base/
Datomic_ref_count.h18 explicit constexpr AtomicRefCount(int initial_value) in AtomicRefCount() argument
19 : ref_count_(initial_value) {} in AtomicRefCount()
/third_party/cef/include/base/
Dcef_atomic_ref_count.h58 explicit constexpr AtomicRefCount(int initial_value) in AtomicRefCount() argument
59 : ref_count_(initial_value) {} in AtomicRefCount()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/psp/
DSDL_syssem.c42 SDL_sem *SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument
49 sem->semid = sceKernelCreateSema("SDL sema", 0, initial_value, 255, NULL); in SDL_CreateSemaphore()
/third_party/ltp/tools/sparse/sparse-src/
Dsparse-llvm.c1193 LLVMValueRef initial_value; in output_data() local
1200 initial_value = LLVMConstInt(symbol_type(sym), initializer->value, 1); in output_data()
1203 initial_value = LLVMConstReal(symbol_type(sym), initializer->fvalue); in output_data()
1208 initial_value = LLVMGetNamedGlobal(module, show_ident(sym->ident)); in output_data()
1209 if (!initial_value) in output_data()
1210 initial_value = output_data(module, sym); in output_data()
1216 initial_value = LLVMConstString(strdup(s), strlen(s) + 1, true); in output_data()
1221 initial_value = NULL; in output_data()
1227 initial_value = LLVMConstNull(type); in output_data()
1230 if (!initial_value) in output_data()
[all …]
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_syssem.c49 SDL_CreateSemaphore(Uint32 initial_value) in SDL_CreateSemaphore() argument
53 if (sem_init(&sem->sem, 0, initial_value) < 0) { in SDL_CreateSemaphore()
/third_party/mesa3d/src/intel/vulkan/
Danv_bo_sync.c38 uint64_t initial_value) in anv_bo_sync_init() argument
43 sync->state = initial_value ? ANV_BO_SYNC_STATE_SIGNALED : in anv_bo_sync_init()
/third_party/ffmpeg/libavfilter/
Daf_dynaudnorm.c487 const double initial_value = s->alt_boundary_mode ? gain.max_gain : s->peak_value; in update_gain_history() local
489 s->prev_amplification_factor[channel] = initial_value; in update_gain_history()
492 cqueue_enqueue(s->gain_history_original[channel], initial_value); in update_gain_history()
504 …double initial_value = s->alt_boundary_mode ? cqueue_peek(s->gain_history_original[channel], 0) : … in update_gain_history() local
509initial_value = FFMIN(initial_value, cqueue_peek(s->gain_history_original[channel], input)); in update_gain_history()
510 cqueue_enqueue(s->gain_history_minimum[channel], initial_value); in update_gain_history()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp242 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants() local
245 fuzzerutil::IntToWords(initial_value, bit_width, is_signed), bit_width, in FindSuitableStepAndInitialValueConstants()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp241 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants() local
244 fuzzerutil::IntToWords(initial_value, bit_width, is_signed), bit_width, in FindSuitableStepAndInitialValueConstants()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_pass_add_loops_to_create_int_constant_synonyms.cpp242 uint64_t initial_value = constant_val + step_value * num_iterations; in FindSuitableStepAndInitialValueConstants() local
245 fuzzerutil::IntToWords(initial_value, bit_width, is_signed), bit_width, in FindSuitableStepAndInitialValueConstants()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_sync.c41 uint64_t initial_value) in dzn_sync_init() argument
48 if (FAILED(ID3D12Device1_CreateFence(ddev->dev, initial_value, in dzn_sync_init()

123