Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 39) sorted by relevance

12

/bionic/libc/tools/
Dgensyscalls.py153 def param_uses_64bits(param): argument
156 param = param.strip()
160 param.startswith("int64_t") or param.startswith("uint64_t") or \
161 param.startswith("loff_t") or param.startswith("off64_t") or \
162 param.startswith("long long") or param.startswith("unsigned long long") or
163 param.startswith("signed long long") ):
167 if param.find("*") >= 0:
189 for param in params:
190 if param_uses_64bits(param):
201 for param in params:
[all …]
/bionic/libc/bionic/
Dpthread_setschedparam.cpp38 int pthread_setschedparam(pthread_t t, int policy, const sched_param* param) { in pthread_setschedparam() argument
44 return (sched_setscheduler(tid, policy, param) == -1) ? errno : 0; in pthread_setschedparam()
54 sched_param param = { .sched_priority = priority }; in pthread_setschedprio() local
55 return (sched_setparam(tid, &param) == -1) ? errno : 0; in pthread_setschedprio()
Dpthread_getschedparam.cpp36 int pthread_getschedparam(pthread_t t, int* policy, sched_param* param) { in pthread_getschedparam() argument
42 if (sched_getparam(tid, param) == -1) return errno; in pthread_getschedparam()
Djemalloc_wrapper.cpp67 int je_mallopt(int param, int value) { in je_mallopt() argument
69 if (param == M_DECAY_TIME) { in je_mallopt()
105 } else if (param == M_PURGE || param == M_PURGE_ALL) { in je_mallopt()
Dpthread_attr.cpp118 int pthread_attr_setschedparam(pthread_attr_t* attr, const sched_param* param) { in pthread_attr_setschedparam() argument
119 attr->sched_priority = param->sched_priority; in pthread_attr_setschedparam()
124 int pthread_attr_getschedparam(const pthread_attr_t* attr, sched_param* param) { in pthread_attr_getschedparam() argument
125 param->sched_priority = attr->sched_priority; in pthread_attr_getschedparam()
Dmalloc_common.cpp104 extern "C" int mallopt(int param, int value) { in mallopt() argument
106 if (param == M_BIONIC_SET_HEAP_TAGGING_LEVEL) { in mallopt()
110 if (param == M_BIONIC_ZERO_INIT) { in mallopt()
116 return dispatch_table->mallopt(param, value); in mallopt()
118 return Malloc(mallopt)(param, value); in mallopt()
Dpthread_create.cpp165 sched_param param; in __init_thread() local
176 if (sched_getparam(0, &param) == -1) { in __init_thread()
184 param.sched_priority = thread->attr.sched_priority; in __init_thread()
192 if (sched_setscheduler(thread->tid, policy, &param) == -1) { in __init_thread()
195 param.sched_priority, strerror(errno)); in __init_thread()
Dmalloc_limit.cpp66 static int LimitMallopt(int param, int value);
386 static int LimitMallopt(int param, int value) { in LimitMallopt() argument
389 return dispatch_table->mallopt(param, value); in LimitMallopt()
391 return Malloc(mallopt)(param, value); in LimitMallopt()
Dspawn.cpp299 int posix_spawnattr_setschedparam(posix_spawnattr_t* attr, const struct sched_param* param) { in posix_spawnattr_setschedparam() argument
300 (*attr)->schedparam = *param; in posix_spawnattr_setschedparam()
304 int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct sched_param* param) { in posix_spawnattr_getschedparam() argument
305 *param = (*attr)->schedparam; in posix_spawnattr_getschedparam()
/bionic/tests/
Dmemtag_stack_test.cpp53 std::string s = std::get<0>(info.param); in __anon6b4e00a90202()
54 if (std::get<1>(info.param)) s += "_static"; in __anon6b4e00a90202()
Dpthread_test.cpp640 sched_param param; in TEST_F() local
641 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, &param), in TEST_F()
648 sched_param param; in TEST_F() local
649 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, &param)); in TEST_F()
657 sched_param param; in TEST_F() local
658 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, &param), in TEST_F()
665 sched_param param; in TEST_F() local
666 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, &param)); in TEST_F()
2939 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST() local
2940 ASSERT_EQ(0, pthread_attr_setschedparam(&attr, &param)); in TEST()
[all …]
/bionic/libc/malloc_hooks/
Dmalloc_hooks.cpp68 int hooks_mallopt(int param, int value);
175 int hooks_mallopt(int param, int value) { in hooks_mallopt() argument
176 return g_dispatch->mallopt(param, value); in hooks_mallopt()
/bionic/linker/
Dlinker_utils.cpp44 for (const auto& param : params) { in format_string() local
45 const std::string& token = param.first; in format_string()
46 const std::string& replacement = param.second; in format_string()
/bionic/libc/kernel/uapi/drm/
Dvirtgpu_drm.h63 __u64 param; member
145 __u64 param; member
Dmsm_drm.h54 __u32 param; member
180 __u32 param; member
Domap_drm.h27 __u64 param; member
Dqxl_drm.h78 __u64 param; member
Dlima_drm.h37 __u32 param; member
Dpanfrost_drm.h116 __u32 param; member
Di915_drm.h373 __s32 param; member
382 int param; member
733 __u64 param; member
806 struct drm_i915_gem_context_param param; member
Dr128_drm.h229 int param; member
/bionic/libc/kernel/uapi/linux/
Dscc.h117 unsigned param; member
Drtc.h50 __u64 param; member
/bionic/libc/upstream-netbsd/lib/libc/isc/
Dev_timers.c280 const char *param, in evConfigTimer() argument
292 if (strcmp(param, "rate") == 0) in evConfigTimer()
294 else if (strcmp(param, "interval") == 0) in evConfigTimer()
/bionic/libc/kernel/uapi/sound/
Dasequencer.h119 unsigned int param; member
159 } param; member

12