Lines Matching defs:buf

393 		 * Allocate a just-the-right-size buf for the cert DER now
507 [b->retry_ms_table_count++] = (uint32_t)atoi(ctx->buf);
511 a->curr[LTY_BACKOFF].b->r.conceal_count = (uint16_t)atoi(ctx->buf);
515 a->curr[LTY_BACKOFF].b->r.jitter_percent = (uint8_t)atoi(ctx->buf);
519 a->curr[LTY_BACKOFF].b->r.secs_since_valid_ping = (uint16_t)atoi(ctx->buf);
523 a->curr[LTY_BACKOFF].b->r.secs_since_valid_hangup = (uint16_t)atoi(ctx->buf);
534 lws_b64_decode_stateful(&a->b64, ctx->buf, &inl,
560 ctx->npos, ctx->buf);
563 if (!strncmp(x->vhost_name, ctx->buf, ctx->npos)) {
571 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar));
585 a->curr[LTY_METRICS].m->us_schedule = (uint64_t)atoll(ctx->buf);
589 a->curr[LTY_METRICS].m->us_decay_unit = (uint32_t)atol(ctx->buf);
593 a->curr[LTY_METRICS].m->min_contributors = (uint8_t)atoi(ctx->buf);
609 if (!strncmp(x->vhost_name, ctx->buf, ctx->npos) &&
647 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar));
660 a->curr[LTY_POLICY].p->port = (uint16_t)atoi(ctx->buf);
664 a->curr[LTY_POLICY].p->proxy_buflen = (uint32_t)atol(ctx->buf);
669 (uint32_t)atol(ctx->buf);
673 (uint32_t)atol(ctx->buf);
677 a->curr[LTY_POLICY].p->client_buflen = (uint32_t)atol(ctx->buf);
682 (uint32_t)atol(ctx->buf);
686 (uint32_t)atol(ctx->buf);
717 if (!strncmp((*pin)->name, ctx->buf, ctx->npos)) {
735 a->curr[LTY_POLICY].p->client_cert = (uint8_t)(atoi(ctx->buf) + 1);
739 a->curr[LTY_AUTH].a->blob_index = (uint8_t)atoi(ctx->buf);
742 a->curr[LTY_POLICY].p->u.http.resp_expect = (uint16_t)atoi(ctx->buf);
746 a->curr[LTY_POLICY].p->timeout_ms = (uint32_t)atoi(ctx->buf);
750 a->curr[LTY_POLICY].p->priority = (uint8_t)atoi(ctx->buf);
835 if (!strncmp(ctx->buf, bot->name, ctx->npos)) {
849 if (!strncmp(ctx->buf, ts->name, ctx->npos)) {
855 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar));
866 lws_ss_policy_find_auth_by_name(a, ctx->buf, ctx->npos);
868 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar));
891 memcpy(q, ctx->buf, ctx->npos);
900 lws_http_string_to_known_header(ctx->buf, ctx->npos);
918 a->respmap[a->count].state = (uint16_t)atoi(ctx->buf);
1022 a->curr[LTY_POLICY].p->u.mqtt.qos = (uint8_t)atoi(ctx->buf);
1031 a->curr[LTY_POLICY].p->u.mqtt.keep_alive = (uint16_t)atoi(ctx->buf);
1047 a->curr[LTY_POLICY].p->u.mqtt.will_qos = (uint8_t)atoi(ctx->buf);
1062 a->curr[LTY_POLICY].p->u.mqtt.birth_qos = (uint8_t)atoi(ctx->buf);
1085 !strncmp(ctx->buf, protonames[n], ctx->npos))
1090 lws_strnncpy(dotstar, ctx->buf, ctx->npos, sizeof(dotstar));
1105 extant = lwsac_scan_extant(a->ac, (uint8_t *)ctx->buf, (size_t)ctx->npos, 1);
1114 memcpy(*pp, ctx->buf, ctx->npos);
1213 uint8_t buf[512];
1220 n = (int)read(fd, buf, sizeof(buf));
1226 m = lejp_parse(&args->jctx, buf, n);
1250 lws_ss_policy_parse(struct lws_context *context, const uint8_t *buf, size_t len)
1256 if (args->jctx.line < 2 && buf[0] != '{' && !args->parse_data)
1257 return lws_ss_policy_parse_file(context, (const char *)buf);
1261 m = lejp_parse(&args->jctx, buf, (int)len);