/third_party/skia/src/gpu/vk/ |
H A D | GrVkMemory.cpp | 49 size_t size) { 74 alloc->fBytes = size; 75 gpu->addAllocBufferBytes(size); 120 allocateInfo.allocationSize = memReqs.size; 139 alloc->fSize = memReqs.size; 183 // memory we can add a size check here to force the use of dedicate memory. However for now, 268 VkDeviceSize size, VkDeviceSize alignment, 274 size = (size + alignment - 1) & ~(alignment - 1); 277 SkASSERT(offset + size < 44 AllocAndBindBufferMemory(GrVkGpu* gpu, VkBuffer buffer, BufferUsage usage, GrVkAlloc* alloc, size_t size) global() argument 267 GetNonCoherentMappedMemoryRange(const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size, VkDeviceSize alignment, VkMappedMemoryRange* range) global() argument 290 FlushMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size) global() argument 305 InvalidateMappedAlloc(GrVkGpu* gpu, const GrVkAlloc& alloc, VkDeviceSize offset, VkDeviceSize size) global() argument [all...] |
H A D | GrVkBuffer.cpp | 36 this->setRealAllocSize(sizeInBytes); // OH ISSUE: set real alloc size in GrVkBuffer() 40 static const GrVkDescriptorSet* make_uniform_desc_set(GrVkGpu* gpu, VkBuffer buffer, size_t size) { in make_uniform_desc_set() argument 50 bufferInfo.range = size; in make_uniform_desc_set() 71 size_t size, 93 bufInfo.size = size; 139 if (!GrVkMemory::AllocAndBindBufferMemory(gpu, buffer, allocUsage, &alloc, size)) { 150 uniformDescSet = make_uniform_desc_set(gpu, buffer, size); 157 return sk_sp<GrVkBuffer>(new GrVkBuffer(gpu, size, bufferType, accessPattern, buffer, alloc, 176 bufInfo.size 70 Make(GrVkGpu* gpu, size_t size, GrGpuBufferType bufferType, GrAccessPattern accessPattern) global() argument 230 vkMap(size_t size) global() argument 247 vkUnmap(size_t size) global() argument 271 copyCpuDataToGpuBuffer(const void* src, size_t size) global() argument 282 gpu->updateBuffer(sk_ref_sp(this), src, /*offset=*/0, size); global() local 292 /*dstOffset=*/0, size); global() local [all...] |
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | BufferVk.cpp | 141 // vkCmdFillBuffer requires the size to be a multiple of 4. in Initialize() 147 // is equal to the whole buffer size. Allocate at least one more byte so it in Initialize() 149 // of the buffer with (offset=buffer.size, size=0). in Initialize() 153 uint64_t size = GetSize(); in Initialize() local 154 if (size > std::numeric_limits<uint64_t>::max() - extraBytes) { in Initialize() 158 size += extraBytes; in Initialize() 161 // Also, Vulkan requires the size to be non-zero. in Initialize() 162 size = std::max(size, uint64_ in Initialize() 305 MapAsyncImpl(wgpu::MapMode mode, size_t offset, size_t size) MapAsyncImpl() argument 352 EnsureDataInitializedAsDestination(CommandRecordingContext* recordingContext, uint64_t offset, uint64_t size) EnsureDataInitializedAsDestination() argument 396 ClearBuffer(CommandRecordingContext* recordingContext, uint32_t clearValue, uint64_t offset, uint64_t size) ClearBuffer() argument [all...] |
/third_party/skia/tools/ |
H A D | remote_demo.cpp | 70 size_t size = data.size(); in write_SkData() local 71 ssize_t bytesWritten = ::write(fd, &size, sizeof(size)); in write_SkData() 73 err(1,"Failed write %zu", size); in write_SkData() 77 bytesWritten = ::write(fd, data.data(), data.size()); in write_SkData() 79 err(1,"Failed write %zu", size); in write_SkData() 87 size_t size; in read_SkData() local 88 ssize_t readSize = ::read(fd, &size, sizeof(size)); in read_SkData() [all...] |
/third_party/protobuf/src/google/protobuf/io/ |
H A D | zero_copy_stream_impl.cc | 90 bool FileInputStream::Next(const void** data, int* size) { in Next() argument 91 return impl_.Next(data, size); in Next() 131 int FileInputStream::CopyingFileInputStream::Read(void* buffer, int size) { in Read() argument 136 result = read(file_, buffer, size); in Read() 179 bool FileOutputStream::Next(void** data, int* size) { in Next() argument 180 return impl_.Next(data, size); in Next() 218 int size) { in Write() 224 while (total_written < size) { in Write() 227 bytes = write(file_, buffer_base + total_written, size - total_written); in Write() 257 bool IstreamInputStream::Next(const void** data, int* size) { in Next() argument 217 Write(const void* buffer, int size) Write() argument 273 Read(void* buffer, int size) Read() argument 275 input_->read(reinterpret_cast<char*>(buffer), size); Read() local 290 Next(void** data, int* size) Next() argument 305 Write(const void* buffer, int size) Write() argument 307 output_->write(reinterpret_cast<const char*>(buffer), size); Write() local 318 Next(const void** data, int* size) Next() argument [all...] |
/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | stringpiece.h | 157 // StringPiece has *two* size types. 186 static stringpiece_ssize_type CheckedSsizeTFromSizeT(size_t size) { in CheckedSsizeTFromSizeT() argument 191 if (size > static_cast<size_t>( in CheckedSsizeTFromSizeT() 195 LogFatalSizeTooBig(size, "size_t to int conversion"); in CheckedSsizeTFromSizeT() 198 return static_cast<stringpiece_ssize_type>(size); in CheckedSsizeTFromSizeT() 202 static void LogFatalSizeTooBig(size_t size, const char* details); 224 length_ = CheckedSsizeTFromSizeT(str.size()); in StringPiece() 247 stringpiece_ssize_type size() const { return length_; } in size() function in google::protobuf::StringPiece 312 return std::string(data(), static_cast<size_type>(size())); 394 stringpiece_ssize_type len = x.size(); in operator ==() [all...] |
/third_party/skia/experimental/sktext/editor/ |
H A D | Texts.h | 27 StaticText(std::u16string text, SkPoint offset, SkSize size, SkSpan<FontBlock> fontBlocks, TextDirection textDirection, TextAlign textAlign) { in StaticText() argument 29 fSize = size; in StaticText() 34 fUnicodeText = std::make_unique<UnicodeText>(std::move(unicode), SkSpan<uint16_t>((uint16_t*)fText.data(), fText.size())); in StaticText() 37 fWrappedText = fShapedText->wrap(fUnicodeText.get(), size.width(), size.height()); in StaticText() 59 SkPoint offset, SkSize size, in DynamicText() 64 fRequiredSize = size; in DynamicText() 72 fUnicodeText = std::make_unique<UnicodeText>(std::move(unicode), SkSpan<uint16_t>((uint16_t*)fText.data(), fText.size())); in DynamicText() 75 fWrappedText = fShapedText->wrap(fUnicodeText.get(), size.width(), size in DynamicText() 58 DynamicText(std::u16string text, SkPoint offset, SkSize size, SkSpan<FontBlock> fontBlocks, SkSpan<DecoratedBlock> decorations, TextDirection textDirection, TextAlign textAlign) DynamicText() argument 142 EditableText(std::u16string text, SkPoint offset, SkSize size, SkSpan<FontBlock> fontBlocks, SkSpan<DecoratedBlock> decorations, TextDirection textDirection, TextAlign textAlign) EditableText() argument [all...] |
/third_party/vk-gl-cts/framework/delibs/decpp/ |
H A D | dePoolArray.cpp | 49 DE_TEST_ASSERT(arr.size() == 5000); in intArrayTest() 50 DE_TEST_ASSERT(arr16.size() == 5000); in intArrayTest() 64 DE_TEST_ASSERT(arr.size() == 4000); in intArrayTest() 65 DE_TEST_ASSERT(arr16.size() == 4000); in intArrayTest() 81 DE_TEST_ASSERT(arr.size() == 5000); in intArrayTest() 82 DE_TEST_ASSERT(arr16.size() == 5000); in intArrayTest() 98 DE_TEST_ASSERT(arr2.size() == 5000); in intArrayTest() 123 DE_TEST_ASSERT(arr.size() == 5000); in alignedIntArrayTest() 124 DE_TEST_ASSERT(arr16.size() == 5000); in alignedIntArrayTest() 138 DE_TEST_ASSERT(arr.size() in alignedIntArrayTest() [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | gif.c | 57 static int gif_parse_packet(AVFormatContext *s, const uint8_t *data, int size) in gif_parse_packet() argument 62 bytestream2_init(&gb, data, size); in gif_parse_packet() 108 if (pkt->size > 0) in gif_write_packet() 109 gif->have_end = pkt->data[pkt->size - 1] == GIF_TRAILER; in gif_write_packet() 115 if (pkt->size < 13) in gif_write_packet() 121 if (pkt->size < off + 2) in gif_write_packet() 129 if (pkt->size <= off) in gif_write_packet() 144 delay_pos = gif_parse_packet(s, pkt->data + off, pkt->size - off); in gif_write_packet() 145 if (delay_pos > 0 && delay_pos < pkt->size - off - 2) { in gif_write_packet() 148 avio_write(pb, pkt->data + off + delay_pos + 2, pkt->size in gif_write_packet() [all...] |
H A D | 4xm.c | 61 size = avio_rl32(pb); \ 96 FourxmDemuxContext *fourxm, uint8_t *buf, int size, in parse_vtrk() 101 if (size != vtrk_SIZE || left < size + 8) { in parse_vtrk() 130 FourxmDemuxContext *fourxm, uint8_t *buf, int size, in parse_strk() 136 if (size != strk_SIZE || left < size + 8) in parse_strk() 216 unsigned int size; in fourxm_read_header() local 232 header_size = size - 4; in fourxm_read_header() 248 size in fourxm_read_header() 95 parse_vtrk(AVFormatContext *s, FourxmDemuxContext *fourxm, uint8_t *buf, int size, int left) parse_vtrk() argument 129 parse_strk(AVFormatContext *s, FourxmDemuxContext *fourxm, uint8_t *buf, int size, int left) parse_strk() argument 300 unsigned int size; fourxm_read_packet() local [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | inet_net_pton.c | 43 * inet_net_pton_ipv4(src, dst, size) 46 * "size" is in bytes and describes "dst". 63 size_t size) in ares_inet_net_pton_ipv4() 78 if (!size) { in ares_inet_net_pton_ipv4() 94 if (!size--) { in ares_inet_net_pton_ipv4() 102 if (!size--) { in ares_inet_net_pton_ipv4() 119 if (!size--) { in ares_inet_net_pton_ipv4() 192 if (!size--) { in ares_inet_net_pton_ipv4() 353 size_t size) in ares_inet_net_pton_ipv6() 388 if (bytes > size) { in ares_inet_net_pton_ipv6() 62 ares_inet_net_pton_ipv4(const char *src, unsigned char *dst, size_t size) ares_inet_net_pton_ipv4() argument 352 ares_inet_net_pton_ipv6(const char *src, unsigned char *dst, size_t size) ares_inet_net_pton_ipv6() argument 414 ares_inet_net_pton(int af, const char *src, void *dst, size_t size) ares_inet_net_pton() argument 430 size_t size; ares_inet_pton() local [all...] |
/third_party/node/deps/npm/node_modules/cacache/lib/content/ |
H A D | write.js | 22 const { algorithms, size, integrity } = opts 24 if (typeof size === 'number' && data.length !== size) { 25 throw sizeError(size, data.length) 45 return { integrity: sri, size: data.length } 89 res.size !== null && this.emit('size', res.size) 127 const [integrity, size] = await Promise.all([ 129 events.once(opts.integrityEmitter, 'size') [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_vec4_surface_builder.cpp | 35 emit_stride(const vec4_builder &bld, const src_reg &src, unsigned size, in emit_stride() argument 42 DIV_ROUND_UP(size * dst_stride, 4)); in emit_stride() 44 for (unsigned i = 0; i < size; ++i) in emit_stride() 140 * of components of the address and \p size the number of components of 146 unsigned dims, unsigned size, in emit_untyped_read() 152 surface, size, 1, pred); in emit_untyped_read() 157 * of components of the address and \p size the number of components of 163 unsigned dims, unsigned size, in emit_untyped_write() 170 emit_insert(bld, src, size, has_simd4x2), in emit_untyped_write() 171 has_simd4x2 ? 1 : size, in emit_untyped_write() 144 emit_untyped_read(const vec4_builder &bld, const src_reg &surface, const src_reg &addr, unsigned dims, unsigned size, brw_predicate pred) emit_untyped_read() argument 161 emit_untyped_write(const vec4_builder &bld, const src_reg &surface, const src_reg &addr, const src_reg &src, unsigned dims, unsigned size, brw_predicate pred) emit_untyped_write() argument 192 const unsigned size = (src0.file != BAD_FILE) + (src1.file != BAD_FILE); emit_untyped_atomic() local [all...] |
/third_party/mesa3d/src/util/ |
H A D | os_misc.c | 219 * Return the size of the total physical memory. 220 * \param size returns the size of the total physical memory 224 os_get_total_physical_memory(uint64_t *size) in os_get_total_physical_memory() argument 233 *size = (uint64_t)phys_pages * (uint64_t)page_size; in os_get_total_physical_memory() 236 size_t len = sizeof(*size); in os_get_total_physical_memory() 252 return (sysctl(mib, 2, size, &len, NULL, 0) == 0); in os_get_total_physical_memory() 261 *size = (uint64_t)info.max_pages * (uint64_t)B_PAGE_SIZE; in os_get_total_physical_memory() 269 *size = status.ullTotalPhys; in os_get_total_physical_memory() 278 os_get_available_system_memory(uint64_t *size) in os_get_available_system_memory() argument 331 os_get_page_size(uint64_t *size) os_get_page_size() argument [all...] |
/third_party/ltp/testcases/kernel/syscalls/fallocate/ |
H A D | fallocate06.c | 105 tst_brk(TCONF, "Block size %ld too small for test", blocksize); in setup() 173 long offset, size; in run() local 186 size = WRITE_BLOCKS * blocksize; in run() 187 SAFE_WRITE(SAFE_WRITE_ALL, fd, wbuf, size); in run() 190 offset = size + block_offset; in run() 191 size = FALLOCATE_BLOCKS * blocksize; in run() 192 TEST(fallocate(fd, 0, offset, size)); in run() 201 size); in run() 208 TEST(write(fd, wbuf, size)); in run() 209 if (check_result(tc, "write()", size)) in run() [all...] |
/third_party/lz4/contrib/gen_manual/ |
H A D | gen_manual.cpp | 71 while ((size_t)linenum < input.size()) { in get_lines() 139 for (linenum=0; (size_t)linenum < input.size(); linenum++) { in main() 146 for (l=0; l<lines.size(); l++) { in main() 180 comments[comments.size()-1] = comments[comments.size()-1].substr(0, comments[comments.size()-1].find("*/")); in main() 181 for (l=0; l<comments.size(); l++) { in main() 188 while (!comments.empty() && comments[comments.size()-1].empty()) comments.pop_back(); // remove empty line at the end in main() 198 for (l=0; l<lines.size(); l++) { in main() 202 for (l=0; l<comments.size(); in main() [all...] |
/third_party/skia/src/core/ |
H A D | SkReadBuffer.h | 39 SkReadBuffer(const void* data, size_t size) { in SkReadBuffer() argument 40 this->setMemory(data, size); in SkReadBuffer() 61 size_t size() const { return fStop - fBase; } in size() function in SkReadBuffer 64 const void* skip(size_t size); 65 const void* skip(size_t count, size_t size); // does safe multiply 133 bool readByteArray(void* value, size_t size); 134 bool readColorArray(SkColor* colors, size_t size); 135 bool readColor4fArray(SkColor4f* colors, size_t size); 136 bool readIntArray(int32_t* values, size_t size); 137 bool readPointArray(SkPoint* points, size_t size); [all...] |
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/truetype/ |
H A D | LocaTable.java | 63 * calculate the size of the last glyph. 92 * the size of the final glyph. 102 * raw values from the table that are used to compute the offset and size of a 114 return 2 * this.data.readUShort(index * FontData.DataSize.USHORT.size()); in loca() 116 return this.data.readULongAsInt(index * FontData.DataSize.ULONG.size()); in loca() 232 return this.loca != null ? this.loca.size() - 2 : this.numGlyphs - 1; in lastGlyphIndex() 311 * calculate the size of the last glyph. 374 * indicate the size of the final glyph. 379 return this.getLocaList().size(); in numLocas() 384 * raw values from the table that are used to compute the offset and size o [all...] |
/third_party/skia/third_party/externals/freetype/builds/windows/ |
H A D | ftsystem.c | 61 * size :: 62 * The requested size in bytes. 69 long size ) in ft_alloc() 71 return HeapAlloc( memory->user, 0, size ); in ft_alloc() 88 * The current size of the allocated memory block. 91 * The newly requested size in bytes. 172 stream->size = 0; in ft_close_stream_by_munmap() 194 stream->size = 0; in ft_close_stream_by_free() 262 LARGE_INTEGER size; in FT_BASE_DEF() local 278 if ( GetFileSizeEx( file, &size ) in FT_BASE_DEF() [all...] |
/third_party/node/deps/v8/src/base/platform/ |
H A D | platform-win32.cc | 604 static_assert(sizeof(wchar_t) == 2, "wrong wchar_t size"); in ConvertUtf8StringToUtf16() 868 void* VirtualAllocWrapper(void* address, size_t size, DWORD flags, in VirtualAllocWrapper() argument 871 return VirtualAlloc2(nullptr, address, size, flags, protect, NULL, 0); in VirtualAllocWrapper() 873 return VirtualAlloc(address, size, flags, protect); in VirtualAllocWrapper() 877 uint8_t* VirtualAllocWithHint(size_t size, DWORD flags, DWORD protect, in VirtualAllocWithHint() argument 879 LPVOID base = VirtualAllocWrapper(hint, size, flags, protect); in VirtualAllocWithHint() 883 base = VirtualAllocWrapper(nullptr, size, flags, protect); in VirtualAllocWithHint() 889 void* AllocateInternal(void* hint, size_t size, size_t alignment, in AllocateInternal() argument 891 // First, try an exact size aligned allocation. in AllocateInternal() 892 uint8_t* base = VirtualAllocWithHint(size, flag in AllocateInternal() 933 Allocate(void* hint, size_t size, size_t alignment, MemoryPermission access) Allocate() argument 950 Free(void* address, size_t size) Free() argument 958 AllocateShared(void* hint, size_t size, MemoryPermission permission, PlatformSharedMemoryHandle handle, uint64_t offset) AllocateShared() argument 981 FreeShared(void* address, size_t size) FreeShared() argument 986 Release(void* address, size_t size) Release() argument 993 SetPermissions(void* address, size_t size, MemoryPermission access) SetPermissions() argument 1004 DiscardSystemPages(void* address, size_t size) DiscardSystemPages() argument 1031 DecommitPages(void* address, size_t size) DecommitPages() argument 1052 CreateAddressSpaceReservation( void* hint, size_t size, size_t alignment, MemoryPermission max_permission) CreateAddressSpaceReservation() argument 1078 CreateSharedMemoryHandleForTesting(size_t size) CreateSharedMemoryHandleForTesting() argument 1138 Win32MemoryMappedFile(HANDLE file, HANDLE file_mapping, void* memory, size_t size) Win32MemoryMappedFile() argument 1189 create(const char* name, size_t size, void* initial) create() argument 1215 CreateSubReservation( void* address, size_t size, OS::MemoryPermission max_permission) CreateSubReservation() argument 1232 SplitPlaceholder(void* address, size_t size) SplitPlaceholder() argument 1237 MergePlaceholders(void* address, size_t size) MergePlaceholders() argument 1242 Allocate(void* address, size_t size, OS::MemoryPermission access) Allocate() argument 1253 Free(void* address, size_t size) Free() argument 1258 AllocateShared(void* address, size_t size, OS::MemoryPermission access, PlatformSharedMemoryHandle handle, uint64_t offset) AllocateShared() argument 1271 FreeShared(void* address, size_t size) FreeShared() argument 1278 SetPermissions(void* address, size_t size, OS::MemoryPermission access) SetPermissions() argument 1284 DiscardSystemPages(void* address, size_t size) DiscardSystemPages() argument 1289 DecommitPages(void* address, size_t size) DecommitPages() argument [all...] |
/drivers/hdf_core/adapter/khdf/liteos/network/src/ |
H A D | netbuf_adapter.c | 55 q->size = 0; in NetBufQueueInit() 59 * @brief Obtains the size of a network data buffer queue. 63 * @return Returns the size of the network data buffer queue. 73 return q->size; in NetBufQueueSize() 122 q->size++; in NetBufQueueEnqueue() 142 q->size++; in NetBufQueueEnqueueHead() 165 q->size--; in NetBufQueueDequeue() 191 q->size--; in NetBufQueueDequeueTail() 270 q->size += add->size; in NetBufQueueConcat() 281 NetBufAlloc(uint32_t size) NetBufAlloc() argument 544 uint32_t size; NetBufResizeRoom() local [all...] |
/third_party/ffmpeg/tools/ |
H A D | qt-faststart.c | 107 uint64_t size; member 129 uint64_t size, in parse_atoms() 134 unsigned char *end = pos + size; in parse_atoms() 139 atom.size = BE_32(pos); in parse_atoms() 144 switch (atom.size) { in parse_atoms() 147 fprintf(stderr, "not enough room for 64 bit atom size\n"); in parse_atoms() 151 atom.size = BE_64(pos); in parse_atoms() 157 atom.size = ATOM_PREAMBLE_SIZE + end - pos; in parse_atoms() 161 if (atom.size < atom.header_size) { in parse_atoms() 162 fprintf(stderr, "atom size in parse_atoms() 127 parse_atoms( unsigned char *buf, uint64_t size, parse_atoms_callback_t callback, void *context) parse_atoms() argument 286 set_atom_size(unsigned char *header, uint32_t header_size, uint64_t size) set_atom_size() argument [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
H A D | containers_test.cpp | 28 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 66 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 72 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 78 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 84 ASSERT_EQ(vector.size(), size_t(1)); in TEST_F() 90 ASSERT_EQ(vector.size(), size_t(0)); in TEST_F() 100 ASSERT_EQ(vector.size(), size_t(4)); in TEST_F() 106 ASSERT_EQ(vector.size(), size_t(3)); in TEST_F() 112 ASSERT_EQ(vector.size(), size_t(2)); in TEST_F() 118 ASSERT_EQ(vector.size(), size_ in TEST_F() [all...] |
/third_party/ffmpeg/libavcodec/aarch64/ |
H A D | vp9mc_neon.S | 163 // for size >= 16), and multiply-accumulate into dst1 and dst3 (or 164 // dst1-dst2 and dst3-dst4 for size >= 16) 165 .macro extmla dst1, dst2, dst3, dst4, src1, src2, src3, src4, src5, src6, offset, size 168 .if \size >= 16 175 .elseif \size == 8 185 .macro extmulqadd dst1, dst2, dst3, dst4, src1, src2, src3, src4, src5, src6, offset, size 188 .if \size >= 16 195 .elseif \size == 8 202 .if \size == 4 208 .if \size > [all...] |
/third_party/backends/backend/ |
H A D | pieusb_scancmd.c | 64 static void _prep_scsi_cmd(SANE_Byte* command_bytes, SANE_Byte command, SANE_Word size); 172 * Copy an unsigned short array of given size 254 SANE_Int size = DATA_SIZE; in sanei_pieusb_cmd_get_sense() local 261 _prep_scsi_cmd(command, SCSI_REQUEST_SENSE, size); in sanei_pieusb_cmd_get_sense() 263 memset(data, '\0', size); in sanei_pieusb_cmd_get_sense() 264 st = sanei_pieusb_command(device_number, command, data, size); in sanei_pieusb_cmd_get_sense() 309 #define FRAME_SIZE 256 /* Assumed maximum frame size */ in sanei_pieusb_cmd_get_scan_frame() 310 SANE_Int size = FRAME_SIZE; in sanei_pieusb_cmd_get_scan_frame() local 330 _prep_scsi_cmd (command, SCSI_READ, size); in sanei_pieusb_cmd_get_scan_frame() 332 memset(data, '\0', size); in sanei_pieusb_cmd_get_scan_frame() 391 SANE_Int size = SHADING_SIZE; sanei_pieusb_cmd_get_shading_parms() local 458 sanei_pieusb_cmd_get_scanned_lines(SANE_Int device_number, SANE_Byte* data, SANE_Int lines, SANE_Int size, struct Pieusb_Command_Status *status) sanei_pieusb_cmd_get_scanned_lines() argument 485 SANE_Int size = FRAME_SIZE; sanei_pieusb_cmd_set_scan_frame() local 600 SANE_Int size = PARAMETER_SIZE; sanei_pieusb_cmd_get_parameters() local 660 sanei_pieusb_cmd_inquiry(SANE_Int device_number, struct Pieusb_Scanner_Properties* inq, SANE_Byte size, struct Pieusb_Command_Status *status) sanei_pieusb_cmd_inquiry() argument 735 SANE_Int size = MODE_SIZE; sanei_pieusb_cmd_set_mode() local 847 SANE_Int size = MODE_SIZE; sanei_pieusb_cmd_get_mode() local 974 SANE_Int size = SCAN_HEAD_SIZE; sanei_pieusb_cmd_set_scan_head() local 1026 SANE_Int size = GAIN_OFFSET_SIZE; sanei_pieusb_cmd_get_gain_offset() local 1083 SANE_Int size = GAIN_OFFSET_SIZE; sanei_pieusb_cmd_set_gain_offset() local 1172 SANE_Int size = GET_STATE_SIZE; sanei_pieusb_cmd_read_state() local 1204 _prep_scsi_cmd(SANE_Byte* command, SANE_Byte code, SANE_Word size) _prep_scsi_cmd() argument [all...] |