Home
last modified time | relevance | path

Searched refs:arg_len (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/mem/thp/
Dthp01.c110 long arg_len, arg_count; in setup() local
118 arg_len = sysconf(_SC_PAGESIZE); in setup()
119 arg = SAFE_MALLOC(arg_len); in setup()
120 memset(arg, 'c', arg_len - 1); in setup()
121 arg[arg_len - 1] = '\0'; in setup()
125 tst_res(TINFO, "Using %ld args of size %ld", arg_count, arg_len); in setup()
/third_party/skia/third_party/externals/brotli/c/tools/
Dbrotli.c198 size_t arg_len = arg ? strlen(arg) : 0; in ParseParams() local
200 if (arg_len == 0) { in ParseParams()
215 if (after_dash_dash || arg[0] != '-' || arg_len == 1) { in ParseParams()
217 if (longest_path_len < arg_len) longest_path_len = arg_len; in ParseParams()
225 if (arg_len == 2 && arg[1] == '-') { in ParseParams()
233 for (j = 1; j < arg_len; ++j) { in ParseParams()
316 if (j + 1 != arg_len) { in ParseParams()
681 size_t arg_len; in NextFile() local
708 arg_len = strlen(arg); in NextFile()
710 if (arg_len == 1 && arg[0] == '-') { in NextFile()
[all …]
/third_party/node/deps/uv/src/win/
Dprocess.c540 DWORD arg_len; in make_program_args() local
542 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
548 if (arg_len == 0) { in make_program_args()
552 dst_len += arg_len; in make_program_args()
554 if (arg_len > temp_buffer_len) in make_program_args()
555 temp_buffer_len = arg_len; in make_program_args()
580 DWORD arg_len; in make_program_args() local
583 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
589 if (arg_len == 0) { in make_program_args()
597 pos += arg_len - 1; in make_program_args()
/third_party/libuv/src/win/
Dprocess.c540 DWORD arg_len; in make_program_args() local
542 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
548 if (arg_len == 0) { in make_program_args()
552 dst_len += arg_len; in make_program_args()
554 if (arg_len > temp_buffer_len) in make_program_args()
555 temp_buffer_len = arg_len; in make_program_args()
580 DWORD arg_len; in make_program_args() local
583 arg_len = MultiByteToWideChar(CP_UTF8, in make_program_args()
589 if (arg_len == 0) { in make_program_args()
597 pos += arg_len - 1; in make_program_args()
/third_party/jerryscript/jerry-core/ecma/builtin-objects/
Decma-builtin-helpers.c389 uint32_t arg_len; in ecma_builtin_helper_array_concat_value() local
390 ecma_value_t error = ecma_op_object_get_length (obj_p, &arg_len); in ecma_builtin_helper_array_concat_value()
398 uint32_t arg_len = ecma_array_get_length (obj_p); in ecma_builtin_helper_array_concat_value() local
401 for (uint32_t array_index = 0; array_index < arg_len; array_index++) in ecma_builtin_helper_array_concat_value()
427 *length_p += arg_len; in ecma_builtin_helper_array_concat_value()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_bsd.c109 bsd_set80211(void *priv, int op, int val, const void *arg, int arg_len) in bsd_set80211() argument
122 ireq.i_len = arg_len; in bsd_set80211()
126 "arg_len=%u]: %s", op, val, arg_len, in bsd_set80211()
135 int arg_len) in bsd_get80211() argument
142 ireq->i_len = arg_len; in bsd_get80211()
147 "arg_len=%u]: %s", op, arg_len, strerror(errno)); in bsd_get80211()
154 get80211var(struct bsd_driver_data *drv, int op, void *arg, int arg_len) in get80211var() argument
158 if (bsd_get80211(drv, &ireq, op, arg, arg_len) < 0) in get80211var()
164 set80211var(struct bsd_driver_data *drv, int op, const void *arg, int arg_len) in set80211var() argument
166 return bsd_set80211(drv, op, 0, arg, arg_len); in set80211var()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_bsd.c105 bsd_set80211(void *priv, int op, int val, const void *arg, int arg_len) in bsd_set80211() argument
118 ireq.i_len = arg_len; in bsd_set80211()
122 "arg_len=%u]: %s", op, val, arg_len, in bsd_set80211()
131 int arg_len) in bsd_get80211() argument
138 ireq->i_len = arg_len; in bsd_get80211()
145 "arg_len=%u]: %s", op, arg_len, strerror(errno)); in bsd_get80211()
152 get80211var(struct bsd_driver_data *drv, int op, void *arg, int arg_len) in get80211var() argument
156 if (bsd_get80211(drv, &ireq, op, arg, arg_len) < 0) in get80211var()
162 set80211var(struct bsd_driver_data *drv, int op, const void *arg, int arg_len) in set80211var() argument
164 return bsd_set80211(drv, op, 0, arg, arg_len); in set80211var()
/third_party/selinux/libsepol/src/
Dutil.c261 size_t arg_len = 0; in tokenize() local
282 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/third_party/rust/crates/libc/src/
Dpsp.rs2923 pub fn sceKernelStartThread(id: SceUid, arg_len: usize, arg_p: *mut c_void) -> i32; in sceKernelStartThread()