Lines Matching refs:b
48 static int lua_to_c_get_string(lua_State *L, const char *varname, buffer *b) { in lua_to_c_get_string() argument
63 buffer_copy_string(b, lua_tostring(L, curelem)); in lua_to_c_get_string()
212 buffer *b = buffer_init(); in cache_parse_lua() local
274 buffer_copy_string_buffer(b, con->uri.query); in cache_parse_lua()
275 cache_export_get_params(L, header_tbl, b); in cache_parse_lua()
276 buffer_reset(b); in cache_parse_lua()
302 if (0 == lua_to_c_get_string(L, "output_contenttype", b)) { in cache_parse_lua()
303 response_header_overwrite(srv, con, CONST_STR_LEN("Content-Type"), CONST_BUF_LEN(b)); in cache_parse_lua()
344 buffer_copy_string_buffer(b, p->basedir); in cache_parse_lua()
345 buffer_append_string(b, lua_tostring(L, -1)); in cache_parse_lua()
347 buffer_copy_string(b, lua_tostring(L, -1)); in cache_parse_lua()
350 if (HANDLER_ERROR == stat_cache_get_entry(srv, con, b, &sce)) { in cache_parse_lua()
377 chunkqueue_append_file(con->write_queue, b, 0, sce->st.st_size); in cache_parse_lua()
450 buffer_free(b); in cache_parse_lua()