Home
last modified time | relevance | path

Searched refs:contents_size (Results 1 – 8 of 8) sorted by relevance

/third_party/grpc/src/core/lib/iomgr/
Dload_file.cc36 size_t contents_size = 0; in grpc_load_file() local
50 contents_size = static_cast<size_t>(ftell(file)); in grpc_load_file()
53 gpr_malloc(contents_size + (add_null_terminator ? 1 : 0))); in grpc_load_file()
54 bytes_read = fread(contents, 1, contents_size, file); in grpc_load_file()
55 if (bytes_read < contents_size) { in grpc_load_file()
62 contents[contents_size++] = 0; in grpc_load_file()
64 result = grpc_slice_new(contents, contents_size, gpr_free); in grpc_load_file()
/third_party/cef/libcef/browser/extensions/
Dextension_function_details.cc428 gfx::Size contents_size = contents->GetContainerBounds().size(); in CreateTabObject() local
429 tab_object->width = std::make_unique<int>(contents_size.width()); in CreateTabObject()
430 tab_object->height = std::make_unique<int>(contents_size.height()); in CreateTabObject()
/third_party/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline_cache.c526 uint32_t contents_size = sizeof(enum quniform_contents) * ulist_count; in shader_variant_create_from_blob() local
527 const void *contents_data = blob_read_bytes(blob, contents_size); in shader_variant_create_from_blob()
549 memcpy(ulist->contents, contents_data, contents_size); in shader_variant_create_from_blob()
/third_party/libffi/src/
Ddlmalloc.c4012 size_t contents_size; /* total size of elements */ in ialloc() local
4041 contents_size = n_elements * element_size; in ialloc()
4045 contents_size = 0; in ialloc()
4047 contents_size += request2size(sizes[i]); in ialloc()
4050 size = contents_size + array_size; in ialloc()
4078 array_chunk = chunk_plus_offset(p, contents_size); in ialloc()
4079 array_chunk_size = remainder_size - contents_size; in ialloc()
4082 remainder_size = contents_size; in ialloc()
/third_party/flutter/skia/third_party/externals/sdl/src/stdlib/
DSDL_malloc.c4057 size_t contents_size; /* total size of elements */ in ialloc() local
4085 contents_size = n_elements * element_size; in ialloc()
4088 contents_size = 0; in ialloc()
4090 contents_size += request2size(sizes[i]); in ialloc()
4093 size = contents_size + array_size; in ialloc()
4122 array_chunk = chunk_plus_offset(p, contents_size); in ialloc()
4123 array_chunk_size = remainder_size - contents_size; in ialloc()
4126 remainder_size = contents_size; in ialloc()
/third_party/boost/libs/container/src/
Ddlmalloc_2_8_6.c4973 size_t contents_size; /* total size of elements */ in ialloc() local
5003 contents_size = n_elements * element_size; in ialloc()
5007 contents_size = 0; in ialloc()
5009 contents_size += request2size(sizes[i]); in ialloc()
5012 size = contents_size + array_size; in ialloc()
5040 array_chunk = chunk_plus_offset(p, contents_size); in ialloc()
5041 array_chunk_size = remainder_size - contents_size; in ialloc()
5044 remainder_size = contents_size; in ialloc()
/third_party/cef/tests/ceftests/
Dresource_manager_unittest.cc38 int contents_size = static_cast<int>(contents.size()); in WriteFile() local
40 client::file_util::WriteFile(path, contents.data(), contents_size); in WriteFile()
41 EXPECT_EQ(contents_size, write_ct); in WriteFile()
/third_party/cef/tests/cefclient/browser/
Dbrowser_window_osr_mac.mm1082 size_t contents_size = current_drag_data_->GetFileContents(nullptr);
1086 if (contents_size > 0) {