/third_party/skia/third_party/externals/swiftshader/tests/regres/testlists/vk-default/ |
D | mesh-shader.txt | 1 dEQP-VK.mesh_shader.nv.smoke.mesh_shader_triangle 2 dEQP-VK.mesh_shader.nv.smoke.mesh_task_shader_triangle 3 dEQP-VK.mesh_shader.nv.smoke.task_only_shader_triangle 4 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 5 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 6 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 7 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 8 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 9 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 10 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.with_t… [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master/ |
D | mesh-shader.txt | 1 dEQP-VK.mesh_shader.nv.smoke.mesh_shader_triangle 2 dEQP-VK.mesh_shader.nv.smoke.mesh_task_shader_triangle 3 dEQP-VK.mesh_shader.nv.smoke.task_only_shader_triangle 4 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 5 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 6 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 7 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 8 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 9 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 10 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.with_t… [all …]
|
/third_party/vk-gl-cts/android/cts/master/vk-master-2021-03-01/ |
D | mesh-shader.txt | 1 dEQP-VK.mesh_shader.nv.smoke.mesh_shader_triangle 2 dEQP-VK.mesh_shader.nv.smoke.mesh_task_shader_triangle 3 dEQP-VK.mesh_shader.nv.smoke.task_only_shader_triangle 4 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 5 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 6 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 7 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 8 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 9 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 10 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.with_t… [all …]
|
/third_party/vk-gl-cts/external/vulkancts/mustpass/master/vk-default/ |
D | mesh-shader.txt | 1 dEQP-VK.mesh_shader.nv.smoke.mesh_shader_triangle 2 dEQP-VK.mesh_shader.nv.smoke.mesh_task_shader_triangle 3 dEQP-VK.mesh_shader.nv.smoke.task_only_shader_triangle 4 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 5 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.no_tas… 6 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 7 dEQP-VK.mesh_shader.nv.api.draw.draw_count_0.no_indirect_args.no_count_limit.no_count_offset.with_t… 8 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 9 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.no_tas… 10 dEQP-VK.mesh_shader.nv.api.draw.draw_count_1.no_indirect_args.no_count_limit.no_count_offset.with_t… [all …]
|
/third_party/ntfs-3g/include/ntfs-3g/ |
D | volume.h | 123 #define test_nvol_flag(nv, flag) test_bit(NV_##flag, (nv)->state) argument 124 #define set_nvol_flag(nv, flag) set_bit(NV_##flag, (nv)->state) argument 125 #define clear_nvol_flag(nv, flag) clear_bit(NV_##flag, (nv)->state) argument 127 #define NVolReadOnly(nv) test_nvol_flag(nv, ReadOnly) argument 128 #define NVolSetReadOnly(nv) set_nvol_flag(nv, ReadOnly) argument 129 #define NVolClearReadOnly(nv) clear_nvol_flag(nv, ReadOnly) argument 131 #define NVolCaseSensitive(nv) test_nvol_flag(nv, CaseSensitive) argument 132 #define NVolSetCaseSensitive(nv) set_nvol_flag(nv, CaseSensitive) argument 133 #define NVolClearCaseSensitive(nv) clear_nvol_flag(nv, CaseSensitive) argument 135 #define NVolLogFileEmpty(nv) test_nvol_flag(nv, LogFileEmpty) argument [all …]
|
/third_party/nghttp2/lib/ |
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->value->len)) { in http_request_on_header() 132 switch (nv->value->base[6]) { in http_request_on_header() [all …]
|
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.value); in nghttp2_hd_entry_init() 502 nghttp2_rcbuf_decref(ent->nv.value); in nghttp2_hd_entry_free() [all …]
|
/third_party/node/deps/nghttp2/lib/ |
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->value->len)) { in http_request_on_header() 132 switch (nv->value->base[6]) { in http_request_on_header() [all …]
|
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.value); in nghttp2_hd_entry_init() 502 nghttp2_rcbuf_decref(ent->nv.value); in nghttp2_hd_entry_free() [all …]
|
/third_party/mesa3d/src/gallium/drivers/nouveau/ |
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, struct nouveau_transfer *tx, in nouveau_transfer_write() argument 222 NOUVEAU_DRV_STAT(nv->screen, buf_write_bytes_staging_vid, size); in nouveau_transfer_write() [all …]
|
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->stats.buf_cache_frame |= 1; in nouveau_context_update_frame_stats() 112 if ((nv->stats.buf_cache_frame & 0xf) == 0xf) in nouveau_context_update_frame_stats() [all …]
|
/third_party/node/deps/ngtcp2/nghttp3/lib/ |
D | nghttp3_http.c | 82 const nghttp3_qpack_nv *nv, uint32_t flag) { in check_pseudo_header() argument 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() argument 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->value->len)) { in http_request_on_header() 853 switch (nv->value->base[6]) { in http_request_on_header() [all …]
|
D | nghttp3_qpack.c | 792 const nghttp3_nv *nv, int32_t token, in encoder_qpack_map_find() argument 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.value->len); in nghttp3_qpack_encoder_shrink_dtable() 1291 const nghttp3_nv *nv, int32_t token) { in qpack_encoder_decide_indexing_mode() argument 1292 if (nv->flags & NGHTTP3_NV_FLAG_NEVER_INDEX) { in qpack_encoder_decide_indexing_mode() 1300 if (nv->valuelen < 20) { in qpack_encoder_decide_indexing_mode() 1325 if (table_space(nv->namelen, nv->valuelen) > in qpack_encoder_decide_indexing_mode() [all …]
|
D | nghttp3_qpack.h | 70 nghttp3_qpack_nv nv; member 295 const nghttp3_nv *nv, uint64_t base, 316 nghttp3_qpack_lookup_stable(const nghttp3_nv *nv, int32_t token, 328 nghttp3_qpack_encoder *encoder, const nghttp3_nv *nv, int32_t token, 390 const nghttp3_nv *nv); 406 uint64_t base, const nghttp3_nv *nv); 420 const nghttp3_nv *nv); 436 const nghttp3_nv *nv); 452 const nghttp3_nv *nv); 481 const nghttp3_nv *nv); [all …]
|
/third_party/skia/third_party/externals/microhttpd/src/examples/ |
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[5] = (char *)version; in http_cb_request() 276 spdy_headers.nv[6] = ":scheme"; spdy_headers.nv[7] = proxy->uri->scheme; in http_cb_request() 277 spdy_headers.nv[8] = ":host"; spdy_headers.nv[9] = NULL; in http_cb_request() 285 spdy_headers.nv[spdy_headers.cnt] = NULL; in http_cb_request() [all …]
|
/third_party/nghttp2/src/ |
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->namelen); in dump_inflate_header_table() 79 dump_val(outent, "value", nv->value, nv->valuelen); in dump_inflate_header_table() 81 json_integer((json_int_t)(nv->namelen + nv->valuelen + in dump_inflate_header_table()
|
/third_party/skia/third_party/externals/microhttpd/src/testspdy/ |
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[i+1]); in on_ctrl_send_callback() 336 char **nv; in on_ctrl_recv_callback() local 342 nv = frame->syn_reply.nv; in on_ctrl_recv_callback() [all …]
|
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[i+1]); in on_ctrl_send_callback() 339 char **nv; in on_ctrl_recv_callback() local 345 nv = frame->syn_reply.nv; in on_ctrl_recv_callback() [all …]
|
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[i+1]); in on_ctrl_send_callback() 321 char **nv; in on_ctrl_recv_callback() local 327 nv = frame->syn_reply.nv; in on_ctrl_recv_callback() [all …]
|
/third_party/skia/samplecode/ |
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() [all …]
|
/third_party/nghttp2/tests/ |
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->name, nv->namelen); in add_out() 144 if (nv->valuelen) { in add_out() 145 onv->value = mem->malloc(nv->valuelen, NULL); in add_out() [all …]
|
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() [all …]
|
/third_party/nghttp2/fuzz/ |
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->value); in fuzz_free_nv()
|
/third_party/curl/src/ |
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->name; nv++) { in tool_setopt_bitmask() 320 if((nv->value & ~ rest) == 0) { in tool_setopt_bitmask() 322 rest &= ~ nv->value; /* remove bits handled here */ in tool_setopt_bitmask() 324 preamble, nv->name, rest ? " |" : ");"); in tool_setopt_bitmask() [all …]
|
/third_party/ntfs-3g/ntfsprogs/ |
D | ntfswipe.c | 1713 static int destroy_record(ntfs_volume *nv, const s64 record, in destroy_record() argument 1736 file->mft = (MFT_RECORD*)malloc(nv->mft_record_size); in destroy_record() 1742 mft = ntfs_attr_open(nv->mft_ni, AT_DATA, AT_UNNAMED, 0); in destroy_record() 1749 NVolSetNoFixupWarn(nv); in destroy_record() 1751 if (ntfs_attr_mst_pread(mft, nv->mft_record_size * record, 1LL, in destroy_record() 1752 nv->mft_record_size, file->mft) < 1) { in destroy_record() 1754 NVolClearNoFixupWarn(nv); in destroy_record() 1759 NVolClearNoFixupWarn(nv); in destroy_record() 1790 if (ntfs_mft_records_write(nv, in destroy_record() 1801 nv->dev->d_ops->sync(nv->dev); in destroy_record() [all …]
|