Home
last modified time | relevance | path

Searched refs:ret_u (Results 1 - 4 of 4) sorted by relevance

/third_party/eudev/src/shared/
H A Dutil.h96 int safe_atou(const char *s, unsigned *ret_u);
99 int safe_atollu(const char *s, unsigned long long *ret_u);
104 static inline int safe_atolu(const char *s, unsigned long *ret_u) { in safe_atolu() argument
106 return safe_atou(s, (unsigned*) ret_u); in safe_atolu()
108 static inline int safe_atoli(const char *s, long int *ret_u) { in safe_atoli() argument
110 return safe_atoi(s, (int*) ret_u); in safe_atoli()
113 static inline int safe_atolu(const char *s, unsigned long *ret_u) { in safe_atolu() argument
115 return safe_atollu(s, (unsigned long long*) ret_u); in safe_atolu()
117 static inline int safe_atoli(const char *s, long int *ret_u) { in safe_atoli() argument
119 return safe_atolli(s, (long long int*) ret_u); in safe_atoli()
123 safe_atou64(const char *s, uint64_t *ret_u) safe_atou64() argument
[all...]
H A Dutil.c284 int safe_atou(const char *s, unsigned *ret_u) { in safe_atou() argument
289 assert(ret_u); in safe_atou()
300 *ret_u = (unsigned) l; in safe_atou()
/third_party/pulseaudio/src/pulsecore/
H A Dcore-util.h154 int pa_atou(const char *s, uint32_t *ret_u);
158 int pa_atou64(const char *s, uint64_t *ret_u);
H A Dcore-util.c2369 /* Convert the string s to an unsigned integer in *ret_u */
2370 int pa_atou(const char *s, uint32_t *ret_u) { in pa_atou() argument
2375 pa_assert(ret_u); in pa_atou()
2398 *ret_u = (uint32_t) l; in pa_atou()
2403 /* Convert the string s to an unsigned 64 bit integer in *ret_u */
2404 int pa_atou64(const char *s, uint64_t *ret_u) { in pa_atou64() argument
2409 pa_assert(ret_u); in pa_atou64()
2432 *ret_u = (uint64_t) l; in pa_atou64()

Completed in 8 milliseconds