/external/clearsilver/util/test/ |
hdf_dealloc_test.c | 18 char buffer[64]; local 20 snprintf(buffer, sizeof(buffer), "node.%d.test.%d", i, j); 21 hdf_set_value(hdf, buffer, "test");
|
/external/qemu/android/utils/ |
timezone.h | 20 /* append the current host "zoneinfo" timezone name to a given buffer. note 29 extern char* bufprint_zoneinfo_timezone( char* buffer, char* end );
|
/external/qemu/distrib/sdl-1.2.12/src/video/dc/ |
SDL_dcvideo.h | 39 void *buffer; member in struct:SDL_PrivateVideoData
|
/external/qemu/distrib/sdl-1.2.12/src/video/dummy/ |
SDL_nullvideo.h | 37 void *buffer; member in struct:SDL_PrivateVideoData
|
/external/qemu/distrib/sdl-1.2.12/src/video/ipod/ |
SDL_ipodvideo.h | 33 char *buffer; member in struct:SDL_PrivateVideoData
|
/external/webkit/JavaScriptCore/runtime/ |
StringBuilder.h | 37 buffer.append(u); 47 buffer.reserveCapacity(buffer.size() + len); 49 buffer.append(static_cast<unsigned char>(str[i])); 54 buffer.append(str, len); 59 buffer.append(str.data(), str.size()); 62 bool isEmpty() { return buffer.isEmpty(); } 63 void reserveCapacity(size_t newCapacity) { buffer.reserveCapacity(newCapacity); } 64 void resize(size_t size) { buffer.resize(size); } 65 size_t size() const { return buffer.size(); 78 Vector<UChar, 64> buffer; member in class:JSC::StringBuilder [all...] |
/external/webkit/WebCore/platform/mac/ |
KURLMac.mm | 41 Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string 42 char* bytes = &buffer[5]; 50 buffer[0] = 'f'; 51 buffer[1] = 'i'; 52 buffer[2] = 'l'; 53 buffer[3] = 'e'; 54 buffer[4] = ':'; 56 parse(buffer.data(), 0);
|
/hardware/libhardware_legacy/include/hardware_legacy/ |
uevent.h | 25 int uevent_next_event(char* buffer, int buffer_length);
|
/build/tools/fs_config/ |
fs_config.c | 44 char buffer[1024]; local 46 while (fgets(buffer, 1023, stdin) != NULL) { 49 for (i = 0; i < 1024 && buffer[i]; ++i) { 50 switch (buffer[i]) { 52 buffer[i-is_dir] = '\0'; 65 fs_config(buffer, is_dir, &uid, &gid, &mode); 66 printf("%s %d %d %o\n", buffer, uid, gid, mode);
|
/libcore/luni/src/main/java/java/io/ |
OutputStream.java | 68 * Writes the entire contents of the byte array {@code buffer} to this 71 * @param buffer 72 * the buffer to be written. 76 public void write(byte[] buffer) throws IOException { 80 write(buffer, 0, buffer.length); 84 * Writes {@code count} bytes from the byte array {@code buffer} starting at 87 * @param buffer 88 * the buffer to be written. 90 * the start position in {@code buffer} from where to get bytes [all...] |
/system/core/libcutils/ |
buffer.h | 18 * Byte buffer utilities. 31 * Byte buffer of known size. Keeps track of how much data has been read 32 * into or written out of the buffer. 46 /** Actual # of bytes in the buffer. */ 49 /** Amount of memory allocated for this buffer. */ 51 } Buffer; 54 * Returns true if all data has been read into the buffer. 56 #define bufferReadComplete(buffer) (buffer->expected == buffer->size [all...] |
/frameworks/base/core/java/android/text/method/ |
ArrowKeyMovementMethod.java | 32 private boolean isCap(Spannable buffer) { 33 return ((MetaKeyKeyListener.getMetaState(buffer, KeyEvent.META_SHIFT_ON) == 1) || 34 (MetaKeyKeyListener.getMetaState(buffer, MetaKeyKeyListener.META_SELECTING) != 0)); 37 private boolean isAlt(Spannable buffer) { 38 return MetaKeyKeyListener.getMetaState(buffer, KeyEvent.META_ALT_ON) == 1; 41 private boolean up(TextView widget, Spannable buffer) { 42 boolean cap = isCap(buffer); 43 boolean alt = isAlt(buffer); 48 Selection.extendSelection(buffer, 0); 51 return Selection.extendUp(buffer, layout) [all...] |
/external/apache-http/src/org/apache/http/message/ |
BufferedHeader.java | 57 * The buffer containing the entire header line. 59 private final CharArrayBuffer buffer; field in class:BufferedHeader 62 * The beginning of the header value in the buffer 68 * Creates a new header from a buffer. 72 * @param buffer the buffer containing the header to represent 76 public BufferedHeader(final CharArrayBuffer buffer) 80 if (buffer == null) { 82 ("Char array buffer may not be null"); 84 int colon = buffer.indexOf(':') [all...] |
ParserCursor.java | 91 CharArrayBuffer buffer = new CharArrayBuffer(16); local 92 buffer.append('['); 93 buffer.append(Integer.toString(this.lowerBound)); 94 buffer.append('>'); 95 buffer.append(Integer.toString(this.pos)); 96 buffer.append('>'); 97 buffer.append(Integer.toString(this.upperBound)); 98 buffer.append(']'); 99 return buffer.toString();
|
/external/stlport/test/eh/ |
test_algobase.cpp | 43 void operator()( TestClass* buffer ) const 45 EH_STD::uninitialized_copy((TestClass*)stuff, (TestClass*)end_of_stuff, buffer ); 46 EH_ASSERT( EH_STD::equal( (TestClass*)stuff, (TestClass*)end_of_stuff, buffer ) ); 47 stl_destroy( buffer, buffer+kBufferSize ); 61 void operator()( TestClass* buffer ) const 63 TestClass* buf_end = buffer + kBufferSize; 64 EH_STD::uninitialized_fill( buffer, buf_end, testValue ); 66 EH_ASSERT( buffer[i] == testValue ); 67 stl_destroy( buffer, buf_end ) [all...] |
/external/protobuf/src/google/protobuf/io/ |
printer_unittest.cc | 50 // where particular writes cross a buffer boundary and cases where they do 54 char buffer[8192]; local 56 ArrayOutputStream output(buffer, GOOGLE_ARRAYSIZE(buffer), block_size); 62 char buffer[8192]; local 65 ArrayOutputStream output(buffer, sizeof(buffer), block_size); 77 buffer[output.ByteCount()] = '\0'; 82 buffer); 87 char buffer[8192] local 115 char buffer[8192]; local 151 char buffer[8192]; local 172 char buffer[8192]; local 225 char buffer[8192]; local 237 char buffer[16]; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeader.java | 98 StringBuffer buffer = new StringBuffer(encodedHdr); local 99 while (buffer.length() > 0 && buffer.charAt(0) != ':') { 100 buffer.deleteCharAt(0); 102 if (buffer.length() > 0) 103 buffer.deleteCharAt(0); 104 return buffer.toString().trim(); 121 public StringBuffer encode(StringBuffer buffer) { 122 buffer.append(this.headerName).append(COLON).append(SP); 123 this.encodeBody(buffer); [all...] |
/external/webkit/WebCore/platform/cf/ |
KURLCFNet.cpp | 44 Vector<char, 512> buffer(bytesLength + 6); // 5 for "file:", 1 for null character to end C string 45 char* bytes = &buffer[5]; 53 buffer[0] = 'f'; 54 buffer[1] = 'i'; 55 buffer[2] = 'l'; 56 buffer[3] = 'e'; 57 buffer[4] = ':'; 59 parse(buffer.data(), 0); 68 Vector<char, 512> buffer; local 69 copyToBuffer(buffer); [all...] |
/external/dropbear/ |
rsa.h | 29 #include "buffer.h" 47 void buf_put_rsa_sign(buffer* buf, rsa_key *key, const unsigned char* data, 50 int buf_rsa_verify(buffer * buf, rsa_key *key, const unsigned char* data, 53 int buf_get_rsa_pub_key(buffer* buf, rsa_key *key); 54 int buf_get_rsa_priv_key(buffer* buf, rsa_key *key); 55 void buf_put_rsa_pub_key(buffer* buf, rsa_key *key); 56 void buf_put_rsa_priv_key(buffer* buf, rsa_key *key);
|
/external/easymock/src/org/easymock/internal/ |
ErrorMessage.java | 44 public void appendTo(StringBuilder buffer, int matches) {
45 buffer.append("\n ").append(message).append(", actual: ");
48 buffer.append(getActualCount() + 1);
50 buffer.append(getActualCount());
51 buffer.append(" (+1)");
55 buffer.append(getActualCount());
|
/external/skia/include/effects/ |
SkTransparentShader.h | 34 virtual void flatten(SkFlattenableWriteBuffer& buffer) 36 this->INHERITED::flatten(buffer); 44 SkTransparentShader(SkFlattenableReadBuffer& buffer) : INHERITED(buffer) {} 46 static SkFlattenable* Create(SkFlattenableReadBuffer& buffer) 48 return SkNEW_ARGS(SkTransparentShader, (buffer));
|
/external/webkit/WebCore/platform/graphics/win/ |
FontCustomPlatformDataCairo.cpp | 45 FontCustomPlatformDataCairo* createFontCustomPlatformData(SharedBuffer* buffer) 47 ASSERT_ARG(buffer, buffer); 49 buffer->ref(); 50 HFONT font = reinterpret_cast<HFONT>(buffer); 56 cairo_font_face_set_user_data(fontFace, &bufferKey, buffer, releaseData);
|
/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
Socks4Message.java | 53 protected byte[] buffer; field in class:Socks4Message 57 buffer = new byte[BUFFER_LENGTH]; 65 return buffer[INDEX_COMMAND]; 72 buffer[INDEX_COMMAND] = (byte) command; 100 buffer[INDEX_IP] = ip[0]; 101 buffer[INDEX_IP + 1] = ip[1]; 102 buffer[INDEX_IP + 2] = ip[2]; 103 buffer[INDEX_IP + 3] = ip[3]; 145 for (index = INDEX_USER_ID; buffer[index] != 0; index++) { 174 * Returns the message's byte buffer [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
ExtensionValue.java | 55 public void dumpValue(StringBuffer buffer, String prefix) { 56 buffer.append(prefix).append("Unparseable extension value:\n"); 61 buffer.append("NULL\n"); 63 buffer.append(Array.toString(encoding, prefix)); 71 public void dumpValue(StringBuffer buffer) { 72 dumpValue(buffer, "");
|
/external/embunit/src/ |
AssertImpl.c | 41 char buffer[32]; /*"exp -2147483647 was -2147483647"*/ local 44 stdimpl_strcpy(buffer, "exp "); 47 stdimpl_strncat(buffer, numbuf, 11); } 49 stdimpl_strcat(buffer, " was "); 52 stdimpl_strncat(buffer, numbuf, 11); } 54 addFailure(buffer, line, file); 59 char buffer[ASSERT_STRING_BUFFER_MAX]; local 93 stdimpl_strcpy(buffer, "exp \""); 94 stdimpl_strncat(buffer, expected, el); 95 stdimpl_strcat(buffer, "\" was \"") [all...] |