Searched defs:len (Results 226 - 250 of 5216) sorted by relevance

1234567891011>>

/external/chromium_org/net/quic/
H A Dquic_socket_address_coder_test.cc81 size_t len = serialized.length(); local
82 for (size_t i = 0; i < len; i++) {
/external/chromium_org/net/quic/test_tools/
H A Dmock_random.cc19 void MockRandom::RandBytes(void* data, size_t len) { argument
20 memset(data, 'r' + increment_, len);
/external/chromium_org/net/spdy/
H A Dspdy_read_queue.cc34 size_t SpdyReadQueue::Dequeue(char* out, size_t len) { argument
35 DCHECK_GT(len, 0u);
37 while (!queue_.empty() && bytes_copied < len) {
40 std::min(len - bytes_copied, buffer->GetRemainingSize());
/external/chromium_org/sandbox/linux/suid/
H A Dprocess_util_linux.c73 size_t len = strlen(buf); local
75 ssize_t bytes_written = write(fd, buf, len);
77 return (bytes_written == (ssize_t)len);
/external/chromium_org/sandbox/win/tests/validation_tests/
H A Dsuite.cc55 DWORD len =::ExpandEnvironmentStringsW(any_path, expand, _countof(expand)); local
56 if (0 == len) return false;
57 if (len > _countof(expand)) return false;
/external/chromium_org/third_party/WebKit/Source/core/streams/
H A DStream.cpp51 void Stream::addData(const char* data, size_t len) argument
54 buffer->mutableData()->resize(len);
55 memcpy(buffer->mutableData()->data(), data, len);
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DFastMalloc.cpp53 size_t len = strlen(src) + 1; local
54 char* dup = static_cast<char*>(fastMalloc(len));
55 memcpy(dup, src, len);
/external/chromium_org/third_party/WebKit/public/platform/
H A DWebThreadSafeData.h66 size_t len = size(); local
67 return len ? std::string(data(), len) : std::string();
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_search_path_list_unittest.cpp23 void AddFile(const char* path, const char* data, size_t len) { argument
24 sys_.AddRegularFile(path, data, len);
/external/chromium_org/third_party/ashmem/
H A Dashmem-dev.c75 int ashmem_pin_region(int fd, size_t offset, size_t len) argument
77 struct ashmem_pin pin = { offset, len };
81 int ashmem_unpin_region(int fd, size_t offset, size_t len) argument
83 struct ashmem_pin pin = { offset, len };
/external/chromium_org/third_party/boringssl/src/crypto/aes/
H A Dmode_wrappers.c56 void AES_ctr128_encrypt(const uint8_t *in, uint8_t *out, size_t len, argument
59 CRYPTO_ctr128_encrypt(in, out, len, key, ivec, ecount_buf, num,
77 void AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, argument
81 CRYPTO_cbc128_encrypt(in, out, len, key, ivec, (block128_f)AES_encrypt);
83 CRYPTO_cbc128_decrypt(in, out, len, key, ivec, (block128_f)AES_decrypt);
88 void asm_AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len,
90 void AES_cbc_encrypt(const uint8_t *in, uint8_t *out, size_t len, argument
92 asm_AES_cbc_encrypt(in, out, len, key, ivec, enc);
/external/chromium_org/third_party/boringssl/src/crypto/asn1/
H A Da_bool.c82 long len; local
87 inf=ASN1_get_object(&p,&len,&tag,&xclass,length);
100 if (len != 1)
H A Dx_bignum.c75 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it);
125 static int bn_c2i(ASN1_VALUE **pval, const unsigned char *cont, int len, argument
131 if(!BN_bin2bn(cont, len, bn)) {
/external/chromium_org/third_party/boringssl/src/crypto/base64/
H A Dbase64_test.c44 ssize_t len; local
48 len = EVP_EncodeBlock(out, (const uint8_t*)t->decoded, strlen(t->decoded));
49 if (len != strlen(t->encoded) ||
50 memcmp(out, t->encoded, len) != 0) {
52 t->decoded, (int)len, (const char*)out, t->encoded);
61 size_t i, len; local
68 if (!EVP_DecodeBase64(out, &len, sizeof(out),
73 if (len != strlen(t->decoded) ||
74 memcmp(out, t->decoded, len) != 0) {
76 t->encoded, (int)len, (cons
[all...]
/external/chromium_org/third_party/boringssl/src/crypto/evp/
H A Dasn1.c68 long len) {
87 !ret->ameth->old_priv_decode(ret, inp, len)) {
89 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, inp, len);
114 EVP_PKEY *d2i_AutoPrivateKey(EVP_PKEY **out, const uint8_t **inp, long len) { argument
123 inkey = d2i_ASN1_SEQUENCE_ANY(NULL, &p, len);
135 PKCS8_PRIV_KEY_INFO *p8 = d2i_PKCS8_PRIV_KEY_INFO(NULL, inp, len);
155 return d2i_PrivateKey(keytype, out, inp, len);
67 d2i_PrivateKey(int type, EVP_PKEY **out, const uint8_t **inp, long len) argument
/external/chromium_org/third_party/boringssl/src/crypto/pem/
H A Dpem_oth.c78 long len; local
81 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
84 ret=d2i(x,&p,len);
/external/chromium_org/third_party/boringssl/src/crypto/x509/
H A Da_digest.c66 unsigned char *md, unsigned int *len)
80 if (!EVP_Digest(str, i, md, len, type, NULL))
87 unsigned char *md, unsigned int *len)
95 if (!EVP_Digest(str, i, md, len, type, NULL))
65 ASN1_digest(i2d_of_void *i2d, const EVP_MD *type, char *data, unsigned char *md, unsigned int *len) argument
86 ASN1_item_digest(const ASN1_ITEM *it, const EVP_MD *type, void *asn, unsigned char *md, unsigned int *len) argument
H A Dx509spki.c76 NETSCAPE_SPKI * NETSCAPE_SPKI_b64_decode(const char *str, int len) argument
82 if (len <= 0)
83 len = strlen(str);
84 if (!EVP_DecodedLength(&spki_len, len)) {
92 if (!EVP_DecodeBase64(spki_der, &spki_len, spki_len, (const uint8_t *)str, len)) {
/external/chromium_org/third_party/boringssl/src/ssl/
H A Dt1_reneg.c119 int ssl_add_clienthello_renegotiate_ext(SSL *s, unsigned char *p, int *len, argument
142 *len=s->s3->previous_client_finished_len + 1;
178 int ssl_add_serverhello_renegotiate_ext(SSL *s, unsigned char *p, int *len, argument
206 *len=s->s3->previous_client_finished_len
/external/chromium_org/third_party/brotli/src/brotli/enc/
H A Dstatic_dict.h29 void Insert(const std::string &str, int len, int dist) { argument
30 int ix = (dist << 6) + len;
51 bool Get(const std::string &str, int *len, int *dist) const { argument
57 *len = v & 63;
/external/chromium_org/third_party/brotli/src/woff2/
H A Dstore_bytes.h53 inline void StoreBytes(const uint8_t* data, size_t len, argument
55 memcpy(&dst[*offset], data, len);
56 *offset += len;
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dtest-size-params.cc56 unsigned int len; local
64 len = g_mapped_file_get_length (mf);
71 len = ftell (f);
73 font_data = (const char *) malloc (len);
74 if (!font_data) len = 0;
75 len = fread ((char *) font_data, 1, len, f);
82 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
H A Dtest-would-substitute.cc60 unsigned int len; local
68 len = g_mapped_file_get_length (mf);
75 len = ftell (f);
77 font_data = (const char *) malloc (len);
78 if (!font_data) len = 0;
79 len = fread ((char *) font_data, 1, len, f);
86 blob = hb_blob_create (font_data, len, mm, user_data, destroy);
99 unsigned int len = argc - 3; local
105 return !hb_ot_layout_lookup_would_substitute (face, strtol (argv[2], NULL, 0), glyphs, len, fals
[all...]
/external/chromium_org/third_party/hwcplus/include/sync/
H A Dsync.h29 uint32_t len; member in struct:sync_fence_info_data
36 uint32_t len; member in struct:sync_pt_info
/external/chromium_org/third_party/icu/source/common/
H A Dstringpiece.cpp29 StringPiece::StringPiece(const StringPiece& x, int32_t pos, int32_t len) { argument
35 if (len < 0) {
36 len = 0;
37 } else if (len > x.length_ - pos) {
38 len = x.length_ - pos;
41 length_ = len;
54 int32_t len = x.size(); local
55 if (len != y.size()) {
58 if (len == 0) {
64 --len;
[all...]

Completed in 799 milliseconds

1234567891011>>