/third_party/backends/backend/ |
H A D | epsonds-io.c | 31 size_t eds_send(epsonds_scanner *s, void *buf, size_t length, SANE_Status *status, size_t reply_len) in eds_send() 52 size_t n = length; in eds_send() 66 size_t eds_recv(epsonds_scanner *s, void *buf, size_t length, SANE_Status *status) in eds_recv() 68 size_t n = length; /* network interface needs to read header back even data is 0.*/ in eds_recv() 81 (size_t *) &n); in eds_recv() 99 SANE_Status eds_txrx(epsonds_scanner* s, char *txbuf, size_t txlen, in eds_txrx() 100 char *rxbuf, size_t rxle in eds_txrx() [all...] |
/third_party/lzma/CPP/7zip/Common/ |
H A D | InBuffer.cpp | 20 bool CInBuffer::Create(size_t bufSize) throw()
in Create() 59 _processedSize += (size_t)(_buf - _bufBase);
in ReadBlock() 99 size_t CInBufferBase::ReadBytes(Byte *buf, size_t size)
in ReadBytes() 101 size_t num = 0;
in ReadBytes() 104 const size_t rem = (size_t)(_bufLim - _buf);
in ReadBytes() 128 if ((size_t)(_bufLim - _buf) >= size)
in ReadBytes() 131 for (size_t i = 0; i < size; i++)
in ReadBytes() 136 for (size_t in ReadBytes() [all...] |
/third_party/lzma/CPP/Common/ |
H A D | MyBuffer2.h | 13 size_t _size;
26 size_t Size() const { return _size; }
in Size() 28 void Alloc(size_t size)
in Alloc() 41 void AllocAtLeast(size_t size)
in AllocAtLeast() 46 const size_t kMinSize = (size_t)1 << 16;
in AllocAtLeast() 71 CAlignedBuffer1(size_t size)
in CAlignedBuffer1() 87 size_t _size;
98 CAlignedBuffer(size_t size): _size(0)
in CAlignedBuffer() 117 size_t Siz in operator const Byte *() [all...] |
/third_party/mbedtls/include/mbedtls/ |
H A D | ecdh.h | 192 int (*f_rng)(void *, unsigned char *, size_t), 228 int (*f_rng)(void *, unsigned char *, size_t), 291 int mbedtls_ecdh_make_params(mbedtls_ecdh_context *ctx, size_t *olen, 292 unsigned char *buf, size_t blen, 293 int (*f_rng)(void *, unsigned char *, size_t), 373 int mbedtls_ecdh_make_public(mbedtls_ecdh_context *ctx, size_t *olen, 374 unsigned char *buf, size_t blen, 375 int (*f_rng)(void *, unsigned char *, size_t), 398 const unsigned char *buf, size_t blen); 429 int mbedtls_ecdh_calc_secret(mbedtls_ecdh_context *ctx, size_t *ole [all...] |
/third_party/mesa3d/src/imagination/rogue/ |
H A D | rogue_instr.c | 41 static const size_t instr_operand_count[ROGUE_OP_COUNT] = { 65 static inline size_t rogue_instr_num_operands(enum rogue_opcode opcode) in rogue_instr_num_operands() 129 size_t index, in rogue_instr_set_operand_imm() 149 size_t index, in rogue_instr_set_operand_drc() 150 size_t number) in rogue_instr_set_operand_drc() 170 size_t index, in rogue_instr_set_operand_reg() 172 size_t number) in rogue_instr_set_operand_reg() 192 size_t index, in rogue_instr_set_operand_vreg() 193 size_t number) in rogue_instr_set_operand_vreg() 215 size_t inde in rogue_instr_set_operand_vreg_vec() [all...] |
/third_party/node/src/ |
H A D | blob_serializer_deserializer.h | 39 size_t read_total = 0; 59 void ReadArithmetic(T* out, size_t count); 63 std::vector<Number> ReadArithmeticVector(size_t count); 68 std::vector<T> ReadNonArithmeticVector(size_t count); 74 // Child classes are expected to implement size_t Write<T>(const T&) where 94 size_t WriteArithmetic(const T& data); 100 size_t WriteVector(const std::vector<T>& data); 105 size_t WriteString(const std::string& data); 109 size_t WriteArithmetic(const T* data, size_t coun [all...] |
/third_party/node/src/inspector/ |
H A D | node_string.h | 31 size_t length) { in builderAppend() 46 inline void builderReserve(StringBuilder& builder, size_t) { in builderReserve() 49 inline String substring(const String& string, size_t start, size_t count) { in substring() 58 inline size_t find(const String& string, const char* substring) { in find() 62 double toDouble(const char* buffer, size_t length, bool* ok); 75 String fromUTF8(const uint8_t* data, size_t length); 76 String fromUTF16(const uint16_t* data, size_t length); 78 size_t CharacterCount(const std::string_view s); 88 extern size_t kNotFoun [all...] |
/third_party/node/deps/v8/src/wasm/ |
H A D | leb-helper.h | 19 constexpr size_t kPaddedVarInt32Size = 5; 20 constexpr size_t kMaxVarInt32Size = 5; 21 constexpr size_t kMaxVarInt64Size = 10; 84 static size_t sizeof_u32v(size_t val) { in sizeof_u32v() 85 size_t size = 0; in sizeof_u32v() 94 static size_t sizeof_i32v(int32_t val) { in sizeof_i32v() 95 size_t size = 1; in sizeof_i32v() 111 static size_t sizeof_u64v(uint64_t val) { in sizeof_u64v() 112 size_t siz in sizeof_u64v() [all...] |
/third_party/musl/libc-test/src/regression/ |
H A D | flockfile-list.c | 16 static size_t pos; 18 size_t pos; 19 size_t n; 24 void *malloc(size_t n) in malloc() 39 void *calloc(size_t n, size_t m) in calloc() 44 void *aligned_alloc(size_t a, size_t n) in aligned_alloc() 51 size_t pos = (unsigned char *)p - buf; in findidx() 59 void *realloc(void *p, size_t [all...] |
/third_party/musl/src/malloc/oldmalloc/ |
H A D | malloc_impl.h | 21 hidden void *__expand_heap(size_t *); 25 hidden void *__memalign(size_t, size_t); 34 size_t psize, csize; 61 size_t size; 69 size_t t_total_size; 80 #define MMAP_THRESHOLD (0x1c00*(4*sizeof(size_t))) 83 #define SIZE_ALIGN (4*sizeof(size_t)) 85 #define OVERHEAD (2*sizeof(size_t)) 103 #define C_INUSE ((size_t) [all...] |
/third_party/musl/porting/liteos_m/kernel/src/internal/ |
H A D | stdio_impl.h | 31 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 32 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 33 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 37 hidden size_t __string_read(FILE *, unsigned char *, size_t); 54 hidden size_t __fwritex(const unsigned char *, size_t, FIL [all...] |
/third_party/musl/porting/uniproton/kernel/src/internal/ |
H A D | stdio_impl.h | 31 hidden size_t __stdio_read(FILE *, unsigned char *, size_t); 32 hidden size_t __stdio_write(FILE *, const unsigned char *, size_t); 33 hidden size_t __stdout_write(FILE *, const unsigned char *, size_t); 37 hidden size_t __string_read(FILE *, unsigned char *, size_t); 54 hidden size_t __fwritex(const unsigned char *, size_t, FIL [all...] |
/third_party/nghttp2/src/ |
H A D | shrpx_memcached_connection.h | 62 size_t keylen; 64 size_t extralen; 67 size_t totalbody; 69 size_t read_left; 84 size_t send_value_left; 86 size_t left() const { return headbuf.rleft() + send_value_left; } in left() 121 size_t fill_request_buffer(struct iovec *iov, size_t iovlen); 122 void drain_send_queue(size_t nwrite); 126 size_t serialized_siz [all...] |
/third_party/node/deps/brotli/c/enc/ |
H A D | metablock.h | 31 size_t literal_context_map_size; 33 size_t distance_context_map_size; 35 size_t literal_histograms_size; 37 size_t command_histograms_size; 39 size_t distance_histograms_size; 76 const size_t pos, 77 const size_t mask, 82 size_t num_commands, 90 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mas [all...] |
/third_party/ltp/testcases/kernel/syscalls/mlock2/ |
H A D | mlock201.c | 32 static size_t pgsz; 36 size_t populate_pages; 37 size_t lock_pages; 38 size_t offset; 39 size_t exp_vmlcks; 40 size_t exp_present_pages; 74 static size_t check_locked_pages(char *addr, size_t len, size_t num_pgs) in check_locked_pages() 76 size_t in check_locked_pages() [all...] |
/third_party/node/deps/v8/src/compiler/ |
H A D | zone-stats.h | 60 size_t GetMaxAllocatedBytes(); 61 size_t GetCurrentAllocatedBytes(); 62 size_t GetTotalAllocatedBytes(); 68 using InitialValues = std::map<Zone*, size_t>; 72 size_t total_allocated_bytes_at_start_; 73 size_t max_allocated_bytes_; 81 size_t GetMaxAllocatedBytes() const; 82 size_t GetTotalAllocatedBytes() const; 83 size_t GetCurrentAllocatedBytes() const; 89 static const size_t kMaxUnusedSiz [all...] |
/third_party/musl/Benchmark/musl/ |
H A D | util.cpp | 39 char* AlignUpMemoy(char* origPtr, size_t alignment) in AlignUpMemoy() 53 char* GetAlignedPtr(std::vector<char>* buf, size_t alignment, size_t nbytes) in GetAlignedPtr() 59 wchar_t* GetAlignedPtr(std::vector<wchar_t>* buf, size_t alignment, size_t nchars) in GetAlignedPtr() 65 char* GetAlignedPtrFilled(std::vector<char>* buf, size_t alignment, size_t nbytes, char fillByte) in GetAlignedPtrFilled() 72 wchar_t* GetAlignedPtrFilled(std::vector<wchar_t>* buf, size_t alignment, size_t nbytes, wchar_t fillByte) in GetAlignedPtrFilled() 84 size_t readFileConten in ReadJsonFile() [all...] |
/third_party/node/deps/openssl/openssl/include/internal/ |
H A D | bio.h | 20 int (*bwrite) (BIO *, const char *, size_t, size_t *); 22 int (*bread) (BIO *, char *, size_t, size_t *); 37 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written); 38 int bread_conv(BIO *bio, char *data, size_t datal, size_t *read); 78 int ossl_core_bio_read_ex(OSSL_CORE_BIO *cb, void *data, size_t dlen, 79 size_t *readbyte [all...] |
/third_party/vk-gl-cts/execserver/ |
H A D | xsProtocol.hpp | 77 static void parseHeader (const deUint8* data, size_t dataSize, MessageType& type, size_t& messageSize); 78 static void writeHeader (MessageType type, size_t messageSize, deUint8* dst, size_t bufSize); 92 SimpleMessage (const deUint8* data, size_t dataSize) : Message((MessageType)MsgType) { DE_UNREF(data); XS_CHECK_MSG(dataSize == 0, "No payload expected"); } in SimpleMessage() 108 HelloMessage (const deUint8* data, size_t dataSize); 123 ExecuteBinaryMessage (const deUint8* data, size_t dataSize); 135 ProcessLogDataMessage (const deUint8* data, size_t dataSize); 146 ProcessLaunchFailedMessage (const deUint8* data, size_t dataSize); 158 ProcessFinishedMessage (const deUint8* data, size_t dataSiz [all...] |
/third_party/openssl/include/internal/ |
H A D | bio.h | 20 int (*bwrite) (BIO *, const char *, size_t, size_t *); 22 int (*bread) (BIO *, char *, size_t, size_t *); 37 int bwrite_conv(BIO *bio, const char *data, size_t datal, size_t *written); 38 int bread_conv(BIO *bio, char *data, size_t datal, size_t *read); 78 int ossl_core_bio_read_ex(OSSL_CORE_BIO *cb, void *data, size_t dlen, 79 size_t *readbyte [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | metablock.h | 31 size_t literal_context_map_size; 33 size_t distance_context_map_size; 35 size_t literal_histograms_size; 37 size_t command_histograms_size; 39 size_t distance_histograms_size; 76 const size_t pos, 77 const size_t mask, 82 size_t num_commands, 90 MemoryManager* m, const uint8_t* ringbuffer, size_t pos, size_t mas [all...] |
/third_party/skia/third_party/externals/sfntly/cpp/src/sfntly/port/ |
H A D | memory_input_stream.cc | 95 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() 96 if (b->size() < (size_t)(offset + read_count)) { in Read() 97 b->resize((size_t)(offset + read_count)); in Read() 118 position_ -= (size_t)(0 - skip_count); in Skip() 120 skip_count = std::min<size_t>(length_ - position_, (size_t)n); in Skip() 121 position_ += (size_t)skip_count; in Skip() 132 assert(b->size() >= size_t(offset + length)); in Unread() 139 size_t unread_coun in Unread() [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/ |
H A D | cord_rep_btree_reader.h | 99 size_t length() const; 107 size_t consumed() const; 124 absl::string_view Skip(size_t skip); 148 absl::string_view Read(size_t n, size_t chunk_size, CordRep*& tree); 157 absl::string_view Seek(size_t offset); 160 size_t consumed_; 164 inline size_t CordRepBtreeReader::length() const { in length() 169 inline size_t CordRepBtreeReader::consumed() const { in consumed() 189 inline absl::string_view CordRepBtreeReader::Skip(size_t ski [all...] |
/third_party/skia/experimental/graphite/src/ |
H A D | CommandBuffer.h | 65 void bindUniformBuffer(sk_sp<Buffer>, size_t bufferOffset); 66 void bindVertexBuffers(sk_sp<Buffer> vertexBuffer, size_t vertexOffset, 67 sk_sp<Buffer> instanceBuffer, size_t instanceOffset); 68 void bindIndexBuffer(sk_sp<Buffer> indexBuffer, size_t bufferOffset); 98 size_t bufferOffset, 99 size_t bufferRowBytes); 110 virtual void onBindUniformBuffer(const Buffer*, size_t bufferOffset) = 0; 111 virtual void onBindVertexBuffers(const Buffer* vertexBuffer, size_t vertexOffset, 112 const Buffer* instanceBuffer, size_t instanceOffset) = 0; 113 virtual void onBindIndexBuffer(const Buffer* indexBuffer, size_t bufferOffse [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/ |
H A D | eap_pax_common.c | 30 int eap_pax_kdf(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_kdf() 32 const u8 *entropy, size_t entropy_len, in eap_pax_kdf() 33 size_t output_len, u8 *output) in eap_pax_kdf() 38 size_t len[3]; in eap_pax_kdf() 39 size_t num_blocks, left; in eap_pax_kdf() 59 size_t clen = left > EAP_PAX_MAC_LEN ? EAP_PAX_MAC_LEN : left; in eap_pax_kdf() 87 int eap_pax_mac(u8 mac_id, const u8 *key, size_t key_len, in eap_pax_mac() 88 const u8 *data1, size_t data1_len, in eap_pax_mac() 89 const u8 *data2, size_t data2_len, in eap_pax_mac() 90 const u8 *data3, size_t data3_le in eap_pax_mac() [all...] |