Home
last modified time | relevance | path

Searched refs:is_write (Results 1 – 10 of 10) sorted by relevance

/third_party/libxml2/python/
Dtypes.c94 BOOL is_write = FALSE; in libxml_PyFileGet() local
129 is_write = TRUE; in libxml_PyFileGet()
133 if (is_write && is_read) in libxml_PyFileGet()
139 if (!is_write && is_read) in libxml_PyFileGet()
145 if (is_write && !is_read) in libxml_PyFileGet()
154 …if (!is_write && !is_read) /* also happens if we did not load or run NtQueryInformationFile() succ… in libxml_PyFileGet()
/third_party/f2fs-tools/lib/
Dlibf2fs_io.c314 size_t byte_count, bool is_write) in dcache_update_rw() argument
335 if (!is_write) in dcache_update_rw()
340 if (is_write) /* write: update cache */ in dcache_update_rw()
347 if (!is_write) { in dcache_update_rw()
361 if (!is_write) in dcache_update_rw()
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_job.c284 bool is_depth, bool is_write) in vc4_submit_setup_rcl_surface() argument
314 assert(!is_write); in vc4_submit_setup_rcl_surface()
318 if (is_write) in vc4_submit_setup_rcl_surface()
/third_party/FreeBSD/sys/dev/usb/
Dusb_dev.h81 uint8_t is_write; /* location has write access */ member
Dusb_dev.c184 crd->is_write = 1; /* ref */ in usb_ref_device()
215 if (crd->is_write) { in usb_ref_device()
296 if (crd->is_write) { in usb_unref_device()
300 crd->is_write = 0; in usb_unref_device()
/third_party/mesa3d/src/panfrost/midgard/
Ddisassemble.c173 print_alu_reg(disassemble_context *ctx, FILE *fp, unsigned reg, bool is_write) in print_alu_reg() argument
199 fprintf(fp, "%s%u", is_write ? "AT" : "TA", reg - REGISTER_TEXTURE_BASE); in print_alu_reg()
204 else if (reg == 31 && !is_write) in print_alu_reg()
263 print_tex_reg(FILE *fp, unsigned reg, bool is_write) in print_tex_reg() argument
265 char *str = is_write ? "TA" : "AT"; in print_tex_reg()
/third_party/skia/third_party/externals/tint/src/reader/spirv/
Dparser_impl_handle_test.cc1094 const bool is_write = GetParam().inst.find("ImageWrite") != std::string::npos; in TEST_P() local
1097 std::string(is_write ? "NonReadable" in TEST_P()
1127 const bool is_write = GetParam().inst.find("ImageWrite") != std::string::npos; in TEST_P() local
1130 std::string(is_write ? "NonReadable" in TEST_P()
/third_party/mesa3d/src/compiler/nir/
Dnir_deref.c1247 bool is_write) in is_vector_bitcast_deref() argument
1284 if (is_write && !nir_component_mask_can_reinterpret(mask, cast_bit_size, in is_vector_bitcast_deref()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_context.c2593 … bool is_write = zink_resource_access_is_write(get_access_flags_for_binding(ctx, i, stage, j)); in update_resource_refs_for_stage() local
2594 zink_batch_resource_usage_set(batch, res, is_write); in update_resource_refs_for_stage()
2595 if (is_write) in update_resource_refs_for_stage()
3181 unordered_res_exec(const struct zink_context *ctx, const struct zink_resource *res, bool is_write) in unordered_res_exec() argument
3187 …if (is_write && zink_batch_usage_matches(res->obj->bo->reads, ctx->batch.state) && !res->obj->unor… in unordered_res_exec()
3250 bool is_write = zink_resource_access_is_write(imb.dstAccessMask); in zink_resource_image_barrier() local
3251 …VkCommandBuffer cmdbuf = is_write ? zink_get_cmdbuf(ctx, NULL, res) : zink_get_cmdbuf(ctx, res, NU… in zink_resource_image_barrier()
3348 bool is_write = zink_resource_access_is_write(flags); in zink_resource_buffer_barrier() local
3349 …VkCommandBuffer cmdbuf = is_write ? zink_get_cmdbuf(ctx, NULL, res) : zink_get_cmdbuf(ctx, res, NU… in zink_resource_buffer_barrier()
/third_party/mesa3d/src/broadcom/compiler/
Dnir_to_vir.c79 v3d_tmu_get_type_from_op(uint32_t tmu_op, bool is_write) in v3d_tmu_get_type_from_op() argument
87 return is_write ? V3D_TMU_OP_TYPE_ATOMIC : V3D_TMU_OP_TYPE_CACHE; in v3d_tmu_get_type_from_op()
91 assert(is_write); in v3d_tmu_get_type_from_op()