/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/encoders/ |
H A D | Hex.java | 16 return toHexString(data, 0, data.length); 22 int length) 24 byte[] encoded = encode(data, off, length); 36 return encode(data, 0, data.length); 47 int length) 53 encoder.encode(data, off, length, bOut); 73 return encoder.encode(data, 0, data.length, out); 84 int length, 88 return encoder.encode(data, off, length, out); 103 encoder.decode(data, 0, data.length, bOu 19 toHexString( byte[] data, int off, int length) argument 44 encode( byte[] data, int off, int length) argument 81 encode( byte[] data, int off, int length, OutputStream out) argument [all...] |
H A D | HexEncoder.java | 22 for (int i = 0; i < decodingTable.length; i++) 27 for (int i = 0; i < encodingTable.length; i++) 53 int length, 57 for (int i = off; i < (off + length); i++) 65 return length * 2; 83 int length, 90 int end = off + length; 144 int length = 0; 146 int end = data.length(); 182 length 50 encode( byte[] data, int off, int length, OutputStream out) argument 80 decode( byte[] data, int off, int length, OutputStream out) argument [all...] |
/external/ceres-solver/internal/ceres/ |
H A D | stringprintf.cc | 88 int length = result+1; local 89 char* buf = new char[length]; 93 result = vsnprintf(buf, length, format, backup_ap); 96 if (result >= 0 && result < length) {
|
/external/chromium_org/base/files/ |
H A D | memory_mapped_file.h | 68 size_t length() const { return length_; } function in class:base::MemoryMappedFile
|
/external/chromium_org/base/json/ |
H A D | string_escape.cc | 76 CHECK_LE(str.length(), static_cast<size_t>(kint32max)); 77 const int32 length = static_cast<int32>(str.length()); local 79 for (int32 i = 0; i < length; ++i) { 81 if (!ReadUnicodeCharacter(str.data(), length, &i, &code_point)) {
|
/external/chromium_org/base/memory/ |
H A D | ref_counted_memory.h | 50 RefCountedStaticMemory(const void* data, size_t length) argument 51 : data_(static_cast<const unsigned char*>(length ? data : NULL)), 52 length_(length) {} 129 RefCountedMallocedMemory(void* data, size_t length);
|
/external/chromium_org/base/ |
H A D | rand_util.cc | 64 std::string RandBytesAsString(size_t length) { argument 65 DCHECK_GT(length, 0u); 67 RandBytes(WriteInto(&result, length + 1), length); local
|
/external/chromium_org/base/win/ |
H A D | resource_util.cc | 15 size_t* length) { 39 *length = static_cast<size_t>(data_size); 46 size_t* length) { 47 return GetResourceFromModule(module, resource_id, L"BINDATA", data, length); 11 GetResourceFromModule(HMODULE module, int resource_id, LPCTSTR resource_type, void** data, size_t* length) argument 43 GetDataResourceFromModule(HMODULE module, int resource_id, void** data, size_t* length) argument
|
/external/chromium_org/chrome/browser/extensions/ |
H A D | blob_reader.cc | 39 void BlobReader::SetByteRange(int64 offset, int64 length) { argument 42 CHECK_GT(length, 0); 43 CHECK_LE(offset, kint64max - length); 49 offset + length - 1)); 62 int64 first = 0, last = 0, length = 0; local 64 source->GetResponseHeaders()->GetContentRange(&first, &last, &length); 65 callback_.Run(response.Pass(), length);
|
/external/chromium_org/chrome/browser/spellchecker/ |
H A D | misspelling.cc | 7 // |location|, and |length| instead of only misspelled text, because the 35 : location(0), length(0), hash(0), timestamp(base::Time::Now()) { 40 size_t length, 45 length(length), 59 result->SetInteger("misspelledLength", length); 70 // that are out-of-bounds of checked text length. 71 if (location > context.length()) 73 return context.substr(location, length); 38 Misspelling(const base::string16& context, size_t location, size_t length, const std::vector<base::string16>& suggestions, uint32 hash) argument
|
/external/chromium_org/chrome/common/ |
H A D | multi_process_lock_linux.cc | 39 if (name_.length() > max_len) { 40 LOG(ERROR) << "Socket name too long (" << name_.length() 59 size_t length = SUN_LEN(&address); variable 74 length) == 0) { 80 << " Length: " << length;
|
H A D | spellcheck_result.h | 33 : decoration(d), location(loc), length(len), replacement(rep), hash(h) { 38 int length; member in struct:SpellCheckResult
|
/external/chromium_org/components/cronet/android/ |
H A D | wrapped_channel_upload_element_reader.cc | 16 uint64 length) 17 : length_(length), offset_(0), delegate_(delegate) { 14 WrappedChannelElementReader( scoped_refptr<URLRequestAdapter::URLRequestAdapterDelegate> delegate, uint64 length) argument
|
/external/chromium_org/content/child/npapi/ |
H A D | plugin_stream_posix.cc | 29 size_t PluginStream::WriteBytes(const char* buf, size_t length) { argument 30 return fwrite(buf, sizeof(char), length, temp_file_);
|
H A D | plugin_stream_win.cc | 25 size_t PluginStream::WriteBytes(const char *buf, size_t length) { argument 28 if (!WriteFile(temp_file_handle_, buf, length, &bytes, 0))
|
H A D | plugin_string_stream.cc | 28 int length = static_cast<int>(data.length()); local 29 if (Open(mime_type, std::string(), length, 0, false)) { 31 int written = Write(data.c_str(), length, 0); 32 NPReason reason = written == length ? NPRES_DONE : NPRES_NETWORK_ERR;
|
/external/chromium_org/content/child/webcrypto/test/ |
H A D | sha_unittest.cc | 63 size_t length = test_input.size(); local 69 size_t chunk_length = std::min(kChunkSizeBytes, length - chunk_index);
|
/external/chromium_org/content/common/ |
H A D | gamepad_param_traits.cc | 43 int length; local 45 if (!m->ReadData(iter, &data, &length) || length != sizeof(WebGamepad))
|
H A D | resource_request_body.cc | 22 uint64 offset, uint64 length, 25 elements_.back().SetToFilePathRange(file_path, offset, length, 35 const GURL& url, uint64 offset, uint64 length, 38 elements_.back().SetToFileSystemUrlRange(url, offset, length, 20 AppendFileRange( const base::FilePath& file_path, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument 34 AppendFileSystemFileRange( const GURL& url, uint64 offset, uint64 length, const base::Time& expected_modification_time) argument
|
/external/chromium_org/content/renderer/media/ |
H A D | media_stream_audio_level_calculator.cc | 16 int MaxAmplitude(const int16* audio_data, int length) { argument 18 for (int i = 0; i < length; ++i) {
|
H A D | renderer_webmidiaccessor_impl.cc | 30 size_t length, 35 length, 27 sendMIDIData( unsigned port_index, const unsigned char* data, size_t length, double timestamp) argument
|
H A D | webrtc_local_audio_source_provider_unittest.cc | 29 const int length = variable 31 source_data_.reset(new int16[length]); 82 const int length = local 84 std::fill(source_data_.get(), source_data_.get() + length, 1);
|
/external/chromium_org/content/renderer/media/webrtc/ |
H A D | webrtc_local_audio_track_adapter_unittest.cc | 69 const int length = params_.frames_per_buffer() * params_.channels(); local 70 scoped_ptr<int16[]> data(new int16[length]); 72 memset(data.get(), 0, length * sizeof(data[0]));
|
/external/chromium_org/courgette/ |
H A D | region.h | 15 // a length measured in bytes. The Region object does not own the memory. 22 // Usual constructor for regions given a |start| address and |length|. 23 Region(const void* start, size_t length) argument 25 length_(length) { 32 length_(string.length()) { 48 // Returns the length of the region. 49 size_t length() const { return length_; } function in class:courgette::Region
|
/external/chromium_org/gin/ |
H A D | converter.h | 164 uint32_t length = array->Length(); local 165 for (uint32_t i = 0; i < length; ++i) {
|