/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
BCHeaderField.h | 48 bool Write(uint8_t* buf, size_t buf_len) { 54 if (buf_len < fields_len + pad_len || 68 bool Read(const uint8_t* buf, size_t buf_len) { 69 if (buf_len < kTagLenSize) return false; 75 if (buf_len < kTagLenSize + len_) return false;
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
bio_enc.c | 78 int buf_len; member in struct:enc_struct 116 ctx->buf_len=0; 154 if (ctx->buf_len > 0) 156 i=ctx->buf_len-ctx->buf_off; 163 if (ctx->buf_len == ctx->buf_off) 165 ctx->buf_len=0; 189 &(ctx->buf_len)); 202 (unsigned char *)ctx->buf,&ctx->buf_len, 211 if(ctx->buf_len == 0) continue; 214 if (ctx->buf_len <= outl [all...] |
/external/openssl/crypto/evp/ |
bio_enc.c | 78 int buf_len; member in struct:enc_struct 116 ctx->buf_len=0; 154 if (ctx->buf_len > 0) 156 i=ctx->buf_len-ctx->buf_off; 163 if (ctx->buf_len == ctx->buf_off) 165 ctx->buf_len=0; 189 &(ctx->buf_len)); 202 (unsigned char *)ctx->buf,&ctx->buf_len, 211 if(ctx->buf_len == 0) continue; 214 if (ctx->buf_len <= outl [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_fast_pac.c | 186 size_t buf_len; member in struct:eap_fast_read_ctx 195 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) 206 if (len >= rc->buf_len) 207 len = rc->buf_len - 1; 213 rc->buf[rc->buf_len - 1] = '\0'; 259 rc->buf_len = 2048; 260 rc->buf = os_malloc(rc->buf_len); 475 static void eap_fast_write(char **buf, char **pos, size_t *buf_len, 491 if (*pos - *buf + need > *buf_len) { 492 char *nbuf = os_realloc(*buf, *buf_len + need) 622 size_t buf_len; local [all...] |
/external/chromium_org/net/udp/ |
udp_socket_libevent.cc | 135 int buf_len, 137 return RecvFrom(buf, buf_len, NULL, callback); 141 int buf_len, 149 DCHECK_GT(buf_len, 0); 151 int nread = InternalRecvFrom(buf, buf_len, address); 165 read_buf_len_ = buf_len; 172 int buf_len, 174 return SendToOrWrite(buf, buf_len, NULL, callback); 178 int buf_len, 181 return SendToOrWrite(buf, buf_len, &address, callback) [all...] |
datagram_server_socket.h | 28 // |buf_len| is the maximum amount of data to read. 40 int buf_len, 46 // |buf_len| is the number of bytes to send 54 int buf_len,
|
/external/chromium_org/webkit/browser/fileapi/ |
local_file_stream_writer.cc | 42 int LocalFileStreamWriter::Write(net::IOBuffer* buf, int buf_len, 49 int result = InitiateWrite(buf, buf_len, callback); 57 make_scoped_refptr(buf), buf_len, callback)); 167 net::IOBuffer* buf, int buf_len, 171 int result = InitiateWrite(buf, buf_len, callback); 179 net::IOBuffer* buf, int buf_len, 184 return stream_impl_->Write(buf, buf_len,
|
sandbox_file_stream_writer.h | 36 virtual int Write(net::IOBuffer* buf, int buf_len, 48 int WriteInternal(net::IOBuffer* buf, int buf_len, 62 void DidInitializeForWrite(net::IOBuffer* buf, int buf_len,
|
/external/chromium/net/disk_cache/ |
net_log_parameters.cc | 27 int index, int offset, int buf_len, bool truncate) 28 : index_(index), offset_(offset), buf_len_(buf_len), truncate_(truncate) { 35 dict->SetInteger("buf_len", buf_len_);
|
file_posix.cc | 26 FileBackgroundIO(disk_cache::File* file, const void* buf, size_t buf_len, 30 buf_(buf), buf_len_(buf_len), offset_(offset) { 72 void PostRead(disk_cache::File* file, void* buf, size_t buf_len, 74 void PostWrite(disk_cache::File* file, const void* buf, size_t buf_len, 111 void FileInFlightIO::PostRead(disk_cache::File *file, void* buf, size_t buf_len, 114 new FileBackgroundIO(file, buf, buf_len, offset, callback, this)); 123 size_t buf_len, size_t offset, 126 new FileBackgroundIO(file, buf, buf_len, offset, callback, this));
|
/external/srtp/crypto/test/ |
stat_driver.c | 36 unsigned int buf_len = 2500; local 75 err_check(cipher_encrypt(c, buffer, &buf_len)); 90 err_check(cipher_encrypt(c, buffer, &buf_len));
|
rand_gen.c | 56 #define BUF_LEN (MAX_PRINT_STRING_LEN/2) 65 prog_name, BUF_LEN); 105 if (num_octets < 0 || num_octets > BUF_LEN) 122 uint8_t buffer[BUF_LEN];
|
/external/chromium_org/net/base/ |
zap.h | 17 void ZapBuf(void* buf, size_t buf_len);
|
file_stream_context.h | 77 int buf_len, 79 int ReadSync(char* buf, int buf_len); 82 int buf_len, 84 int WriteSync(const char* buf, int buf_len); 204 IOResult ReadFileImpl(scoped_refptr<IOBuffer> buf, int buf_len); 209 IOResult WriteFileImpl(scoped_refptr<IOBuffer> buf, int buf_len);
|
/external/chromium_org/net/disk_cache/ |
in_flight_backend_io.cc | 157 net::IOBuffer* buf, int buf_len) { 163 buf_len_ = buf_len; 167 net::IOBuffer* buf, int buf_len, bool truncate) { 173 buf_len_ = buf_len; 178 net::IOBuffer* buf, int buf_len) { 183 buf_len_ = buf_len; 187 net::IOBuffer* buf, int buf_len) { 192 buf_len_ = buf_len; 445 net::IOBuffer* buf, int buf_len, 448 operation->ReadData(entry, index, offset, buf, buf_len); [all...] |
/external/chromium_org/net/socket/ |
socket.h | 20 // Reads data, up to |buf_len| bytes, from the socket. The number of bytes 31 virtual int Read(IOBuffer* buf, int buf_len, 34 // Writes data, up to |buf_len| bytes, to the socket. Note: data may be 46 virtual int Write(IOBuffer* buf, int buf_len,
|
buffered_write_stream_socket.h | 40 virtual int Read(IOBuffer* buf, int buf_len, 42 virtual int Write(IOBuffer* buf, int buf_len,
|
/external/chromium_org/net/tools/quic/ |
quic_packet_writer.h | 23 virtual int WritePacket(const char* buffer, size_t buf_len,
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
bio_ber.c | 104 int buf_len; member in struct:bio_ber_struct 174 n=ctx->buf_len-j; 180 ctx->buf_len-j; 185 i=BER_BUF_SIZE-ctx->buf_len; 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i); 195 ctx->buf_len+=i; 198 max=ctx->buf_len; 204 if ((ctx->buf_len < BER_BUF_SIZE) && 282 n=ctx->buf_len-ctx->buf_off; 303 (unsigned char *)ctx->buf,&ctx->buf_len, [all...] |
/external/openssl/crypto/pkcs7/ |
bio_ber.c | 104 int buf_len; member in struct:bio_ber_struct 174 n=ctx->buf_len-j; 180 ctx->buf_len-j; 185 i=BER_BUF_SIZE-ctx->buf_len; 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i); 195 ctx->buf_len+=i; 198 max=ctx->buf_len; 204 if ((ctx->buf_len < BER_BUF_SIZE) && 282 n=ctx->buf_len-ctx->buf_off; 303 (unsigned char *)ctx->buf,&ctx->buf_len, [all...] |
/external/wpa_supplicant_8/src/crypto/ |
sha256.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 40 size_t buf_len ) 59 ret = os_snprintf(buf, buf_len, 68 priv_cmd.used_len = buf_len; 69 priv_cmd.total_len = buf_len;
|
/external/chromium/net/spdy/ |
spdy_http_stream.cc | 105 IOBuffer* buf, int buf_len, CompletionCallback* callback) { 108 CHECK(buf_len); 114 while (!response_body_.empty() && buf_len > 0) { 116 const int bytes_to_copy = std::min(buf_len, data->size()); 118 buf_len -= bytes_to_copy; 144 user_buffer_len_ = buf_len; 278 int buf_len = static_cast<int>(request_body_stream_->buf_len()); local 279 if (!buf_len) 289 request_body_stream_->buf(), buf_len, [all...] |
/external/chromium_org/net/disk_cache/simple/ |
simple_entry_impl.cc | 321 int buf_len, 327 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, 332 buf_len < 0) { 342 offset < 0 || !buf_len)) { 357 this, stream_index, offset, buf_len, buf, callback, alone_in_queue)); 365 int buf_len, 373 CreateNetLogReadWriteDataCallback(stream_index, offset, buf_len, 378 buf_len < 0) { 387 if (backend_.get() && offset + buf_len > backend_->GetMaxFileSize()) { 404 RecordHeaderSizeChange(data_size_[0], buf_len); [all...] |
/external/chromium/net/base/ |
file_stream.h | 69 // buf_len bytes will be copied into buf. (In other words, partial reads are 87 int Read(char* buf, int buf_len, CompletionCallback* callback); 89 // Performs the same as Read, but ensures that exactly buf_len bytes 94 int ReadUntilComplete(char *buf, int buf_len); 97 // buf_len bytes will be written from buf. (In other words, partial writes are 115 int Write(const char* buf, int buf_len, CompletionCallback* callback);
|