/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/pipebuffer/ |
pb_buffer.h | 122 void (*destroy)( struct pb_buffer *buf ); 128 void *(*map)( struct pb_buffer *buf, 131 void (*unmap)( struct pb_buffer *buf ); 133 enum pipe_error (*validate)( struct pb_buffer *buf, 137 void (*fence)( struct pb_buffer *buf, 151 void (*get_base_buffer)( struct pb_buffer *buf, 162 pb_map(struct pb_buffer *buf, 165 assert(buf); 166 if(!buf) 168 assert(pipe_is_referenced(&buf->reference)) [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_buffer.h | 122 void (*destroy)( struct pb_buffer *buf ); 128 void *(*map)( struct pb_buffer *buf, 131 void (*unmap)( struct pb_buffer *buf ); 133 enum pipe_error (*validate)( struct pb_buffer *buf, 137 void (*fence)( struct pb_buffer *buf, 151 void (*get_base_buffer)( struct pb_buffer *buf, 162 pb_map(struct pb_buffer *buf, 165 assert(buf); 166 if(!buf) 168 assert(pipe_is_referenced(&buf->reference)) [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarReport.java | 260 StringBuffer buf = new StringBuffer(); local 268 if (i>0) buf.append('\t'); 269 buf.append(s); 276 return buf.toString(); 280 StringBuffer buf = new StringBuffer(); local 281 buf.append("Backtracking report:"); 282 buf.append(newline); 283 buf.append("Number of decisions that backtrack: "); 284 buf.append(grammar.decisionsWhoseDFAsUsesSynPreds.size()); 285 buf.append(newline) 292 StringBuffer buf = new StringBuffer(); local 353 StringBuffer buf = new StringBuffer(); local [all...] |
/external/valgrind/main/none/tests/s390x/ |
srst.c | 44 char *buf; local 52 buf = srst3(&buffer[23], &buffer[23], '0', &cc); 53 dump_field(buf, 1); 56 buf = srst3(&buffer[23], &buffer[0], '0', &cc); 57 dump_field(buf, 1); 60 buf = srst3(&buffer[23], &buffer[0], 'a', &cc); 61 dump_field(buf, 1); 64 buf = srst3(&buffer[23], &buffer[0], 'm', &cc); 65 dump_field(buf, 1); 68 buf = srst3(&buffer[23], &buffer[0], 'n', &cc) [all...] |
mvcl.c | 146 print_buf(const char *prefix, char *buf, uint32_t len) 153 putchar(buf[i]); 174 uint8_t byte, buf[10], small[5], i; local 183 run_test(NULL, 0, buf, sizeof buf, 0x00); 184 run_test(NULL, 0, buf, sizeof buf, 0xFF); 189 memset(buf, 'x', sizeof buf); 190 run_test(buf, sizeof buf, NULL, 0, 'a') [all...] |
/external/chromium_org/third_party/libvpx/source/libvpx/ |
vpxstats.c | 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); 38 res = (stats->buf.buf != NULL); 47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file) [all...] |
/external/libvpx/libvpx/ |
vpxstats.c | 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); 38 res = (stats->buf.buf != NULL); 47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/ |
vpxstats.c | 25 stats->buf.sz = 0; 26 stats->buf.buf = NULL; 36 stats->buf.sz = stat_buf.st_size; 37 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE, fd, 0); 38 res = (stats->buf.buf != NULL); 47 stats->buf.sz = stats->buf_alloc_sz = ftell(stats->file) [all...] |
/art/runtime/base/unix_file/ |
random_access_file_utils.cc | 26 std::vector<char> buf(4096); 29 while ((n = src.Read(&buf[0], buf.size(), offset)) > 0) { 30 if (dst->Write(&buf[0], n, offset) != n) {
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
gets.c | 41 gets(char *buf) 47 for (s = buf; (c = getchar_unlocked()) != '\n';) 49 if (s == buf) { 58 return (buf);
|
/external/chromium_org/base/ |
safe_strerror_posix.cc | 38 char *buf, 41 char *rc = (*strerror_r_ptr)(err, buf, len); 42 if (rc != buf) { 43 // glibc did not use buf and returned a static string instead. Copy it 44 // into buf. 45 buf[0] = '\0'; 46 strncat(buf, rc, len - 1); 61 char *buf, 69 int result = (*strerror_r_ptr)(err, buf, len); 75 buf[len - 1] = '\0' 116 char buf[buffer_size]; local [all...] |
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/syscalls/ |
getcwd.c | 11 char* getcwd(char* buf, size_t size) { 20 if (buf == NULL) { 21 buf = (char*)malloc(size); 23 return ki_getcwd(buf, size);
|
/external/chromium_org/third_party/openssl/openssl/crypto/ui/ |
ui_compat.c | 59 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify) 61 return UI_UTIL_read_pw_string(buf, length, prompt, verify); 64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) 66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
|
/external/compiler-rt/test/msan/ |
strerror_r-non-gnu.c | 13 char buf[1000]; local 14 int res = strerror_r(EINVAL, buf, sizeof(buf)); 16 volatile int z = strlen(buf);
|
/external/openssl/crypto/ui/ |
ui_compat.c | 59 int _ossl_old_des_read_pw_string(char *buf,int length,const char *prompt,int verify) 61 return UI_UTIL_read_pw_string(buf, length, prompt, verify); 64 int _ossl_old_des_read_pw(char *buf,char *buff,int size,const char *prompt,int verify) 66 return UI_UTIL_read_pw(buf, buff, size, prompt, verify);
|
/external/oprofile/libutil++/ |
xml_output.cpp | 20 static char buf[MAX_XML_BUF]; variable 34 buf[0] = '\0'; 35 open_xml_element(tag, with_attrs, buf, MAX_XML_BUF); 36 out << buf; local 45 buf[0] = '\0'; 46 close_xml_element(tag, has_nested, buf, MAX_XML_BUF); 47 out << buf; local 56 buf[0] = '\0'; 57 init_xml_int_attr(attr, value, buf, MAX_XML_BUF); 58 out << buf; local 69 out << buf; local 80 out << buf; local [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/packet/ |
Open.java | 108 StringBuilder buf = new StringBuilder();
local 109 buf.append("<open ");
110 buf.append("xmlns=\"");
111 buf.append(InBandBytestreamManager.NAMESPACE);
112 buf.append("\" ");
113 buf.append("block-size=\"");
114 buf.append(blockSize);
115 buf.append("\" ");
116 buf.append("sid=\"");
117 buf.append(sessionID); [all...] |
/external/wpa_supplicant_8/src/common/ |
gas.c | 20 struct wpabuf *buf; local 22 buf = wpabuf_alloc(100 + size); 23 if (buf == NULL) 26 wpabuf_put_u8(buf, WLAN_ACTION_PUBLIC); 27 wpabuf_put_u8(buf, action); 28 wpabuf_put_u8(buf, dialog_token); 30 return buf; 51 struct wpabuf *buf; local 53 buf = wpabuf_alloc(100 + size); 54 if (buf == NULL 114 struct wpabuf *buf; local 131 struct wpabuf *buf; local 151 struct wpabuf *buf; local 172 struct wpabuf *buf; local 193 struct wpabuf *buf; local [all...] |
/frameworks/native/opengl/tools/glgen/stubs/gles11/ |
glDebugMessageInsertKHR.java | 1 // C function void glDebugMessageInsertKHR ( GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf ) 8 String buf
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/ |
SliceDirectByteBufferTest.java | 24 buf.position(1).limit(BUFFER_LENGTH-1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
SliceHeapByteBufferTest.java | 24 buf.position(1).limit(BUFFER_LENGTH-1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
SliceWrappedByteBufferTest.java | 24 buf.position(1).limit(BUFFER_LENGTH-1); 25 buf = buf.slice(); 26 baseBuf = buf;
|
/external/chromium_org/third_party/yasm/source/patched-yasm/tools/re2c/examples/ |
basemmap.c | 15 uchar *buf; local 17 buf = mmap(NULL, statbuf.st_size, PROT_READ, MAP_SHARED|MAP_NORESERVE, 19 if(buf != (uchar*)(-1)){ 20 uchar *cur, *lim = &buf[statbuf.st_size]; 21 for(cur = buf; buf != lim; ++cur){ 24 munmap(buf, statbuf.st_size);
|
/external/elfutils/0.153/libebl/ |
eblobjecttypename.c | 60 ebl_object_type_name (ebl, object, buf, len) 63 char *buf; 68 res = ebl != NULL ? ebl->object_type_name (object, buf, len) : NULL; 73 snprintf (buf, len, "LOOS+%x", object - ET_LOOS); 76 snprintf (buf, len, "LOPROC+%x", object - ET_LOPROC); 78 snprintf (buf, len, "%s: %d", gettext ("<unknown>"), object); 80 res = buf;
|
/external/smack/src/org/jivesoftware/smackx/packet/ |
PEPPubSub.java | 86 StringBuilder buf = new StringBuilder(); local 87 buf.append("<").append(getElementName()).append(" xmlns=\"").append(getNamespace()).append("\">"); 88 buf.append("<publish node=\"").append(item.getNode()).append("\">"); 89 buf.append(item.toXML()); 90 buf.append("</publish>"); 91 buf.append("</").append(getElementName()).append(">"); 92 return buf.toString();
|