Home
last modified time | relevance | path

Searched refs:size_t (Results 2201 - 2225 of 19995) sorted by relevance

1...<<81828384858687888990>>...800

/third_party/node/deps/brotli/c/enc/
H A Dringbuffer.h74 static const size_t kSlackForEightByteHashingEverywhere = 7; in RingBufferInitBuffer()
77 size_t i; in RingBufferInitBuffer()
94 const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWriteTail()
95 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWriteTail()
98 const size_t p = rb->size_ + masked_pos; in RingBufferWriteTail()
100 BROTLI_MIN(size_t, n, rb->tail_size_ - masked_pos)); in RingBufferWriteTail()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
133 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWrite()
144 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
/third_party/node/deps/ngtcp2/nghttp3/lib/
H A Dnghttp3_pq.c47 static void swap(nghttp3_pq *pq, size_t i, size_t j) { in swap()
57 static void bubble_up(nghttp3_pq *pq, size_t index) { in bubble_up()
58 size_t parent; in bubble_up()
72 size_t ncapacity; in nghttp3_pq_push()
96 static void bubble_down(nghttp3_pq *pq, size_t index) { in bubble_down()
97 size_t i, j, minindex; in bubble_down()
152 size_t nghttp3_pq_size(const nghttp3_pq *pq) { return pq->length; } in nghttp3_pq_size()
155 size_t i; in nghttp3_pq_each()
/third_party/node/deps/ngtcp2/ngtcp2/lib/
H A Dngtcp2_pq.c45 static void swap(ngtcp2_pq *pq, size_t i, size_t j) { in swap()
55 static void bubble_up(ngtcp2_pq *pq, size_t index) { in bubble_up()
56 size_t parent; in bubble_up()
70 size_t ncapacity; in ngtcp2_pq_push()
94 static void bubble_down(ngtcp2_pq *pq, size_t index) { in bubble_down()
95 size_t i, j, minindex; in bubble_down()
150 size_t ngtcp2_pq_size(ngtcp2_pq *pq) { return pq->length; } in ngtcp2_pq_size()
153 size_t i; in ngtcp2_pq_each()
/third_party/mesa3d/include/android_stub/backtrace/
H A DBacktrace.h85 size_t num; // The current fame number.
89 size_t stack_size; // The size of the stack, zero indicate an unknown stack size.
132 virtual bool Unwind(size_t num_ignore_frames, void* context = nullptr) = 0;
135 std::vector<backtrace_frame_data_t>* frames, size_t num_ignore_frames,
154 virtual size_t Read(uint64_t addr, uint8_t* buffer, size_t bytes) = 0;
158 virtual std::string FormatFrameData(size_t frame_num);
163 size_t NumFrames() const { return frames_.size(); } in NumFrames()
165 const backtrace_frame_data_t* GetFrame(size_t frame_num) { in GetFrame()
/third_party/libfuse/example/
H A Dioctl.c46 static size_t fioc_size;
48 static int fioc_resize(size_t new_size) in fioc_resize()
68 static int fioc_expand(size_t new_size) in fioc_expand()
118 static int fioc_do_read(char *buf, size_t size, off_t offset) in fioc_do_read()
131 static int fioc_read(const char *path, char *buf, size_t size, in fioc_read()
142 static int fioc_do_write(const char *buf, size_t size, off_t offset) in fioc_do_write()
152 static int fioc_write(const char *path, const char *buf, size_t size, in fioc_write()
206 *(size_t *)data = fioc_size; in fioc_ioctl()
210 fioc_resize(*(size_t *)data); in fioc_ioctl()
/third_party/libevdev/libevdev/
H A Dlibevdev-names.c20 size_t len;
41 lookup_name(const struct name_entry *array, size_t asize, in lookup_name()
60 libevdev_event_type_from_name_n(const char *name, size_t len) in libevdev_event_type_from_name_n()
76 size_t i; in type_from_prefix()
109 libevdev_event_code_from_name_n(unsigned int type, const char *name, size_t len) in libevdev_event_code_from_name_n()
136 libevdev_event_value_from_name_n(unsigned int type, unsigned int code, const char *name, size_t len) in libevdev_event_value_from_name_n()
159 libevdev_property_from_name_n(const char *name, size_t len) in libevdev_property_from_name_n()
179 libevdev_event_code_from_code_name_n(const char *name, size_t len) in libevdev_event_code_from_code_name_n()
200 libevdev_event_type_from_code_name_n(const char *name, size_t len) in libevdev_event_type_from_code_name_n()
/third_party/lz4/examples/
H A DblockStreaming_ringBuffer.c31 size_t write_int32(FILE* fp, int32_t i) { in write_int32()
35 size_t write_bin(FILE* fp, const void* array, int arrayBytes) { in write_bin()
39 size_t read_int32(FILE* fp, int32_t* i) { in read_int32()
43 size_t read_bin(FILE* fp, void* array, int arrayBytes) { in read_bin()
93 { const size_t r0 = read_int32(inpFp, &cmpBytes); in test_decompress()
96 const size_t r1 = read_bin(inpFp, cmpBuf, cmpBytes); in test_decompress()
97 if(r1 != (size_t) cmpBytes) break; in test_decompress()
121 const size_t r0 = fread(b0, 1, sizeof(b0), f0); in compare()
122 const size_t r1 = fread(b1, 1, sizeof(b1), f1); in compare()
/third_party/node/deps/v8/src/heap/cppgc/
H A Dexplicit-management.cc39 size_t object_size = 0; in FreeUnreferencedObject()
52 const size_t header_size = header.AllocatedSize(); in FreeUnreferencedObject()
80 bool Grow(HeapObjectHeader& header, BasePage& base_page, size_t new_size, in Grow()
81 size_t size_delta) { in Grow()
99 bool Shrink(HeapObjectHeader& header, BasePage& base_page, size_t new_size, in Shrink()
100 size_t size_delta) { in Shrink()
135 bool ExplicitManagementImpl::Resize(void* object, size_t new_object_size) { in Resize()
150 const size_t new_size = RoundUp<kAllocationGranularity>( in Resize()
153 const size_t old_size = header.AllocatedSize(); in Resize()
/third_party/node/deps/openssl/openssl/crypto/buffer/
H A Dbuffer.c58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc()
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow()
76 size_t n; in BUF_MEM_grow()
110 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len) in BUF_MEM_grow_clean()
113 size_t n; in BUF_MEM_grow_clean()
148 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t size) in BUF_reverse()
150 size_t i; in BUF_reverse()
/third_party/node/deps/openssl/openssl/crypto/conf/
H A Dconf_ssl.c28 size_t cmd_count;
39 static size_t ssl_names_count;
43 size_t i, j; in ssl_module_free()
63 size_t i, j, cnt; in ssl_module_init()
138 const SSL_CONF_CMD *conf_ssl_get(size_t idx, const char **name, size_t *cnt) in conf_ssl_get()
150 int conf_ssl_name_find(const char *name, size_t *idx) in conf_ssl_name_find()
152 size_t i; in conf_ssl_name_find()
172 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr, in conf_ssl_get_cmd()
/third_party/openssl/crypto/conf/
H A Dconf_ssl.c28 size_t cmd_count;
39 static size_t ssl_names_count;
43 size_t i, j; in ssl_module_free()
63 size_t i, j, cnt; in ssl_module_init()
138 const SSL_CONF_CMD *conf_ssl_get(size_t idx, const char **name, size_t *cnt) in conf_ssl_get()
150 int conf_ssl_name_find(const char *name, size_t *idx) in conf_ssl_name_find()
152 size_t i; in conf_ssl_name_find()
172 void conf_ssl_get_cmd(const SSL_CONF_CMD *cmd, size_t idx, char **cmdstr, in conf_ssl_get_cmd()
/third_party/openssl/crypto/buffer/
H A Dbuffer.c58 static char *sec_alloc_realloc(BUF_MEM *str, size_t len) in sec_alloc_realloc()
73 size_t BUF_MEM_grow(BUF_MEM *str, size_t len) in BUF_MEM_grow()
76 size_t n; in BUF_MEM_grow()
110 size_t BUF_MEM_grow_clean(BUF_MEM *str, size_t len) in BUF_MEM_grow_clean()
113 size_t n; in BUF_MEM_grow_clean()
148 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t size) in BUF_reverse()
150 size_t i; in BUF_reverse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
H A DStringTableBuilder.cpp62 using StringPair = std::pair<CachedHashStringRef, size_t>;
80 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt()
98 size_t I = 0; in multikeySort()
99 size_t J = Vec.size(); in multikeySort()
100 for (size_t K = 1; K < J;) { in multikeySort()
147 size_t Pos = Size - S.size() - (K != RAW); in finalizeStringTable()
180 size_t StringTableBuilder::getOffset(CachedHashStringRef S) const { in getOffset()
187 size_t StringTableBuilder::add(CachedHashStringRef S) { in add()
194 size_t Start = alignTo(Size, Alignment); in add()
/third_party/skia/src/core/
H A DSkDescriptor.cpp16 std::unique_ptr<SkDescriptor> SkDescriptor::Alloc(size_t length) { in Alloc()
23 void* SkDescriptor::operator new(size_t) { in operator new()
27 void* SkDescriptor::addEntry(uint32_t tag, size_t length, const void* data) { in addEntry()
100 size_t len = desc->fLength - sizeof(uint32_t); in ComputeChecksum()
106 size_t lengthRemaining = this->fLength; in isValid()
111 size_t offset = sizeof(SkDescriptor); in isValid()
138 SkAutoDescriptor::SkAutoDescriptor(size_t size) { this->reset(size); } in SkAutoDescriptor()
168 void SkAutoDescriptor::reset(size_t size) { in reset()
178 size_t size = desc.getLength(); in reset()
/third_party/skia/third_party/externals/brotli/c/enc/
H A Dringbuffer.h74 static const size_t kSlackForEightByteHashingEverywhere = 7; in RingBufferInitBuffer()
77 size_t i; in RingBufferInitBuffer()
94 const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWriteTail()
95 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWriteTail()
98 const size_t p = rb->size_ + masked_pos; in RingBufferWriteTail()
100 BROTLI_MIN(size_t, n, rb->tail_size_ - masked_pos)); in RingBufferWriteTail()
106 MemoryManager* m, const uint8_t* bytes, size_t n, RingBuffer* rb) { in RingBufferWrite()
133 const size_t masked_pos = rb->pos_ & rb->mask_; in RingBufferWrite()
144 BROTLI_MIN(size_t, n, rb->total_size_ - masked_pos)); in RingBufferWrite()
/third_party/pulseaudio/src/modules/raop/
H A Draop-packet-buffer.c42 size_t size;
43 size_t count;
46 size_t pos;
49 pa_raop_packet_buffer *pa_raop_packet_buffer_new(pa_mempool *mempool, const size_t size) { in pa_raop_packet_buffer_new()
65 size_t i; in pa_raop_packet_buffer_free()
81 size_t i; in pa_raop_packet_buffer_reset()
96 pa_memchunk *pa_raop_packet_buffer_prepare(pa_raop_packet_buffer *pb, uint16_t seq, const size_t size) { in pa_raop_packet_buffer_prepare()
98 size_t i; in pa_raop_packet_buffer_prepare()
134 size_t delta, i; in pa_raop_packet_buffer_retrieve()
/third_party/skia/experimental/sktext/include/
H A DInterface.h72 virtual void onBeginLine(size_t index, TextRange lineText, bool hardBreak, SkRect bounds) { } in onBeginLine()
73 virtual void onEndLine(size_t index, TextRange lineText, GlyphRange trailingSpaces, size_t glyphCount) { } in onEndLine()
141 Position(PositionType positionType, size_t lineIndex, GlyphRange glyphRange, TextRange textRange, SkRect rect);
144 size_t fLineIndex;
150 BoxLine(size_t index, TextRange text, bool hardBreak, SkRect bounds);
156 size_t fIndex;
185 size_t countLines() const;
186 BoxLine getLine(size_t lineIndex) const;
/third_party/skia/modules/svg/src/
H A DSkSVGTextPriv.h44 enum Attr : size_t {
85 size_t);
91 PosAttrs resolve(size_t charIndex) const;
96 const size_t fCharIndexOffset; // start index for the current resolver
104 mutable size_t fLastPosIndex = std::numeric_limits<size_t>::max();
132 void reserve(size_t size) { in reserve()
152 size_t glyphCount;
201 size_t fCurrentCharIndex = 0;
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
H A Deap_teap_common.h176 size_t eap_payload_tlv_len;
178 size_t crypto_binding_len;
182 size_t nak_len;
186 size_t pac_len;
188 size_t basic_auth_req_len;
190 size_t basic_auth_resp_len;
202 const u8 *msk, size_t msk_len,
203 const u8 *emsk, size_t emsk_len,
211 int tlv_type, u8 *pos, size_t len);
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
H A Deap_teap_common.h182 size_t eap_payload_tlv_len;
184 size_t crypto_binding_len;
188 size_t nak_len;
192 size_t pac_len;
194 size_t basic_auth_req_len;
196 size_t basic_auth_resp_len;
212 const u8 *msk, size_t msk_len,
213 const u8 *emsk, size_t emsk_len,
221 int tlv_type, u8 *pos, size_t len);
/third_party/curl/lib/
H A Dws.c81 size_t i; in ws_frame_name_of_op()
92 size_t i; in ws_frame_op2flags()
102 size_t i; in ws_frame_flags2op()
139 typedef ssize_t ws_write_payload(const unsigned char *buf, size_t buflen,
167 size_t inlen; in ws_dec_read_head()
263 size_t inlen; in ws_dec_pass_payload()
271 inlen = (size_t)remain; in ws_dec_pass_payload()
277 Curl_bufq_skip(inraw, (size_t)nwritten); in ws_dec_pass_payload()
348 size_t cur_len) in update_meta()
386 static ssize_t ws_cw_dec_next(const unsigned char *buf, size_t bufle
[all...]
/third_party/lzma/C/
H A DXzEnc.c44 static SRes WriteBytes(ISeqOutStreamPtr s, const void *buf, size_t size) in WriteBytes()
49 static SRes WriteBytes_UpdateCrc(ISeqOutStreamPtr s, const void *buf, size_t size, UInt32 *crc) in WriteBytes_UpdateCrc()
103 size_t numBlocks;
104 size_t size;
105 size_t allocated;
137 static SRes XzEncIndex_ReAlloc(CXzEncIndex *p, size_t newSize, ISzAllocPtr alloc) in XzEncIndex_ReAlloc()
166 size_t newSize = (size_t)newSize64; in XzEncIndex_PreAlloc()
182 size_t newSize = p->allocated * 2 + 16 * 2; in XzEncIndex_AddIndexRecord()
254 static SRes SeqCheckInStream_Read(ISeqInStreamPtr pp, void *data, size_t *siz
[all...]
/third_party/node/deps/openssl/openssl/engines/
H A De_devcrypto.c168 static size_t find_cipher_data_index(int nid) in find_cipher_data_index()
170 size_t i; in find_cipher_data_index()
175 return (size_t)-1; in find_cipher_data_index()
178 static size_t get_cipher_data_index(int nid) in get_cipher_data_index()
180 size_t i = find_cipher_data_index(nid); in get_cipher_data_index()
182 if (i != (size_t)-1) in get_cipher_data_index()
241 const unsigned char *in, size_t inl) in cipher_do_cipher()
250 size_t nblocks, ivlen; in cipher_do_cipher()
322 const unsigned char *in, size_t inl) in ctr_do_cipher()
326 size_t nblock in ctr_do_cipher()
[all...]
/third_party/openssl/engines/
H A De_devcrypto.c168 static size_t find_cipher_data_index(int nid) in find_cipher_data_index()
170 size_t i; in find_cipher_data_index()
175 return (size_t)-1; in find_cipher_data_index()
178 static size_t get_cipher_data_index(int nid) in get_cipher_data_index()
180 size_t i = find_cipher_data_index(nid); in get_cipher_data_index()
182 if (i != (size_t)-1) in get_cipher_data_index()
241 const unsigned char *in, size_t inl) in cipher_do_cipher()
250 size_t nblocks, ivlen; in cipher_do_cipher()
322 const unsigned char *in, size_t inl) in ctr_do_cipher()
326 size_t nblock in ctr_do_cipher()
[all...]
/third_party/qrcodegen/c/
H A Dqrcodegen-test.c60 int calcSegmentBitLength(enum qrcodegen_Mode mode, size_t numChars);
61 int getTotalBits(const struct qrcodegen_Segment segs[], size_t len, int version);
110 size_t numBlocks = (size_t)NUM_ERROR_CORRECTION_BLOCKS[(int)ecl][version]; in addEccAndInterleaveReference()
111 size_t blockEccLen = (size_t)ECC_CODEWORDS_PER_BLOCK[(int)ecl][version]; in addEccAndInterleaveReference()
112 size_t rawCodewords = (size_t)getNumRawDataModules(version) / 8; in addEccAndInterleaveReference()
113 size_t numShortBlocks = numBlocks - rawCodewords % numBlocks; in addEccAndInterleaveReference()
114 size_t shortBlockLe in addEccAndInterleaveReference()
[all...]

Completed in 17 milliseconds

1...<<81828384858687888990>>...800