/external/nos/host/generic/libnos_transport/ |
D | transport.c | 87 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/ |
D | thp01.c | 117 long arg_len, arg_count; in setup() local 125 arg_len = sysconf(_SC_PAGESIZE); in setup() 126 arg = SAFE_MALLOC(arg_len); in setup() 127 memset(arg, 'c', arg_len - 1); in setup() 128 arg[arg_len - 1] = '\0'; in setup() 132 tst_res(TINFO, "Using %ld args of size %ld", arg_count, arg_len); in setup()
|
/external/brotli/c/tools/ |
D | brotli.c | 187 size_t arg_len = arg ? strlen(arg) : 0; in ParseParams() local 189 if (arg_len == 0) { in ParseParams() 204 if (after_dash_dash || arg[0] != '-' || arg_len == 1) { in ParseParams() 206 if (longest_path_len < arg_len) longest_path_len = arg_len; in ParseParams() 214 if (arg_len == 2 && arg[1] == '-') { in ParseParams() 222 for (j = 1; j < arg_len; ++j) { in ParseParams() 305 if (j + 1 != arg_len) { in ParseParams() 664 size_t arg_len; in NextFile() local 691 arg_len = strlen(arg); in NextFile() 693 if (arg_len == 1 && arg[0] == '-') { in NextFile() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_bsd.c | 109 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()
|
/external/nos/host/generic/libnos_transport/include/nos/ |
D | transport.h | 30 const uint8_t *args, uint32_t arg_len,
|
/external/nos/test/system-test-harness/src/ |
D | transport_tests.cc | 240 void SetCommandInfoCrc(const void* arg, uint16_t arg_len, uint32_t command, in SetCommandInfoCrc() argument 242 uint16_t crc = crc16(&arg_len, sizeof(arg_len)); in SetCommandInfoCrc() 243 crc = crc16_update(arg, arg_len, crc); in SetCommandInfoCrc() 250 void SetCommandInfoCrc(const void* arg, uint16_t arg_len, uint32_t command, in SetCommandInfoCrc() argument 252 SetCommandInfoCrc(arg, arg_len, command, info, sizeof(*info)); in SetCommandInfoCrc()
|
/external/selinux/libsepol/src/ |
D | util.c | 257 size_t arg_len = 0; in tokenize() local 278 rc = tokenize_str(delim, arg, &buf_p, &arg_len); in tokenize()
|
/external/bcc/src/cc/ |
D | bpf_module.cc | 418 Argument *arg_len = &*arg_it; in make_writer() local 420 arg_len->setName("len"); in make_writer() 431 vector<Value *> args({arg_out, B.CreateZExt(arg_len, B.getInt64Ty()), nullptr}); in make_writer() 440 debug_printf(mod, B, "%d %p %p\n", vector<Value *>({arg_len, arg_out, arg_in})); in make_writer()
|