/third_party/ntfs-3g/include/ntfs-3g/ |
H A D | volume.h | 123 #define test_nvol_flag(nv, flag) test_bit(NV_##flag, (nv)->state) 124 #define set_nvol_flag(nv, flag) set_bit(NV_##flag, (nv)->state) 125 #define clear_nvol_flag(nv, flag) clear_bit(NV_##flag, (nv)->state) 127 #define NVolReadOnly(nv) test_nvol_flag(nv, ReadOnly) 128 #define NVolSetReadOnly(nv) set_nvol_flag(nv, ReadOnl [all...] |
/third_party/nghttp2/lib/ |
H A D | nghttp2_http.c | 77 static int check_pseudo_header(nghttp2_stream *stream, const nghttp2_hd_nv *nv, in check_pseudo_header() argument 79 if ((stream->http_flags & flag) || nv->value->len == 0) { in check_pseudo_header() 104 static int http_request_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_request_on_header() argument 108 if (nv->name->base[0] == ':') { in http_request_on_header() 115 switch (nv->token) { in http_request_on_header() 117 if (!check_pseudo_header(stream, nv, NGHTTP2_HTTP_FLAG__AUTHORITY)) { in http_request_on_header() 122 if (!check_pseudo_header(stream, nv, NGHTTP2_HTTP_FLAG__METHOD)) { in http_request_on_header() 125 switch (nv->value->len) { in http_request_on_header() 127 if (lstreq("HEAD", nv->value->base, nv in http_request_on_header() 236 http_response_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, int trailer) http_response_on_header() argument 350 nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, nghttp2_frame *frame, nghttp2_hd_nv *nv, int trailer) nghttp2_http_on_header() argument 565 const nghttp2_nv *nv = &nva[i]; nghttp2_http_record_request_method() local [all...] |
H A D | nghttp2_hd.c | 487 void nghttp2_hd_entry_init(nghttp2_hd_entry *ent, nghttp2_hd_nv *nv) { in nghttp2_hd_entry_init() argument 488 ent->nv = *nv; in nghttp2_hd_entry_init() 489 ent->cnv.name = nv->name->base; in nghttp2_hd_entry_init() 490 ent->cnv.namelen = nv->name->len; in nghttp2_hd_entry_init() 491 ent->cnv.value = nv->value->base; in nghttp2_hd_entry_init() 492 ent->cnv.valuelen = nv->value->len; in nghttp2_hd_entry_init() 493 ent->cnv.flags = nv->flags; in nghttp2_hd_entry_init() 497 nghttp2_rcbuf_incref(ent->nv.name); in nghttp2_hd_entry_init() 498 nghttp2_rcbuf_incref(ent->nv in nghttp2_hd_entry_init() 516 name_hash(const nghttp2_nv *nv) name_hash() argument 548 hd_map_find(nghttp2_hd_map *map, int *exact_match, const nghttp2_nv *nv, int32_t token, uint32_t hash, int name_only) hd_map_find() argument 786 emit_header(nghttp2_hd_nv *nv_out, nghttp2_hd_nv *nv) emit_header() argument 1032 emit_indname_block(nghttp2_bufs *bufs, size_t idx, const nghttp2_nv *nv, int indexing_mode) emit_indname_block() argument 1074 emit_newname_block(nghttp2_bufs *bufs, const nghttp2_nv *nv, int indexing_mode) emit_newname_block() argument 1100 add_hd_table_incremental(nghttp2_hd_context *context, nghttp2_hd_nv *nv, nghttp2_hd_map *map, uint32_t hash) add_hd_table_incremental() argument 1172 search_static_table(const nghttp2_nv *nv, int32_t token, int name_only) search_static_table() argument 1196 search_hd_table(nghttp2_hd_context *context, const nghttp2_nv *nv, int32_t token, int indexing_mode, nghttp2_hd_map *map, uint32_t hash) search_hd_table() argument 1308 nghttp2_hd_nv nv = {(nghttp2_rcbuf *)&ent->name, nghttp2_hd_table_get() local 1327 hd_deflate_decide_indexing(nghttp2_hd_deflater *deflater, const nghttp2_nv *nv, int32_t token) hd_deflate_decide_indexing() argument 1342 deflate_nv(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv) deflate_nv() argument 1440 nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_bufs() argument 1491 nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater, uint8_t *buf, size_t buflen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd() argument 1523 nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater, const nghttp2_vec *vec, size_t veclen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_vec() argument 1740 nghttp2_hd_nv nv = nghttp2_hd_table_get(&inflater->ctx, inflater->index); hd_inflate_commit_indexed() local 1758 nghttp2_hd_nv nv; hd_inflate_commit_newname() local 1803 nghttp2_hd_nv nv; hd_inflate_commit_indname() local 2285 nghttp2_hd_emit_indname_block(nghttp2_bufs *bufs, size_t idx, nghttp2_nv *nv, int indexing_mode) nghttp2_hd_emit_indname_block() argument 2291 nghttp2_hd_emit_newname_block(nghttp2_bufs *bufs, nghttp2_nv *nv, int indexing_mode) nghttp2_hd_emit_newname_block() argument [all...] |
/third_party/node/deps/nghttp2/lib/ |
H A D | nghttp2_http.c | 77 static int check_pseudo_header(nghttp2_stream *stream, const nghttp2_hd_nv *nv, in check_pseudo_header() argument 79 if ((stream->http_flags & flag) || nv->value->len == 0) { in check_pseudo_header() 104 static int http_request_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, in http_request_on_header() argument 108 if (nv->name->base[0] == ':') { in http_request_on_header() 115 switch (nv->token) { in http_request_on_header() 117 if (!check_pseudo_header(stream, nv, NGHTTP2_HTTP_FLAG__AUTHORITY)) { in http_request_on_header() 122 if (!check_pseudo_header(stream, nv, NGHTTP2_HTTP_FLAG__METHOD)) { in http_request_on_header() 125 switch (nv->value->len) { in http_request_on_header() 127 if (lstreq("HEAD", nv->value->base, nv in http_request_on_header() 236 http_response_on_header(nghttp2_stream *stream, nghttp2_hd_nv *nv, int trailer) http_response_on_header() argument 350 nghttp2_http_on_header(nghttp2_session *session, nghttp2_stream *stream, nghttp2_frame *frame, nghttp2_hd_nv *nv, int trailer) nghttp2_http_on_header() argument 565 const nghttp2_nv *nv = &nva[i]; nghttp2_http_record_request_method() local [all...] |
H A D | nghttp2_hd.c | 487 void nghttp2_hd_entry_init(nghttp2_hd_entry *ent, nghttp2_hd_nv *nv) { in nghttp2_hd_entry_init() argument 488 ent->nv = *nv; in nghttp2_hd_entry_init() 489 ent->cnv.name = nv->name->base; in nghttp2_hd_entry_init() 490 ent->cnv.namelen = nv->name->len; in nghttp2_hd_entry_init() 491 ent->cnv.value = nv->value->base; in nghttp2_hd_entry_init() 492 ent->cnv.valuelen = nv->value->len; in nghttp2_hd_entry_init() 493 ent->cnv.flags = nv->flags; in nghttp2_hd_entry_init() 497 nghttp2_rcbuf_incref(ent->nv.name); in nghttp2_hd_entry_init() 498 nghttp2_rcbuf_incref(ent->nv in nghttp2_hd_entry_init() 516 name_hash(const nghttp2_nv *nv) name_hash() argument 548 hd_map_find(nghttp2_hd_map *map, int *exact_match, const nghttp2_nv *nv, int32_t token, uint32_t hash, int name_only) hd_map_find() argument 786 emit_header(nghttp2_hd_nv *nv_out, nghttp2_hd_nv *nv) emit_header() argument 1032 emit_indname_block(nghttp2_bufs *bufs, size_t idx, const nghttp2_nv *nv, int indexing_mode) emit_indname_block() argument 1074 emit_newname_block(nghttp2_bufs *bufs, const nghttp2_nv *nv, int indexing_mode) emit_newname_block() argument 1100 add_hd_table_incremental(nghttp2_hd_context *context, nghttp2_hd_nv *nv, nghttp2_hd_map *map, uint32_t hash) add_hd_table_incremental() argument 1172 search_static_table(const nghttp2_nv *nv, int32_t token, int name_only) search_static_table() argument 1196 search_hd_table(nghttp2_hd_context *context, const nghttp2_nv *nv, int32_t token, int indexing_mode, nghttp2_hd_map *map, uint32_t hash) search_hd_table() argument 1308 nghttp2_hd_nv nv = {(nghttp2_rcbuf *)&ent->name, nghttp2_hd_table_get() local 1327 hd_deflate_decide_indexing(nghttp2_hd_deflater *deflater, const nghttp2_nv *nv, int32_t token) hd_deflate_decide_indexing() argument 1342 deflate_nv(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv) deflate_nv() argument 1440 nghttp2_hd_deflate_hd_bufs(nghttp2_hd_deflater *deflater, nghttp2_bufs *bufs, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_bufs() argument 1491 nghttp2_hd_deflate_hd(nghttp2_hd_deflater *deflater, uint8_t *buf, size_t buflen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd() argument 1523 nghttp2_hd_deflate_hd_vec(nghttp2_hd_deflater *deflater, const nghttp2_vec *vec, size_t veclen, const nghttp2_nv *nv, size_t nvlen) nghttp2_hd_deflate_hd_vec() argument 1740 nghttp2_hd_nv nv = nghttp2_hd_table_get(&inflater->ctx, inflater->index); hd_inflate_commit_indexed() local 1758 nghttp2_hd_nv nv; hd_inflate_commit_newname() local 1803 nghttp2_hd_nv nv; hd_inflate_commit_indname() local 2285 nghttp2_hd_emit_indname_block(nghttp2_bufs *bufs, size_t idx, nghttp2_nv *nv, int indexing_mode) nghttp2_hd_emit_indname_block() argument 2291 nghttp2_hd_emit_newname_block(nghttp2_bufs *bufs, nghttp2_nv *nv, int indexing_mode) nghttp2_hd_emit_newname_block() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
H A D | nouveau_buffer.c | 157 nouveau_transfer_staging(struct nouveau_context *nv, in nouveau_transfer_staging() argument 163 if (!nv->push_data) in nouveau_transfer_staging() 166 if ((size <= nv->screen->transfer_pushbuf_threshold) && permit_pb) { in nouveau_transfer_staging() 172 nouveau_mm_allocate(nv->screen->mm_GART, size, &tx->bo, &tx->offset); in nouveau_transfer_staging() 187 nouveau_transfer_read(struct nouveau_context *nv, struct nouveau_transfer *tx) in nouveau_transfer_read() argument 193 NOUVEAU_DRV_STAT(nv->screen, buf_read_bytes_staging_vid, size); in nouveau_transfer_read() 195 nv->copy_data(nv, tx->bo, tx->offset, NOUVEAU_BO_GART, in nouveau_transfer_read() 198 if (nouveau_bo_wait(tx->bo, NOUVEAU_BO_RD, nv->client)) in nouveau_transfer_read() 208 nouveau_transfer_write(struct nouveau_context *nv, struc argument 244 nouveau_buffer_sync(struct nouveau_context *nv, struct nv04_resource *buf, unsigned rw) nouveau_buffer_sync() argument 301 nouveau_buffer_transfer_del(struct nouveau_context *nv, struct nouveau_transfer *tx) nouveau_buffer_transfer_del() argument 319 nouveau_buffer_cache(struct nouveau_context *nv, struct nv04_resource *buf) nouveau_buffer_cache() argument 398 struct nouveau_context *nv = nouveau_context(pipe); nouveau_buffer_transfer_map() local 555 struct nouveau_context *nv = nouveau_context(pipe); nouveau_buffer_transfer_unmap() local 589 nouveau_copy_buffer(struct nouveau_context *nv, struct nv04_resource *dst, unsigned dstx, struct nv04_resource *src, unsigned srcx, unsigned size) nouveau_copy_buffer() argument 627 nouveau_resource_map_offset(struct nouveau_context *nv, struct nv04_resource *res, uint32_t offset, uint32_t flags) nouveau_resource_map_offset() argument 800 nouveau_buffer_data_fetch(struct nouveau_context *nv, struct nv04_resource *buf, struct nouveau_bo *bo, unsigned offset, unsigned size) nouveau_buffer_data_fetch() argument 813 nouveau_buffer_migrate(struct nouveau_context *nv, struct nv04_resource *buf, const unsigned new_domain) nouveau_buffer_migrate() argument 885 nouveau_user_buffer_upload(struct nouveau_context *nv, struct nv04_resource *buf, unsigned base, unsigned size) nouveau_user_buffer_upload() argument 915 struct nouveau_context *nv = nouveau_context(pipe); nouveau_buffer_invalidate() local 942 nouveau_scratch_bo_alloc(struct nouveau_context *nv, struct nouveau_bo **pbo, unsigned size) nouveau_scratch_bo_alloc() argument 962 nouveau_scratch_runout_release(struct nouveau_context *nv) nouveau_scratch_runout_release() argument 979 nouveau_scratch_runout(struct nouveau_context *nv, unsigned size) nouveau_scratch_runout() argument 1013 nouveau_scratch_next(struct nouveau_context *nv, unsigned size) nouveau_scratch_next() argument 1041 nouveau_scratch_more(struct nouveau_context *nv, unsigned min_size) nouveau_scratch_more() argument 1054 nouveau_scratch_data(struct nouveau_context *nv, const void *data, unsigned base, unsigned size, struct nouveau_bo **bo) nouveau_scratch_data() argument 1076 nouveau_scratch_get(struct nouveau_context *nv, unsigned size, uint64_t *gpu_addr, struct nouveau_bo **pbo) nouveau_scratch_get() argument [all...] |
H A D | nouveau_context.h | 79 nouveau_scratch_done(struct nouveau_context *nv) in nouveau_scratch_done() argument 81 nv->scratch.wrap = nv->scratch.id; in nouveau_scratch_done() 82 if (unlikely(nv->scratch.runout)) in nouveau_scratch_done() 83 nouveau_scratch_runout_release(nv); in nouveau_scratch_done() 106 nouveau_context_update_frame_stats(struct nouveau_context *nv) in nouveau_context_update_frame_stats() argument 108 nv->stats.buf_cache_frame <<= 1; in nouveau_context_update_frame_stats() 109 if (nv->stats.buf_cache_count) { in nouveau_context_update_frame_stats() 110 nv->stats.buf_cache_count = 0; in nouveau_context_update_frame_stats() 111 nv in nouveau_context_update_frame_stats() [all...] |
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_http.c | 82 const nghttp3_qpack_nv *nv, uint32_t flag) { in check_pseudo_header() 83 if ((http->flags & flag) || nv->value->len == 0) { in check_pseudo_header() 825 nghttp3_qpack_nv *nv, int trailers, in http_request_on_header() 829 if (nv->name->base[0] == ':') { in http_request_on_header() 836 switch (nv->token) { in http_request_on_header() 838 if (!check_pseudo_header(http, nv, NGHTTP3_HTTP_FLAG__AUTHORITY)) { in http_request_on_header() 843 if (!check_pseudo_header(http, nv, NGHTTP3_HTTP_FLAG__METHOD)) { in http_request_on_header() 846 switch (nv->value->len) { in http_request_on_header() 848 if (lstreq("HEAD", nv->value->base, nv in http_request_on_header() 81 check_pseudo_header(nghttp3_http_state *http, const nghttp3_qpack_nv *nv, uint32_t flag) check_pseudo_header() argument 824 http_request_on_header(nghttp3_http_state *http, nghttp3_qpack_nv *nv, int trailers, int connect_protocol) http_request_on_header() argument 955 http_response_on_header(nghttp3_http_state *http, nghttp3_qpack_nv *nv, int trailers) http_response_on_header() argument 1299 nghttp3_http_on_header(nghttp3_http_state *http, nghttp3_qpack_nv *nv, int request, int trailers, int connect_protocol) nghttp3_http_on_header() argument 1456 const nghttp3_nv *nv; nghttp3_http_record_request_method() local [all...] |
H A D | nghttp3_qpack.c | 792 const nghttp3_nv *nv, int32_t token, in encoder_qpack_map_find() 803 if (token != p->nv.token || in encoder_qpack_map_find() 804 (token == -1 && (hash != p->hash || !qpack_nv_name_eq(&p->nv, nv))) || in encoder_qpack_map_find() 815 if (qpack_nv_value_eq(&p->nv, nv)) { in encoder_qpack_map_find() 820 } else if (!*ppb_match && qpack_nv_value_eq(&p->nv, nv)) { in encoder_qpack_map_find() 1005 table_space(ent->nv.name->len, ent->nv in nghttp3_qpack_encoder_shrink_dtable() 788 encoder_qpack_map_find(nghttp3_qpack_encoder *encoder, int *exact_match, nghttp3_qpack_entry **pmatch, nghttp3_qpack_entry **ppb_match, const nghttp3_nv *nv, int32_t token, uint32_t hash, uint64_t krcnt, int allow_blocking, int name_only) encoder_qpack_map_find() argument 1290 qpack_encoder_decide_indexing_mode(nghttp3_qpack_encoder *encoder, const nghttp3_nv *nv, int32_t token) qpack_encoder_decide_indexing_mode() argument 1380 qpack_encoder_can_index_nv(nghttp3_qpack_encoder *encoder, const nghttp3_nv *nv, uint64_t min_cnt) qpack_encoder_can_index_nv() argument 1415 nghttp3_qpack_encoder_encode_nv(nghttp3_qpack_encoder *encoder, uint64_t *pmax_cnt, uint64_t *pmin_cnt, nghttp3_buf *rbuf, nghttp3_buf *ebuf, const nghttp3_nv *nv, uint64_t base, int allow_blocking) nghttp3_qpack_encoder_encode_nv() argument 1583 nghttp3_qpack_lookup_stable(const nghttp3_nv *nv, int32_t token, nghttp3_qpack_indexing_mode indexing_mode) nghttp3_qpack_lookup_stable() argument 1612 nghttp3_qpack_encoder_lookup_dtable( nghttp3_qpack_encoder *encoder, const nghttp3_nv *nv, int32_t token, uint32_t hash, nghttp3_qpack_indexing_mode indexing_mode, uint64_t krcnt, int allow_blocking) nghttp3_qpack_encoder_lookup_dtable() argument 1800 qpack_encoder_write_indexed_name(nghttp3_qpack_encoder *encoder, nghttp3_buf *buf, uint8_t fb, uint64_t nameidx, size_t prefix, const nghttp3_nv *nv) qpack_encoder_write_indexed_name() argument 1847 nghttp3_qpack_encoder_write_static_indexed_name( nghttp3_qpack_encoder *encoder, nghttp3_buf *rbuf, uint64_t absidx, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_static_indexed_name() argument 1859 nghttp3_qpack_encoder_write_dynamic_indexed_name( nghttp3_qpack_encoder *encoder, nghttp3_buf *rbuf, uint64_t absidx, uint64_t base, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_dynamic_indexed_name() argument 1892 qpack_encoder_write_literal(nghttp3_qpack_encoder *encoder, nghttp3_buf *buf, uint8_t fb, size_t prefix, const nghttp3_nv *nv) qpack_encoder_write_literal() argument 1956 nghttp3_qpack_encoder_write_literal(nghttp3_qpack_encoder *encoder, nghttp3_buf *rbuf, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_literal() argument 1966 nghttp3_qpack_encoder_write_static_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, uint64_t absidx, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_static_insert() argument 1976 nghttp3_qpack_encoder_write_dynamic_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, uint64_t absidx, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_dynamic_insert() argument 2014 nghttp3_qpack_encoder_write_literal_insert(nghttp3_qpack_encoder *encoder, nghttp3_buf *ebuf, const nghttp3_nv *nv) nghttp3_qpack_encoder_write_literal_insert() argument 2086 nghttp3_qpack_encoder_dtable_static_add(nghttp3_qpack_encoder *encoder, uint64_t absidx, const nghttp3_nv *nv, uint32_t hash) nghttp3_qpack_encoder_dtable_static_add() argument 2116 nghttp3_qpack_encoder_dtable_dynamic_add(nghttp3_qpack_encoder *encoder, uint64_t absidx, const nghttp3_nv *nv, uint32_t hash) nghttp3_qpack_encoder_dtable_dynamic_add() argument 2168 nghttp3_qpack_encoder_dtable_literal_add(nghttp3_qpack_encoder *encoder, const nghttp3_nv *nv, int32_t token, uint32_t hash) nghttp3_qpack_encoder_dtable_literal_add() argument 3249 nghttp3_qpack_decoder_read_request(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv, uint8_t *pflags, const uint8_t *src, size_t srclen, int fin) nghttp3_qpack_decoder_read_request() argument 3881 qpack_decoder_emit_static_indexed(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) qpack_decoder_emit_static_indexed() argument 3894 qpack_decoder_emit_dynamic_indexed(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) qpack_decoder_emit_dynamic_indexed() argument 3906 nghttp3_qpack_decoder_emit_indexed(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) nghttp3_qpack_decoder_emit_indexed() argument 3920 qpack_decoder_emit_static_indexed_name(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) qpack_decoder_emit_static_indexed_name() argument 3936 qpack_decoder_emit_dynamic_indexed_name(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) qpack_decoder_emit_dynamic_indexed_name() argument 3962 nghttp3_qpack_decoder_emit_indexed_name(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) nghttp3_qpack_decoder_emit_indexed_name() argument 3980 nghttp3_qpack_decoder_emit_literal(nghttp3_qpack_decoder *decoder, nghttp3_qpack_stream_context *sctx, nghttp3_qpack_nv *nv) nghttp3_qpack_decoder_emit_literal() argument [all...] |
H A D | nghttp3_qpack.h | 70 nghttp3_qpack_nv nv; member 79 /* The hash value for header name (nv.name). */ 280 * nghttp3_qpack_encoder_encode_nv encodes |nv|. It writes request 281 * stream into |rbuf| and writes encoder stream into |ebuf|. |nv| is 295 const nghttp3_nv *nv, uint64_t base, 311 * nghttp3_qpack_lookup_stable searches |nv| in static table. |token| 312 * is a token of nv->name and it is -1 if there is no corresponding 316 nghttp3_qpack_lookup_stable(const nghttp3_nv *nv, int32_t token, 320 * nghttp3_qpack_encoder_lookup_dtable searches |nv| in dynamic table. 321 * |token| is a token of nv [all...] |
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
H A D | mhd2spdy_http.c | 64 spdy_headers->nv[9] = (char *)value; in http_cb_iterate() 70 spdy_headers->nv[spdy_headers->cnt++] = (char *)name; in http_cb_iterate() 71 spdy_headers->nv[spdy_headers->cnt++] = (char *)value; in http_cb_iterate() 271 if(NULL == (spdy_headers.nv = au_malloc(((spdy_headers.num + 5) * 2 + 1) * sizeof(char *)))) in http_cb_request() 273 spdy_headers.nv[0] = ":method"; spdy_headers.nv[1] = method; in http_cb_request() 274 spdy_headers.nv[2] = ":path"; spdy_headers.nv[3] = proxy->uri->path_and_more; in http_cb_request() 275 spdy_headers.nv[4] = ":version"; spdy_headers.nv[ in http_cb_request() 324 http_create_response(struct Proxy* proxy, char **nv) http_create_response() argument [all...] |
/third_party/nghttp2/src/ |
H A D | comp_helper.c | 43 const nghttp2_nv *nv = nghttp2_hd_deflate_get_table_entry(deflater, i); in dump_deflate_header_table() local 46 dump_val(outent, "name", nv->name, nv->namelen); in dump_deflate_header_table() 47 dump_val(outent, "value", nv->value, nv->valuelen); in dump_deflate_header_table() 49 json_integer((json_int_t)(nv->namelen + nv->valuelen + in dump_deflate_header_table() 75 const nghttp2_nv *nv = nghttp2_hd_inflate_get_table_entry(inflater, i); in dump_inflate_header_table() local 78 dump_val(outent, "name", nv->name, nv in dump_inflate_header_table() [all...] |
H A D | deflatehd.cc | 262 auto &nv = nva.back(); in perform_from_http1text() local 278 nv.namelen = strlen(line); in perform_from_http1text() 279 nv.valuelen = strlen(val); in perform_from_http1text() 280 nv.name = (uint8_t *)strdup(line); in perform_from_http1text() 281 nv.value = (uint8_t *)strdup(val); in perform_from_http1text() 282 nv.flags = NGHTTP2_NV_FLAG_NONE; in perform_from_http1text() 284 inputlen += nv.namelen + nv.valuelen; in perform_from_http1text() 294 for (auto &nv : nva) { in perform_from_http1text() 295 free(nv in perform_from_http1text() [all...] |
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
H A D | test_new_connection.c | 193 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 197 for(i = 0; nv[i]; i += 2) { in check_gzip() 198 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip() 199 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip() 311 char **nv; in on_ctrl_send_callback() local 317 nv = frame->syn_stream.nv; in on_ctrl_send_callback() 326 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback() 327 spdylay_printf(" %s: %s\n", nv[i], nv[ in on_ctrl_send_callback() 339 char **nv; on_ctrl_recv_callback() local 598 const char *nv[15]; submit_request() local [all...] |
H A D | test_notls.c | 172 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 176 for(i = 0; nv[i]; i += 2) { in check_gzip() 177 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip() 178 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip() 308 char **nv; in on_ctrl_send_callback() local 314 nv = frame->syn_stream.nv; in on_ctrl_send_callback() 323 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback() 324 printf(" %s: %s\n", nv[i], nv[ in on_ctrl_send_callback() 336 char **nv; on_ctrl_recv_callback() local 550 const char *nv[15]; submit_request() local [all...] |
H A D | test_request_response.c | 175 static void check_gzip(struct Request *req, char **nv) in check_gzip() argument 179 for(i = 0; nv[i]; i += 2) { in check_gzip() 180 if(strcmp("content-encoding", nv[i]) == 0) { in check_gzip() 181 gzip = strcmp("gzip", nv[i+1]) == 0; in check_gzip() 293 char **nv; in on_ctrl_send_callback() local 299 nv = frame->syn_stream.nv; in on_ctrl_send_callback() 308 for(i = 0; nv[i]; i += 2) { in on_ctrl_send_callback() 309 printf(" %s: %s\n", nv[i], nv[ in on_ctrl_send_callback() 321 char **nv; on_ctrl_recv_callback() local 586 const char *nv[15]; submit_request() local [all...] |
/third_party/skia/samplecode/ |
H A D | SamplePatch.cpp | 78 static void eval_sheet(const SkPoint edge[], int nu, int nv, int iu, int iv, in eval_sheet() argument 82 const int BR = TR + nv; in eval_sheet() 86 SkScalar v = SkIntToScalar(iv) / nv; in eval_sheet() 97 v * edge[BR+nu-iu].fX + (1 - u) * edge[BL+nv-iv].fX - x0; in eval_sheet() 99 v * edge[BR+nu-iu].fY + (1 - u) * edge[BL+nv-iv].fY - y0; in eval_sheet() 107 void Patch::draw(SkCanvas* canvas, const SkPaint& paint, int nu, int nv, in draw() argument 109 if (nu < 1 || nv < 1) { in draw() 113 int i, npts = (nu + nv) * 2; in draw() 117 SkPoint* edge2 = edge1 + nv; in draw() 122 eval_patch_edge(fPts + 3, edge1, nv); in draw() 187 drawpatches(SkCanvas* canvas, const SkPaint& paint, int nu, int nv, Patch* patch) drawpatches() argument 240 const int nv = 10; global() variable [all...] |
/third_party/nghttp2/tests/ |
H A D | nghttp2_test_helper.c | 113 int nvnameeq(const char *a, nghttp2_nv *nv) { in nvnameeq() argument 114 return strmemeq(a, nv->name, nv->namelen); in nvnameeq() 117 int nvvalueeq(const char *a, nghttp2_nv *nv) { in nvvalueeq() argument 118 return strmemeq(a, nv->value, nv->valuelen); in nvvalueeq() 136 void add_out(nva_out *out, nghttp2_nv *nv, nghttp2_mem *mem) { in add_out() argument 138 if (nv->namelen) { in add_out() 139 onv->name = mem->malloc(nv->namelen, NULL); in add_out() 140 memcpy(onv->name, nv in add_out() 161 nghttp2_nv nv; inflate_hd() local [all...] |
H A D | nghttp2_hd_test.c | 195 nghttp2_nv nv = MAKE_NV(":path", "/"); in test_nghttp2_hd_inflate_indexed() local 214 assert_nv_equal(&nv, out.nva, 1, mem); in test_nghttp2_hd_inflate_indexed() 236 nghttp2_nv nv[] = {/* Huffman */ in test_nghttp2_hd_inflate_indname_noinc() local 250 for (i = 0; i < ARRLEN(nv); ++i) { in test_nghttp2_hd_inflate_indname_noinc() 251 CU_ASSERT(0 == nghttp2_hd_emit_indname_block(&bufs, 57, &nv[i], in test_nghttp2_hd_inflate_indname_noinc() 260 assert_nv_equal(&nv[i], out.nva, 1, mem); in test_nghttp2_hd_inflate_indname_noinc() 276 nghttp2_nv nv = MAKE_NV("user-agent", "nghttp2"); in test_nghttp2_hd_inflate_indname_inc() local 286 CU_ASSERT(0 == nghttp2_hd_emit_indname_block(&bufs, 57, &nv, in test_nghttp2_hd_inflate_indname_inc() 295 assert_nv_equal(&nv, out.nva, 1, mem); in test_nghttp2_hd_inflate_indname_inc() 299 &nv, in test_nghttp2_hd_inflate_indname_inc() 315 nghttp2_nv nv; test_nghttp2_hd_inflate_indname_inc_eviction() local 365 nghttp2_nv nv[] = {/* Expecting huffman for both */ test_nghttp2_hd_inflate_newname_noinc() local 407 nghttp2_nv nv = MAKE_NV("x-rel", "nghttp2"); test_nghttp2_hd_inflate_newname_inc() local 443 nghttp2_nv nv; test_nghttp2_hd_inflate_clearall_inc() local 663 nghttp2_nv nv; test_nghttp2_hd_ringbuf_reserve() local [all...] |
H A D | failmalloc_test.c | 130 nghttp2_nv nv[] = {MAKE_NV(":host", "example.org"), in run_nghttp2_session_send() local 152 rv = nghttp2_submit_request(session, NULL, nv, ARRLEN(nv), &data_prd, NULL); in run_nghttp2_session_send() 156 rv = nghttp2_submit_headers(session, NGHTTP2_FLAG_NONE, -1, NULL, nv, in run_nghttp2_session_send() 157 ARRLEN(nv), NULL); in run_nghttp2_session_send() 167 rv = nghttp2_submit_headers(session, NGHTTP2_FLAG_NONE, 3, NULL, nv, in run_nghttp2_session_send() 168 ARRLEN(nv), NULL); in run_nghttp2_session_send() 279 nghttp2_nv nv[] = { in run_nghttp2_session_recv() local 340 nvlen = ARRLEN(nv); in run_nghttp2_session_recv() 341 nghttp2_nv_array_copy(&nva, nv, nvle in run_nghttp2_session_recv() 399 nghttp2_nv nv[] = {MAKE_NV(":host", "example.org"), run_nghttp2_frame_pack_headers() local [all...] |
/third_party/nghttp2/fuzz/ |
H A D | fuzz_frames.cc | 14 nghttp2_nv nv; in fuzz_make_nv() local 21 nv.name = n; in fuzz_make_nv() 22 nv.value = v; in fuzz_make_nv() 23 nv.namelen = s1.size(); in fuzz_make_nv() 24 nv.valuelen = s2.size(); in fuzz_make_nv() 25 nv.flags = NGHTTP2_NV_FLAG_NONE; in fuzz_make_nv() 27 return nv; in fuzz_make_nv() 30 static void fuzz_free_nv(nghttp2_nv *nv) { in fuzz_free_nv() argument 31 free(nv->name); in fuzz_free_nv() 32 free(nv in fuzz_free_nv() [all...] |
/third_party/curl/src/ |
H A D | tool_setopt.c | 275 const struct NameValue *nv = NULL; in tool_setopt_enum() local 276 for(nv = nvlist; nv->name; nv++) { in tool_setopt_enum() 277 if(nv->value == lval) in tool_setopt_enum() 280 if(!nv->name) { in tool_setopt_enum() 287 CODE2("curl_easy_setopt(hnd, %s, (long)%s);", name, nv->name); in tool_setopt_enum() 316 const struct NameValueUnsigned *nv = NULL; in tool_setopt_bitmask() local 319 for(nv = nvlist; nv in tool_setopt_bitmask() 573 const struct NameValue *nv = NULL; tool_setopt() local [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/impl/ |
H A D | CacheTest.java | 29 CacheValue<Object> nv = CacheValue.getInstance(null); in testNullCacheValue() 30 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue() 31 assertTrue("null CacheValue get()==null", nv.get() == null); in testNullCacheValue() 32 assertTrue("null CacheValue reset==null", nv.resetIfCleared(null) == null); in testNullCacheValue() 34 Object v = nv.resetIfCleared(this); in testNullCacheValue()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/ |
H A D | CacheTest.java | 26 CacheValue<Object> nv = CacheValue.getInstance(null); in testNullCacheValue() 27 assertTrue("null CacheValue isNull()", nv.isNull()); in testNullCacheValue() 28 assertTrue("null CacheValue get()==null", nv.get() == null); in testNullCacheValue() 29 assertTrue("null CacheValue reset==null", nv.resetIfCleared(null) == null); in testNullCacheValue() 31 Object v = nv.resetIfCleared(this); in testNullCacheValue()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/ |
H A D | nvc0_transfer.c | 199 nvc0_m2mf_push_linear(struct nouveau_context *nv, in nvc0_m2mf_push_linear() argument 203 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nvc0_m2mf_push_linear() 204 struct nouveau_pushbuf *push = nv->pushbuf; in nvc0_m2mf_push_linear() 241 nve4_p2mf_push_linear(struct nouveau_context *nv, in nve4_p2mf_push_linear() argument 245 struct nvc0_context *nvc0 = nvc0_context(&nv->pipe); in nve4_p2mf_push_linear() 246 struct nouveau_pushbuf *push = nv->pushbuf; in nve4_p2mf_push_linear() 281 nvc0_m2mf_copy_linear(struct nouveau_context *nv, in nvc0_m2mf_copy_linear() argument 286 struct nouveau_pushbuf *push = nv->pushbuf; in nvc0_m2mf_copy_linear() 287 struct nouveau_bufctx *bctx = nvc0_context(&nv->pipe)->bufctx; in nvc0_m2mf_copy_linear() 319 nve4_m2mf_copy_linear(struct nouveau_context *nv, in nve4_m2mf_copy_linear() argument 539 nvc0_cb_push(struct nouveau_context *nv, struct nv04_resource *res, unsigned offset, unsigned words, const uint32_t *data) nvc0_cb_push() argument 576 nvc0_cb_bo_push(struct nouveau_context *nv, struct nouveau_bo *bo, unsigned domain, unsigned base, unsigned size, unsigned offset, unsigned words, const uint32_t *data) nvc0_cb_bo_push() argument [all...] |