/external/webkit/Source/JavaScriptCore/wtf/ |
OSRandomSource.h | 32 // This function attempts to fill buffer with randomness from the operating 33 // system. If insufficient randomness is available, the buffer will be 36 void cryptographicallyRandomValuesFromOS(unsigned char* buffer, size_t length);
|
/external/webkit/Source/WebCore/platform/haiku/ |
SharedBufferHaiku.cpp | 46 Vector<char> buffer(size); 47 file.Read(buffer.data(), buffer.size()); 48 return SharedBuffer::adoptVector(buffer);
|
/external/harfbuzz_ng/src/ |
hb-ot-shape-fallback-private.hh | 37 hb_buffer_t *buffer); 41 hb_buffer_t *buffer); 46 hb_buffer_t *buffer);
|
/external/jmonkeyengine/engine/src/networking/com/jme3/network/serializing/serializers/ |
StringSerializer.java | 66 byte[] buffer = new byte[length]; 67 data.get(buffer); 68 return new String(buffer, "UTF-8"); 71 public void writeObject(ByteBuffer buffer, Object object) throws IOException { 76 buffer.put((byte)0); 84 buffer.put((byte)1); 85 buffer.put((byte)bufferLength); 87 buffer.put((byte)2); 88 buffer.putShort((short)bufferLength); 90 buffer.put((byte)3) [all...] |
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/ |
SDL_coreaudio.h | 35 void *buffer; member in struct:SDL_PrivateAudioData 42 #define buffer (this->hidden->buffer) macro
|
/external/skia/legacy/src/ports/ |
SkDebug_brew.cpp | 20 char buffer[kBufferSize + 1]; local 23 VSNPRINTF(buffer, kBufferSize, format, args); 25 DBGPRINTF(buffer);
|
SkDebug_stdio.cpp | 18 char buffer[kBufferSize + 1]; local 21 vsnprintf(buffer, kBufferSize, format, args); 23 fprintf(stderr, "%s", buffer);
|
/external/skia/src/ports/ |
SkDebug_brew.cpp | 20 char buffer[kBufferSize + 1]; local 23 VSNPRINTF(buffer, kBufferSize, format, args); 25 DBGPRINTF(buffer);
|
SkDebug_stdio.cpp | 18 char buffer[kBufferSize + 1]; local 21 vsnprintf(buffer, kBufferSize, format, args); 23 fprintf(stderr, "%s", buffer);
|
/external/skia/src/utils/ |
SkMD5.h | 25 * Note that this treats the buffer as a series of uint8_t values. 27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE { 28 update(reinterpret_cast<const uint8_t*>(buffer), size); 49 // input buffer 50 uint8_t buffer[64]; member in class:SkMD5
|
SkSHA1.h | 25 * Note that this treats the buffer as a series of uint8_t values. 27 virtual bool write(const void* buffer, size_t size) SK_OVERRIDE { 28 update(reinterpret_cast<const uint8_t*>(buffer), size); 49 // input buffer 50 uint8_t buffer[64]; member in class:SkSHA1
|
/external/webkit/Source/WebCore/platform/graphics/freetype/ |
FontCustomPlatformDataFreeType.cpp | 38 FontCustomPlatformData::FontCustomPlatformData(FT_Face freeTypeFace, SharedBuffer* buffer) 44 buffer->ref(); // This is balanced by the buffer->deref() in releaseCustomFontData. 46 cairo_font_face_set_user_data(m_fontFace, &bufferKey, buffer, 67 FontCustomPlatformData* createFontCustomPlatformData(SharedBuffer* buffer) 69 ASSERT_ARG(buffer, buffer); 72 if (isWOFF(buffer)) { 74 if (!convertWOFFToSfnt(buffer, sfnt)) 78 buffer = sfntBuffer.get() [all...] |
/frameworks/native/include/utils/ |
Flattenable.h | 29 * to a byte-buffer and an array of file descriptors. 41 // flattens the object into buffer. 46 virtual status_t flatten(void* buffer, size_t size, 49 // unflattens the object from buffer. 56 virtual status_t unflatten(void const* buffer, size_t size, 66 * to a byte-buffer. 82 // flattens the object into buffer. 83 inline status_t flatten(void* buffer) const; 85 // unflattens the object from buffer of given size. 86 inline status_t unflatten(void const* buffer, size_t size) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BasicLineParser.java | 120 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 121 buffer.append(value); 123 return parser.parseProtocolVersion(buffer, cursor); 128 public ProtocolVersion parseProtocolVersion(final CharArrayBuffer buffer, 132 if (buffer == null) { 133 throw new IllegalArgumentException("Char array buffer may not be null"); 145 skipWhitespace(buffer, cursor); 153 buffer.substring(indexFrom, indexTo)); 159 ok = (buffer.charAt(i+j) == protoname.charAt(j)); 162 ok = (buffer.charAt(i+protolength) == '/') 285 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 385 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local 476 CharArrayBuffer buffer = new CharArrayBuffer(value.length()); local [all...] |
/external/openssh/ |
bufbn.c | 50 #include "buffer.h" 55 * Stores an BIGNUM in the buffer with a 2-byte msb first bit count, followed 59 buffer_put_bignum_ret(Buffer *buffer, const BIGNUM *value) 76 /* Store the number of bits in the buffer in two bytes, msb first. */ 78 buffer_append(buffer, msg, 2); 80 buffer_append(buffer, buf, oi); 89 buffer_put_bignum(Buffer *buffer, const BIGNUM *value) 91 if (buffer_put_bignum_ret(buffer, value) == -1 [all...] |
/frameworks/base/libs/hwui/ |
RenderBufferCache.cpp | 46 INIT_LOGD(" Setting render buffer cache size to %sMB", property); 49 INIT_LOGD(" Using default render buffer cache size of %.2fMB", 91 void RenderBufferCache::deleteBuffer(RenderBuffer* buffer) { 92 if (buffer) { 93 RENDER_BUFFER_LOGD("Deleted %s render buffer (%dx%d)", 94 RenderBuffer::formatName(buffer->getFormat()), 95 buffer->getWidth(), buffer->getHeight()); 97 mSize -= buffer->getSize(); 98 delete buffer; 111 RenderBuffer* buffer = NULL; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/crypto/ |
SHA1_MessageDigestImpl.java | 35 private int[] buffer; // buffer has the following structure: field in class:SHA1_MessageDigestImpl 42 private byte[] oneByte; // one byte buffer needed to use in engineUpdate(byte) 43 // having buffer as private field is just optimization 54 buffer = new int[BYTES_OFFSET +6]; 86 lastWord = (buffer[BYTES_OFFSET] + 3)>>2 ; // computing of # of full words by shifting 91 // - buffer[BYTES_OFFSET] == 0 - buffer frame is empty, 102 if ( buffer[BYTES_OFFSET] != 0 ) { 108 buffer[15] = 0; // last word in frame is set to "0 [all...] |
/external/apache-http/src/org/apache/http/util/ |
CharArrayBuffer.java | 47 private char[] buffer; field in class:CharArrayBuffer 53 throw new IllegalArgumentException("Buffer capacity may not be negative"); 55 this.buffer = new char[capacity]; 59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; 60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); 61 this.buffer = newbuffer; 76 if (newlen > this.buffer.length) { 79 System.arraycopy(b, off, this.buffer, this.len, len); 89 if (newlen > this.buffer.length) { 92 str.getChars(0, strlen, this.buffer, this.len) 172 public char[] buffer() { method in class:CharArrayBuffer [all...] |
/external/e2fsprogs/ext2ed/ |
blockbitmap_com.c | 43 char *ptr,buffer [80]; local 47 ptr=parse_word (command_line,buffer); /* Get the requested entry */ 52 ptr=parse_word (ptr,buffer); 54 entry_num=atol (buffer); 66 strcpy (buffer,"show");dispatch (buffer); /* dispatch a show command */ 79 char *ptr,buffer [80]; local 81 ptr=parse_word (command_line,buffer); 83 ptr=parse_word (ptr,buffer); 84 entry_offset=atol (buffer); 95 char *ptr,buffer [80]; local 119 char *ptr,buffer [80]; local 148 char *ptr,buffer [80]; local [all...] |
inodebitmap_com.c | 30 char *ptr,buffer [80]; local 32 ptr=parse_word (command_line,buffer); 36 ptr=parse_word (ptr,buffer); 38 entry_num=atol (buffer); 45 strcpy (buffer,"show");dispatch (buffer); 52 char *ptr,buffer [80]; local 54 ptr=parse_word (command_line,buffer); 56 ptr=parse_word (ptr,buffer); 57 entry_offset=atol (buffer); 68 char *ptr,buffer [80]; local 84 char *ptr,buffer [80]; local 110 char *ptr,buffer [80]; local [all...] |
/external/chromium/third_party/libjingle/source/talk/base/ |
stringencode.cc | 63 size_t escape(char * buffer, size_t buflen, 66 ASSERT(NULL != buffer); // TODO: estimate output size 76 buffer[bufpos++] = escape; 78 buffer[bufpos++] = ch; 81 buffer[bufpos] = '\0'; 85 size_t unescape(char * buffer, size_t buflen, 88 ASSERT(NULL != buffer); // TODO: estimate output size 98 buffer[bufpos++] = ch; 100 buffer[bufpos] = '\0'; 104 size_t encode(char * buffer, size_t buflen [all...] |
/external/valgrind/main/none/tests/s390x/ |
srst.c | 2 char buffer[24] ="0123456789abcdefghijklmn"; variable 52 buf = srst3(&buffer[23], &buffer[23], '0', &cc); 56 buf = srst3(&buffer[23], &buffer[0], '0', &cc); 60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc); 64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc); 68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc) [all...] |
/external/icu4c/tools/genrb/ |
rle.c | 39 appendEncodedByte(uint16_t* buffer, uint16_t* buffLimit, uint8_t value, uint8_t state[],UErrorCode* status) { 45 if(buffer < buffLimit){ 46 *buffer++ = c; 51 return buffer; 56 return buffer; 64 encodeRunByte(uint16_t* buffer,uint16_t* bufLimit, uint8_t value, int32_t length, uint8_t state[], UErrorCode* status) { 72 buffer = appendEncodedByte(buffer,bufLimit, ESCAPE_BYTE, state,status); 74 buffer = appendEncodedByte(buffer,bufLimit, value, state, status) [all...] |
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
ASCCharsetDecoderTest.java | 48 // ByteBuffer buffer = ByteBuffer.allocate(8); 49 // buffer.put((byte)-1); 50 // buffer.put(unibytes); 51 // buffer.flip(); 52 // return buffer; 58 ByteBuffer buffer = ByteBuffer.allocate(8); local 59 buffer.put((byte) -1); 60 buffer.put(getByteBuffer()); 61 buffer.flip(); 62 return buffer; [all...] |
GBCharsetDecoderTest.java | 53 ByteBuffer buffer = ByteBuffer.allocate(20); local 54 buffer.put(new byte[] { (byte) 0xd8 }); 55 buffer.put(getByteBuffer()); 56 buffer.flip(); 57 return buffer;
|