Searched refs:contents_size (Results 1 – 8 of 8) sorted by relevance
/third_party/grpc/src/core/lib/iomgr/ |
D | load_file.cc | 36 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/ |
D | extension_function_details.cc | 428 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/ |
D | v3dv_pipeline_cache.c | 526 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/ |
D | dlmalloc.c | 4012 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/ |
D | SDL_malloc.c | 4057 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/ |
D | dlmalloc_2_8_6.c | 4973 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/ |
D | resource_manager_unittest.cc | 38 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/ |
D | browser_window_osr_mac.mm | 1082 size_t contents_size = current_drag_data_->GetFileContents(nullptr); 1086 if (contents_size > 0) {
|