Home
last modified time | relevance | path

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

/external/nos/host/generic/libnos_transport/
Dtransport.c87 uint32_t arg_len; member
273 uint16_t arg_len = ctx->arg_len; in send_command() local
276 NLOGD("Send app %d command data (%d bytes)", ctx->app_id, arg_len); in send_command()
287 const uint16_t ulen = MIN(arg_len, MAX_DEVICE_TRANSFER); in send_command()
299 arg_len -= ulen; in send_command()
300 } while (arg_len); in send_command()
319 arg_len = ctx->arg_len; in send_command()
320 crc = crc16(&arg_len, sizeof(arg_len)); in send_command()
321 crc = crc16_update(ctx->args, ctx->arg_len, crc); in send_command()
454 const uint8_t *args, uint32_t arg_len, in nos_call_application() argument
[all …]
/external/ltp/testcases/kernel/mem/thp/
Dthp01.c108 long arg_len, arg_count; in setup() local
116 arg_len = sysconf(_SC_PAGESIZE); in setup()
117 arg = SAFE_MALLOC(arg_len); in setup()
118 memset(arg, 'c', arg_len - 1); in setup()
119 arg[arg_len - 1] = '\0'; in setup()
123 tst_res(TINFO, "Using %ld args of size %ld", arg_count, arg_len); in setup()
/external/usrsctp/fuzzer/
Dpcap2corpus.c190 size_t arg_len; in get_filter() local
192 arg_len = strlen(argv[i]); in get_filter()
193 memcpy(c, argv[i], arg_len); in get_filter()
194 c += arg_len; in get_filter()
/external/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 …]
/external/nos/host/generic/libnos_transport/include/nos/
Dtransport.h30 const uint8_t *args, uint32_t arg_len,
/external/selinux/libsepol/src/
Dutil.c257 size_t arg_len = 0; in tokenize() local
278 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
/external/bcc/src/cc/
Dbpf_module_rw_engine.cc310 Argument *arg_len = &*arg_it; in make_writer() local
312 arg_len->setName("len"); in make_writer()
323 vector<Value *> args({arg_out, B.CreateZExt(arg_len, B.getInt64Ty()), nullptr}); in make_writer()
332 debug_printf(mod, B, "%d %p %p\n", vector<Value *>({arg_len, arg_out, arg_in})); in make_writer()
/external/wpa_supplicant_8/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()
/external/llvm-project/lldb/source/Plugins/Process/gdb-remote/
DGDBRemoteCommunicationServerCommon.cpp1004 const uint32_t arg_len = packet.GetU32(UINT32_MAX); in Handle_A() local
1005 if (arg_len == UINT32_MAX) in Handle_A()
1026 if (packet.GetHexByteStringFixedLength(arg, arg_len) != in Handle_A()
1027 (arg_len / 2)) in Handle_A()
DGDBRemoteCommunicationClient.cpp808 const int arg_len = strlen(arg); in SendArgumentsPacket() local
811 packet.Printf("%i,%i,", arg_len * 2, (int)i); in SendArgumentsPacket()
812 packet.PutBytesAsRawHex8(arg, arg_len); in SendArgumentsPacket()
/external/llvm-project/lldb/examples/python/
Dgdbremote.py722 arg_len = packet.get_number()
723 if arg_len == -1:
732 arg_value = packet.get_hex_ascii_str(arg_len)
/external/llvm-project/lldb/scripts/
Ddisasm-gdb-remote.pl1142 my $arg_len = get_uint(\@_);
1148 my $num_hex8_bytes = $arg_len/2;
1153 printf(" <%3u> argv[%u] = '%s'\n", $arg_len, $arg_idx, $arg);
/external/rust/crates/libc/src/
Dpsp.rs2923 pub fn sceKernelStartThread(id: SceUid, arg_len: usize, arg_p: *mut c_void) -> i32; in sceKernelStartThread()