Lines Matching refs:nlen

68 pkgconf_bytecode_eval_scan(const pkgconf_list_t *vars, const char *name, size_t nlen, unsigned int …  in pkgconf_bytecode_eval_scan()  argument
82 if (pkgconf_str_eq_slice(v->key, name, nlen)) in pkgconf_bytecode_eval_scan()
90 pkgconf_bytecode_eval_lookup_var(pkgconf_bytecode_eval_ctx_t *ctx, const char *name, size_t nlen) in pkgconf_bytecode_eval_lookup_var() argument
94 …if ((v = pkgconf_bytecode_eval_scan(&ctx->client->global_vars, name, nlen, PKGCONF_VARIABLEF_OVERR… in pkgconf_bytecode_eval_lookup_var()
97 if (ctx->vars != NULL && (v = pkgconf_bytecode_eval_scan(ctx->vars, name, nlen, 0, 0)) != NULL) in pkgconf_bytecode_eval_lookup_var()
100 …if ((v = pkgconf_bytecode_eval_scan(&ctx->client->global_vars, name, nlen, 0, PKGCONF_VARIABLEF_OV… in pkgconf_bytecode_eval_lookup_var()
107 pkgconf_bytecode_eval_var(pkgconf_bytecode_eval_ctx_t *ctx, const char *name, size_t nlen, pkgconf_… in pkgconf_bytecode_eval_var() argument
111 v = pkgconf_bytecode_eval_lookup_var(ctx, name, nlen); in pkgconf_bytecode_eval_var()
286 pkgconf_bytecode_emit_var(pkgconf_buffer_t *buf, const char *name, size_t nlen) in pkgconf_bytecode_emit_var() argument
288 if (name == NULL || nlen == 0) in pkgconf_bytecode_emit_var()
291 return pkgconf_bytecode_emit(buf, PKGCONF_BYTECODE_OP_VAR, name, (uint32_t) nlen); in pkgconf_bytecode_emit_var()
365 size_t nlen = (size_t)(q - name); in pkgconf_bytecode_compile() local
366 if (nlen == 0 || nlen >= PKGCONF_ITEM_SIZE) in pkgconf_bytecode_compile()
377 if (nlen == strlen("pc_sysrootdir") && !memcmp(name, "pc_sysrootdir", nlen)) in pkgconf_bytecode_compile()
384 if (!pkgconf_bytecode_emit_var(out, name, nlen)) in pkgconf_bytecode_compile()