Lines Matching defs:size
69 const char *buf, size_t size);
359 nsc_line_to_tag(const char *buf, size_t size, char *tag, size_t max_tag,
367 if (size < 3)
370 while (bn < size && idx <= NSC_COL_NAME) {
373 while (bn < size && n < (int)sizeof(col) - 1 &&
413 lwsl_info("%s: %.*s: tag '%s'\n", __func__, (int)size, buf, tag);
428 const char *buf, size_t size)
437 ctx->match->payload_size += size;
450 if (nsc_line_to_tag(buf, size, tag, sizeof(tag), &expiry))
471 ctx->match->payload_size = size;
541 const char *buf, size_t size)
551 if (nsc_line_to_tag(buf, size, tag, sizeof(tag), &expiry))
581 cache->cache.current_footprint += (uint64_t)size;
583 if (write(ctx->fdt, buf, /*msvc*/(unsigned int)size) != (ssize_t)size)
703 size_t size, lws_usec_t expiry, void **ppvoid)
708 lwsl_cache("%s: %s: len %d\n", __func__, _c->info.name, (int)size);
712 if (nsc_line_to_tag((const char *)source, size, tag, sizeof(tag), NULL))
718 if (nsc_regen(cache, tag, source, size)) {
743 const char *buf, size_t size)
755 if (nsc_line_to_tag(buf, size, tag, sizeof(tag), &ctx->expiry)) {
776 *ctx->psize = size;
779 size, ctx->expiry, (void **)ctx->pdata))
791 size))
799 *ctx->psize = size;
923 const char *buf, size_t size)
925 lwsl_hexdump_cache(buf, size);