Home
last modified time | relevance | path

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

12

/bionic/libc/tools/
Dgensyscalls.py136 def param_uses_64bits(param): argument
139 param = param.strip()
143 param.startswith("int64_t") or param.startswith("uint64_t") or \
144 param.startswith("loff_t") or param.startswith("off64_t") or \
145 param.startswith("long long") or param.startswith("unsigned long long") or
146 param.startswith("signed long long") ):
150 if param.find("*") >= 0:
172 for param in params:
173 if param_uses_64bits(param):
184 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()
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()
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) { in je_mallopt()
Dpthread_create.cpp152 sched_param param; in __init_thread() local
163 if (sched_getparam(0, &param) == -1) { in __init_thread()
171 param.sched_priority = thread->attr.sched_priority; in __init_thread()
179 if (sched_setscheduler(thread->tid, policy, &param) == -1) { in __init_thread()
182 param.sched_priority, strerror(errno)); in __init_thread()
Dspawn.cpp254 int posix_spawnattr_setschedparam(posix_spawnattr_t* attr, const struct sched_param* param) { in posix_spawnattr_setschedparam() argument
255 (*attr)->schedparam = *param; in posix_spawnattr_setschedparam()
259 int posix_spawnattr_getschedparam(const posix_spawnattr_t* attr, struct sched_param* param) { in posix_spawnattr_getschedparam() argument
260 *param = (*attr)->schedparam; in posix_spawnattr_getschedparam()
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()
Dmalloc_common.cpp102 extern "C" int mallopt(int param, int value) { in mallopt() argument
105 return dispatch_table->mallopt(param, value); in mallopt()
107 return Malloc(mallopt)(param, value); in mallopt()
/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/
Dmsm_drm.h47 __u32 param; member
152 __u32 param; member
Domap_drm.h27 __u64 param; member
Dqxl_drm.h78 __u64 param; member
Dv3d_drm.h86 __u32 param; member
Dlima_drm.h37 __u32 param; member
Dpanfrost_drm.h115 __u32 param; member
Dvirtgpu_drm.h53 __u64 param; member
Di915_drm.h365 __s32 param; member
373 int param; member
713 __u64 param; member
773 struct drm_i915_gem_context_param param; member
Detnaviv_drm.h59 __u32 param; member
Dr128_drm.h229 int 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
/bionic/libc/kernel/uapi/linux/
Dscc.h117 unsigned param; member
/bionic/tests/
Dpthread_test.cpp615 sched_param param; in TEST_F() local
616 EXPECT_DEATH(pthread_getschedparam(dead_thread, &policy, &param), in TEST_F()
623 sched_param param; in TEST_F() local
624 EXPECT_EQ(ESRCH, pthread_getschedparam(null_thread, &policy, &param)); in TEST_F()
632 sched_param param; in TEST_F() local
633 EXPECT_DEATH(pthread_setschedparam(dead_thread, policy, &param), in TEST_F()
640 sched_param param; in TEST_F() local
641 EXPECT_EQ(ESRCH, pthread_setschedparam(null_thread, policy, &param)); in TEST_F()
2896 sched_param param = { .sched_priority = sched_get_priority_max(SCHED_FIFO) + 1 }; in TEST() local
2897 ASSERT_EQ(0, pthread_attr_setschedparam(&attr, &param)); in TEST()
[all …]

12