Lines Matching refs:args
61 struct jwe_cb_args *args = (struct jwe_cb_args *)ctx->user;
95 if (*args->temp_len < ctx->npos) {
106 if (!args->jws->map_b64.buf[m]) {
107 args->jws->map_b64.buf[m] = args->temp;
108 args->jws->map_b64.len[m] = 0;
111 memcpy(args->temp, ctx->buf, ctx->npos);
112 args->temp += ctx->npos;
113 *args->temp_len -= ctx->npos;
114 args->jws->map_b64.len[m] += ctx->npos;
117 args->jws->map.buf[m] = args->temp;
120 (const char *)args->jws->map_b64.buf[m],
121 (int)args->jws->map_b64.len[m],
122 (char *)args->temp, *args->temp_len);
128 args->temp += n;
129 *args->temp_len -= n;
130 args->jws->map.len[m] = (uint32_t)n;
140 struct jwe_cb_args args;
144 args.jws = &jwe->jws;
145 args.temp = temp;
146 args.temp_len = temp_len;
148 lejp_construct(&jctx, lws_jwe_json_cb, &args, jwe_json,