/external/chromium_org/sdch/open-vcdiff/src/zlib/ |
adler32.c | 15 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 16 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 17 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 18 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4) [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/api/ |
platform.cpp | 44 size_t size, void *buf, size_t *size_ret) { 50 return string_property(buf, size, size_ret, "FULL_PROFILE"); 53 return string_property(buf, size, size_ret, 57 return string_property(buf, size, size_ret, "Default"); 60 return string_property(buf, size, size_ret, "Mesa"); 63 return string_property(buf, size, size_ret, "");
|
/external/chromium_org/third_party/openssl/openssl/crypto/asn1/ |
t_pkey.c | 66 unsigned char *buf, int off) 90 buf[0]=0; 94 n=BN_bn2bin(num,&buf[1]); 96 if (buf[1] & 0x80) 98 else buf++; 108 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
|
/external/chromium_org/third_party/zlib/ |
adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 21 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4) [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
NetworkTopologyEventImpl.java | 62 StringBuilder buf = new StringBuilder(); local 63 buf.append("[" + this.getClass().getSimpleName() + "@" + System.identityHashCode(this) + " "); 64 buf.append("\n\tinetAddress: '"); 65 buf.append(this.getInetAddress()); 66 buf.append("']"); 67 // buf.append("' source: "); 68 // buf.append("\n\t" + source + ""); 69 // buf.append("\n]"); 70 return buf.toString();
|
/external/libselinux/src/ |
policyvers.c | 17 char buf[20]; local 33 memset(buf, 0, sizeof buf); 34 ret = read(fd, buf, sizeof buf - 1); 39 if (sscanf(buf, "%u", &vers) != 1)
|
/external/ltrace/ |
debug.c | 31 char buf[1024]; local 38 vsnprintf(buf, 1024, fmt, args); 41 output_line(NULL, "DEBUG: %s:%d: %s", file, line, buf); 62 unsigned char buf[length]; local 63 size_t got = umovebytes(proc, addr, buf, length); 66 return xwritedump((long *)buf, addr, got / sizeof(long));
|
memstream.c | 35 memstream->stream = open_memstream(&memstream->buf, 39 memstream->buf = NULL; 56 memstream->buf = malloc(memstream->size); 57 if (memstream->buf == NULL) 61 if (fread(memstream->buf, 1, memstream->size, memstream->stream) 72 free(memstream->buf);
|
/external/mesa3d/src/gallium/state_trackers/clover/api/ |
platform.cpp | 44 size_t size, void *buf, size_t *size_ret) { 50 return string_property(buf, size, size_ret, "FULL_PROFILE"); 53 return string_property(buf, size, size_ret, 57 return string_property(buf, size, size_ret, "Default"); 60 return string_property(buf, size, size_ret, "Mesa"); 63 return string_property(buf, size, size_ret, "");
|
/external/openssl/crypto/asn1/ |
t_pkey.c | 66 unsigned char *buf, int off) 90 buf[0]=0; 94 n=BN_bn2bin(num,&buf[1]); 96 if (buf[1] & 0x80) 98 else buf++; 108 if (BIO_printf(bp,"%02x%s",buf[i],((i+1) == n)?"":":")
|
/external/qemu/distrib/libselinux/src/ |
policyvers.c | 17 char buf[20]; local 33 memset(buf, 0, sizeof buf); 34 ret = read(fd, buf, sizeof buf - 1); 39 if (sscanf(buf, "%u", &vers) != 1)
|
/external/qemu/distrib/zlib-1.2.8/ |
adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 21 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4) [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
Bind.java | 60 StringBuilder buf = new StringBuilder();
local 61 buf.append("<bind xmlns=\"urn:ietf:params:xml:ns:xmpp-bind\">");
63 buf.append("<resource>").append(resource).append("</resource>");
66 buf.append("<jid>").append(jid).append("</jid>");
68 buf.append("</bind>");
69 return buf.toString();
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
AdHocCommandData.java | 73 StringBuilder buf = new StringBuilder();
local 74 buf.append("<command xmlns=\"http://jabber.org/protocol/commands\"");
75 buf.append(" node=\"").append(node).append("\"");
78 buf.append(" sessionid=\"").append(sessionID).append("\"");
82 buf.append(" status=\"").append(status).append("\"");
85 buf.append(" action=\"").append(action).append("\"");
90 buf.append(" lang=\"").append(lang).append("\"");
93 buf.append(">");
96 buf.append("<actions");
99 buf.append(" execute=\"").append(executeAction).append("\""); 273 StringBuilder buf = new StringBuilder(); local [all...] |
/external/strace/test/ |
x32_mmap.c | 39 char buf[16*1024]; local 40 sprintf(buf, "/proc/%d/maps", getpid()); 41 int fd = open(buf, O_RDONLY); 43 int sz = read(fd, buf, sizeof(buf)); 45 write(1, buf, sz);
|
/external/wpa_supplicant_8/src/utils/ |
ip_addr.c | 14 const char * hostapd_ip_txt(const struct hostapd_ip_addr *addr, char *buf, 21 os_strlcpy(buf, inet_ntoa(addr->u.v4), buflen); 23 buf[0] = '\0'; 27 if (inet_ntop(AF_INET6, &addr->u.v6, buf, buflen) == NULL) 28 buf[0] = '\0'; 32 return buf;
|
/external/zlib/src/ |
adler32.c | 18 #define DO1(buf,i) {adler += (buf)[i]; sum2 += adler;} 19 #define DO2(buf,i) DO1(buf,i); DO1(buf,i+1); 20 #define DO4(buf,i) DO2(buf,i); DO2(buf,i+2); 21 #define DO8(buf,i) DO4(buf,i); DO4(buf,i+4) [all...] |
/frameworks/av/media/libstagefright/codecs/aacenc/src/ |
transform.c | 42 static void Shuffle(int *buf, int num, const unsigned char* bitTab) 48 part0 = buf; 49 part1 = buf + num; 73 static void Radix4First(int *buf, int num) 80 r0 = buf[0] + buf[2]; 81 r1 = buf[1] + buf[3]; 82 r2 = buf[0] - buf[2] [all...] |
/libcore/luni/src/main/java/java/io/ |
BufferedWriter.java | 34 * BufferedWriter buf = new BufferedWriter(new FileWriter("file.java")); 43 private char[] buf; field in class:BufferedWriter 71 this.buf = new char[size]; 95 buf = null; 139 out.write(buf, 0, pos); 191 if (pos == 0 && count >= this.buf.length) { 195 int available = this.buf.length - pos; 200 System.arraycopy(buffer, offset, this.buf, pos, available); 203 if (pos == this.buf.length) { 204 out.write(this.buf, 0, this.buf.length) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_ASimpleInputStream.java | 16 public byte[] buf; field in class:Support_ASimpleInputStream 35 buf = input.getBytes(); 37 len = buf.length; 43 buf = new byte[len]; 44 System.arraycopy(input, 0, buf, 0, len); 68 int res = buf[pos];
|
/system/core/liblog/ |
uio.c | 27 char* buf = vecs->iov_base; local 31 int ret = read( fd, buf, len ); 41 buf += ret; 54 const char* buf = vecs->iov_base; local 58 int ret = write( fd, buf, len ); 68 buf += ret;
|
/external/chromium_org/base/ |
big_endian.h | 14 // Read an integer (signed or unsigned) from |buf| in Big Endian order. 20 inline void ReadBigEndian(const char buf[], T* out) { 21 *out = buf[0]; 25 *out |= static_cast<uint8>(buf[i]); 29 // Write an integer (signed or unsigned) |val| to |buf| in Big Endian order. 32 inline void WriteBigEndian(char buf[], T val) { 34 buf[sizeof(T)-i-1] = static_cast<char>(val & 0xFF); 41 inline void ReadBigEndian<uint8>(const char buf[], uint8* out) { 42 *out = buf[0]; 46 inline void WriteBigEndian<uint8>(char buf[], uint8 val) [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
md5_utils.h | 35 UWORD32 buf[4]; member in struct:MD5Context 41 void MD5Update(struct MD5Context *context, md5byte const *buf, unsigned len); 43 void MD5Transform(UWORD32 buf[4], UWORD32 const in[16]);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
stringprintf_unittest.cc | 110 char* buf = new char[n+1]; local 111 memset(buf, ' ', n-3); 112 memcpy(buf + n - 3, kInvalidCodePoint, 4); 113 value = StringPrintf("%.*s", n, buf); 115 EXPECT_TRUE(value.empty() || value == buf); 116 delete[] buf; 142 char* buf = new char[n+1]; local 143 memset(buf, ' ', n); 144 buf[n] = 0; 145 string value = StringPrintf("%s", buf); [all...] |
/external/clang/test/CodeGen/ |
globalinit.c | 23 static char buf[10]; local 24 static char *bufptr = buf; 26 return c ? buf : bufptr;
|