/external/chromium_org/content/child/webcrypto/openssl/ |
H A D | util_openssl.cc | 69 if (data.byte_length() < tag_length_bytes) 72 buffer->resize(data.byte_length() - tag_length_bytes); 79 iv.byte_length(), 81 data.byte_length(), 83 additional_data.byte_length()); 87 buffer->resize(data.byte_length() + EVP_AEAD_max_overhead(aead_alg)); 94 iv.byte_length(), 96 data.byte_length(), 98 additional_data.byte_length());
|
H A D | aes_ctr_openssl.cc | 43 // |input.byte_length()|. 50 DCHECK_EQ(16u, counter.byte_length()); 73 input.byte_length())) { 83 if (static_cast<unsigned int>(output_len) != input.byte_length()) 103 unsigned int byte_length = counter_length_bits / 8; local 105 counter_block.bytes() + counter_block.byte_length() - byte_length, 106 byte_length, 112 unsigned int byte_length = CeilDiv(counter_length_bits, 8u); local 114 counter_block.bytes() + counter_block.byte_length() [all...] |
H A D | aes_kw_openssl.cc | 44 if ((mode == ENCRYPT && data.byte_length() < 16) || 45 (mode == DECRYPT && data.byte_length() < 24)) { 48 if (data.byte_length() % 8)
|
H A D | rsa_ssa_openssl.cc | 78 !EVP_DigestSignUpdate(ctx.get(), data.bytes(), data.byte_length()) || 111 if (!EVP_DigestVerifyUpdate(ctx.get(), data.bytes(), data.byte_length())) { 120 ctx.get(), signature.bytes(), signature.byte_length());
|
H A D | aes_cbc_openssl.cc | 56 base::CheckedNumeric<int> output_max_len = data.byte_length(); 95 data.byte_length()))
|
H A D | hmac_openssl.cc | 60 data.byte_length(), 118 base::CheckedNumeric<unsigned int> keylen_bits(key_data.byte_length()); 200 *signature_match = result.size() == signature.byte_length() && 203 signature.byte_length());
|
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/utf/ |
H A D | unilib.h | 80 int SpanInterchangeValid(const char* src, int byte_length); 88 inline bool IsInterchangeValid(const char* src, int byte_length) { argument 89 return (byte_length == SpanInterchangeValid(src, byte_length));
|
H A D | unicodetext.cc | 169 void UnicodeText::Repr::append(const char* bytes, int byte_length) { argument 170 reserve(size_ + byte_length); 171 memcpy(data_ + size_, bytes, byte_length); 172 size_ += byte_length; 231 UnicodeText& UnicodeText::CopyUTF8(const char* buffer, int byte_length) { argument 232 repr_.Copy(buffer, byte_length); 233 if (!UniLib:: IsInterchangeValid(buffer, byte_length)) { 235 repr_.size_ = ConvertToInterchangeValid(repr_.data_, byte_length); 241 int byte_length) { 242 repr_.Copy(buffer, byte_length); 240 UnsafeCopyUTF8(const char* buffer, int byte_length) argument 248 TakeOwnershipOfUTF8(char* buffer, int byte_length, int byte_capacity) argument 259 UnsafeTakeOwnershipOfUTF8(char* buffer, int byte_length, int byte_capacity) argument 268 PointToUTF8(const char* buffer, int byte_length) argument 279 UnsafePointToUTF8(const char* buffer, int byte_length) argument [all...] |
H A D | unilib.cc | 48 int SpanInterchangeValid(const char* begin, int byte_length) { argument 51 const char* end = begin + byte_length;
|
H A D | unicodetext.h | 301 UnicodeText& CopyUTF8(const char* utf8_buffer, int byte_length); 306 int byte_length, 312 // CopyUTF8(utf8_buffer, byte_length). 313 UnicodeText& PointToUTF8(const char* utf8_buffer, int byte_length); 342 void append(const char* bytes, int byte_length); 362 UnicodeText& UnsafeCopyUTF8(const char* utf8_buffer, int byte_length); 364 char* utf8_buffer, int byte_length, int byte_capacity); 365 UnicodeText& UnsafePointToUTF8(const char* utf8_buffer, int byte_length); 366 UnicodeText& UnsafeAppendUTF8(const char* utf8_buffer, int byte_length); 399 char* utf8_buffer, int byte_length, in 398 MakeUnicodeTextAcceptingOwnership( char* utf8_buffer, int byte_length, int byte_capacity) argument 408 MakeUnicodeTextWithoutAcceptingOwnership( const char* utf8_buffer, int byte_length) argument [all...] |
/external/chromium_org/content/child/webcrypto/ |
H A D | crypto_data.h | 29 CryptoData(const unsigned char* bytes, unsigned int byte_length); 38 unsigned int byte_length() const { return byte_length_; } function in class:content::webcrypto::CryptoData
|
H A D | crypto_data.cc | 13 CryptoData::CryptoData(const unsigned char* bytes, unsigned int byte_length) argument 14 : bytes_(bytes), byte_length_(byte_length) {}
|
/external/chromium_org/v8/src/ |
H A D | arraybuffer.js | 40 var byte_length = %_ArrayBufferGetByteLength(this); 42 first = MathMax(byte_length + relativeStart, 0); 44 first = MathMin(relativeStart, byte_length); 46 var relativeEnd = IS_UNDEFINED(end) ? byte_length : end; 49 fin = MathMax(byte_length + relativeEnd, 0); 51 fin = MathMin(relativeEnd, byte_length);
|
/external/chromium_org/ppapi/api/ |
H A D | ppb_var_array_buffer.idl | 39 * bytes. On success, <code>byte_length</code> is set to the length of the 40 * given <code>ArrayBuffer</code> var. On failure, <code>byte_length</code> 50 * @param[out] byte_length A variable which is set to the length of the given 55 PP_Bool ByteLength([in] PP_Var array, [out] uint32_t byte_length); 72 * uint32_t byte_length = 0; 73 * PP_Bool ok = array_buffer_if.ByteLength(array_buffer_var, &byte_length); 76 * for (uint32_t i = 0; i < byte_length; ++i)
|
/external/chromium_org/ppapi/c/ |
H A D | ppb_var_array_buffer.h | 52 * bytes. On success, <code>byte_length</code> is set to the length of the 53 * given <code>ArrayBuffer</code> var. On failure, <code>byte_length</code> 63 * @param[out] byte_length A variable which is set to the length of the given 68 PP_Bool (*ByteLength)(struct PP_Var array, uint32_t* byte_length); 84 * uint32_t byte_length = 0; 85 * PP_Bool ok = array_buffer_if.ByteLength(array_buffer_var, &byte_length); 88 * for (uint32_t i = 0; i < byte_length; ++i)
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/ |
H A D | fake_var_array_buffer_interface.h | 18 virtual PP_Bool ByteLength(struct PP_Var var, uint32_t* byte_length);
|
H A D | fake_var_array_buffer_interface.cc | 25 uint32_t* byte_length) { 29 *byte_length = data->buffer_value.length; 24 ByteLength(struct PP_Var var, uint32_t* byte_length) argument
|
/external/chromium_org/ppapi/cpp/ |
H A D | var_array_buffer.cc | 53 uint32_t byte_length = std::numeric_limits<uint32_t>::max(); local 55 get_interface<PPB_VarArrayBuffer_1_0>()->ByteLength(var_, &byte_length); 58 return byte_length;
|
/external/chromium_org/content/child/webcrypto/nss/ |
H A D | aes_cbc_nss.cc | 34 if (iv.byte_length() != 16) 55 base::CheckedNumeric<int> output_max_len = data.byte_length(); 68 (data.byte_length() == 0 || (data.byte_length() % AES_BLOCK_SIZE != 0))) { 84 data.byte_length())) {
|
H A D | aes_kw_nss.cc | 37 DCHECK_GE(wrapped_key_data.byte_length(), 24u); 38 DCHECK_EQ(wrapped_key_data.byte_length() % 8, 0u); 49 const unsigned int plaintext_length = wrapped_key_data.byte_length() - 8; 142 if (data.byte_length() < 16) 144 if (data.byte_length() % 8) 169 if (data.byte_length() < 24) 171 if (data.byte_length() % 8)
|
H A D | aes_gcm_nss.cc | 82 gcm_params.ulIvLen = iv.byte_length(); 85 gcm_params.ulAADLen = additional_data.byte_length(); 94 base::CheckedNumeric<unsigned int> buffer_size(data.byte_length()); 104 // sized as |data.byte_length() - tag_length_bytes|. 130 data.byte_length());
|
H A D | rsa_ssa_nss.cc | 79 data.byte_length(), 125 data.byte_length(),
|
H A D | util_nss.cc | 33 const_cast<unsigned char*>(buffer.bytes()), buffer.byte_length()};
|
/external/chromium_org/tools/imagediff/ |
H A D | image_diff.cc | 80 bool CreateFromStdin(size_t byte_length) { argument 81 if (byte_length == 0) 84 scoped_ptr<unsigned char[]> source(new unsigned char[byte_length]); 85 if (fread(source.get(), 1, byte_length, stdin) != byte_length) 88 if (!image_diff_png::DecodePNG(source.get(), byte_length,
|
/external/chromium_org/ppapi/shared_impl/ |
H A D | ppb_var_shared.cc | 89 PP_Bool ByteLength(PP_Var array, uint32_t* byte_length) { argument 94 *byte_length = buffer->ByteLength();
|