/toolchain/binutils/binutils-2.25/opcodes/ |
sysdep.h | 65 #define OPCODES_SIGSETJMP(buf) sigsetjmp((buf), 0) 66 #define OPCODES_SIGLONGJMP(buf,val) siglongjmp((buf), (val)) 69 #define OPCODES_SIGSETJMP(buf) setjmp(buf) 70 #define OPCODES_SIGLONGJMP(buf,val) longjmp((buf), (val))
|
z80-dis.c | 59 fetch_data (struct buffer *buf, disassemble_info * info, int n) 63 if (buf->n_fetch + n > 4) 66 r = info->read_memory_func (buf->base + buf->n_fetch, 67 (unsigned char*) buf->data + buf->n_fetch, 70 buf->n_fetch += n; 75 prt (struct buffer *buf, disassemble_info * info, char *txt) 78 buf->n_used = buf->n_fetch 611 struct buffer buf; local [all...] |
/external/libvpx/libvpx/vpx_dsp/arm/ |
mem_neon.h | 23 static INLINE int16x8x2_t load_tran_low_to_s16x2q(const tran_low_t *buf) { 25 const int32x4x2_t v0 = vld2q_s32(buf); 26 const int32x4x2_t v1 = vld2q_s32(buf + 8); 36 return vld2q_s16(buf); 40 static INLINE int16x8_t load_tran_low_to_s16q(const tran_low_t *buf) { 42 const int32x4_t v0 = vld1q_s32(buf); 43 const int32x4_t v1 = vld1q_s32(buf + 4); 48 return vld1q_s16(buf); 52 static INLINE int16x4_t load_tran_low_to_s16d(const tran_low_t *buf) { 54 const int32x4_t v0 = vld1q_s32(buf); [all...] |
/external/flatbuffers/go/ |
encode.go | 22 func GetByte(buf []byte) byte { 23 return byte(GetUint8(buf)) 27 func GetBool(buf []byte) bool { 28 return buf[0] == 1 32 func GetUint8(buf []byte) (n uint8) { 33 n = uint8(buf[0]) 38 func GetUint16(buf []byte) (n uint16) { 39 n |= uint16(buf[0]) 40 n |= uint16(buf[1]) << 8 45 func GetUint32(buf []byte) (n uint32) [all...] |
/external/wpa_supplicant_8/src/utils/ |
wpabuf.h | 12 /* wpabuf::buf is a pointer to external data */ 23 u8 *buf; /* pointer to the head of the buffer */ member in struct:wpabuf 29 int wpabuf_resize(struct wpabuf **buf, size_t add_len); 34 void wpabuf_free(struct wpabuf *buf); 35 void wpabuf_clear_free(struct wpabuf *buf); 36 void * wpabuf_put(struct wpabuf *buf, size_t len); 38 struct wpabuf * wpabuf_zeropad(struct wpabuf *buf, size_t len); 39 void wpabuf_printf(struct wpabuf *buf, char *fmt, ...) PRINTF_FORMAT(2, 3); 40 struct wpabuf * wpabuf_parse_bin(const char *buf); 45 * @buf: wpabuf buffe [all...] |
/external/wpa_supplicant_8/src/crypto/ |
aes-eax.c | 32 u8 *buf; local 46 buf = os_malloc(buf_len); 47 if (buf == NULL) 50 os_memset(buf, 0, 15); 52 buf[15] = 0; 53 os_memcpy(buf + 16, nonce, nonce_len); 54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) 57 buf[15] = 1; 58 os_memcpy(buf + 16, hdr, hdr_len); 59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac) 96 u8 *buf; local [all...] |
/external/ltp/testcases/kernel/sched/nptl/ |
nptl01.c | 72 void call_mutex_init(pthread_mutex_t * mutex, char *buf, size_t buf_len) 78 strerror_r(ret, buf, buf_len)); 82 void call_mutex_lock(pthread_mutex_t * mutex, char *buf, size_t buf_len) 88 strerror_r(ret, buf, buf_len)); 92 void call_mutex_unlock(pthread_mutex_t * mutex, char *buf, size_t buf_len) 98 strerror_r(ret, buf, buf_len)); 102 void call_cond_init(pthread_cond_t * cond, char *buf, size_t buf_len) 108 strerror_r(ret, buf, buf_len)); 113 char *buf, size_t buf_len) 119 strerror_r(ret, buf, buf_len)) 167 char buf[1024]; local 227 char buf[1024]; local [all...] |
/build/make/tools/ziptime/ |
ZipEntry.h | 53 static inline uint16_t getShortLE(const uint8_t* buf) { 54 return buf[0] | (buf[1] << 8); 56 static inline uint32_t getLongLE(const uint8_t* buf) { 57 return buf[0] | (buf[1] << 8) | (buf[2] << 16) | (buf[3] << 24); 59 static inline void putShortLE(uint8_t* buf, uint16_t val) { 60 buf[0] = (uint8_t) val [all...] |
/system/nvram/messages/tests/ |
io_test.cpp | 80 TestInputStreamBuffer<10> buf; 81 EXPECT_FALSE(buf.Done()); 84 EXPECT_TRUE(buf.ReadByte(&byte)); 86 EXPECT_FALSE(buf.Done()); 88 CheckRead(&buf, 6, 1); 89 EXPECT_FALSE(buf.Done()); 91 EXPECT_TRUE(buf.Skip(3)); 92 EXPECT_TRUE(buf.Done()); 96 InputStreamBuffer buf(nullptr, nullptr); 97 EXPECT_TRUE(buf.Done()) [all...] |
/bionic/tests/ |
fortify_test.cpp | 363 char buf[10]; local 365 ASSERT_FORTIFY(strcpy(buf, orig)); 375 char buf[0]; local 377 ASSERT_FORTIFY(strcpy(buf, orig)); 387 char buf[0]; local 389 ASSERT_FORTIFY(strcpy(buf, orig)); 399 char buf[1]; local 401 ASSERT_FORTIFY(strcpy(buf, orig)); 410 char buf[10]; local 411 memcpy(buf, "0123456789", sizeof(buf)) 420 char buf[10]; local 430 char buf[10]; local 464 char buf[10]; local 474 char* buf = (char *) malloc(10); local 483 char buf[5]; local 488 char buf[10]; local 507 char buf[10]; local 527 char buf[10]; local 534 char buf[10]; local 543 char buf[10]; local 549 char buf[20]; local 564 char buf[10]; local 609 char buf[10]; local 622 char buf[10]; local 628 char buf[10] = {0}; local 641 char buf[1]; local 647 char buf[1]; local 653 char buf[1]; local 661 char buf[1]; local 669 char buf[1] = {0}; local 677 char buf[1] = {0}; local 685 char buf[1]; local 693 char buf[1] = {0}; local 701 char buf[1]; local 709 char buf[1] = {0}; local 717 char buf[1]; local 723 char buf[1]; local 732 char buf[10]; local 751 char buf[10]; local 770 char buf[10]; local 788 char buf[10]; local 806 char buf[10]; local 825 char buf[10]; local 845 char buf[10]; local 864 char buf[10]; local 961 char buf[10]; local 982 char buf[10]; local 991 char buf[10]; local 1000 char buf[10]; local 1022 char buf[BUFSIZ]; local 1035 pollfd buf[1] = {{0, POLLIN, 0}}; local 1042 pollfd buf[1] = {{0, POLLIN, 0}}; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
GrammarReport2.java | 47 StringBuilder buf = new StringBuilder(); local 48 stats(root, buf); 51 stats(g, buf); 53 return buf.toString(); 56 void stats(Grammar g, StringBuilder buf) { 67 buf.append(g.name+"."+enclosingRule.name+":" + 71 buf.append(decisionAST.getLine()); 72 buf.append(":"); 73 buf.append(decisionAST.getCharPositionInLine()); 74 buf.append(" decision "+decision+":") [all...] |
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/boringssl/src/ssl/ |
ssl_buffer.c | 36 /* setup_buffer initializes |buf| with capacity |cap|, aligned such that data 39 static int setup_buffer(SSL3_BUFFER *buf, size_t header_len, size_t cap) { 40 if (buf->buf != NULL || cap > 0xffff) { 46 buf->buf = OPENSSL_malloc(cap + SSL3_ALIGN_PAYLOAD - 1); 47 if (buf->buf == NULL) { 53 buf->offset = (0 - header_len - (uintptr_t)buf->buf) 81 SSL3_BUFFER *buf = &ssl->s3->read_buffer; local 107 SSL3_BUFFER *buf = &ssl->s3->read_buffer; local 128 SSL3_BUFFER *buf = &ssl->s3->read_buffer; local 183 SSL3_BUFFER *buf = &ssl->s3->read_buffer; local 221 SSL3_BUFFER *buf = &ssl->s3->write_buffer; local 255 SSL3_BUFFER *buf = &ssl->s3->write_buffer; local 264 SSL3_BUFFER *buf = &ssl->s3->write_buffer; local 279 SSL3_BUFFER *buf = &ssl->s3->write_buffer; local [all...] |
/external/libmojo/mojo/public/cpp/bindings/tests/ |
buffer_unittest.cc | 18 char* buf = reinterpret_cast<char*>(p_buf); local 20 if (buf[i] != 0) 28 internal::FixedBufferForTesting buf(internal::Align(10) * 2); 29 ASSERT_EQ(buf.size(), 16u * 2); 31 void* a = buf.Allocate(10); 36 void* b = buf.Allocate(10); 49 internal::FixedBufferForTesting buf(8); 50 ASSERT_EQ(8u, buf.size()); 52 ptr = buf.Allocate(8); 54 buf_ptr = buf.Leak() [all...] |
/external/mesa3d/src/gallium/auxiliary/pipebuffer/ |
pb_bufmgr_ondemand.c | 74 pb_ondemand_buffer(struct pb_buffer *buf) 76 assert(buf); 77 if (!buf) 79 assert(buf->vtbl == &pb_ondemand_buffer_vtbl); 80 return (struct pb_ondemand_buffer *)buf; 94 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf); local 96 pb_reference(&buf->buffer, NULL); 98 align_free(buf->data); 100 FREE(buf); 108 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf) local 125 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf); local 177 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf); local 196 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf); local 211 struct pb_ondemand_buffer *buf = pb_ondemand_buffer(_buf); local 241 struct pb_ondemand_buffer *buf; local [all...] |
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/syslinux/com32/lib/ |
bufprintf.c | 6 int vbufprintf(struct print_buf *buf, const char *format, va_list ap) 15 if (rv + buf->len >= buf->size) { 16 size_t newsize = rv + buf->len + BUFPAD; 19 newbuf = realloc(buf->buf, newsize); 25 buf->buf = newbuf; 26 buf->size = newsize; 29 rv = vsnprintf(buf->buf + buf->len, buf->size - buf->len, format, ap2) [all...] |
/system/bt/osi/src/ |
buffer.cc | 49 buffer_t* buffer_new_ref(const buffer_t* buf) { 50 CHECK(buf != NULL); 51 return buffer_new_slice(buf, buf->length); 54 buffer_t* buffer_new_slice(const buffer_t* buf, size_t slice_size) { 55 CHECK(buf != NULL); 57 CHECK(slice_size <= buf->length); 61 ret->root = buf->root; 65 ++buf->root->refcount; 83 void* buffer_ptr(const buffer_t* buf) { [all...] |
/external/icu/icu4c/source/tools/toolutil/ |
ucbuf.cpp | 163 ucbuf_fillucbuf( UCHARBUF* buf,UErrorCode* error){ 174 pTarget = buf->buffer; 176 if(buf->currentPos<buf->bufLimit){ 177 offset = (int32_t)(buf->bufLimit-buf->currentPos); 178 memmove(buf->buffer,buf->currentPos,offset* sizeof(UChar)); 184 if(buf->isBuffered){ 187 inputRead=T_FileStream_read(buf->in,cbuf,cbufSize-offset) 469 UCHARBUF* buf =(UCHARBUF*) uprv_malloc(sizeof(UCHARBUF)); local [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
exprstring.go | 16 var buf bytes.Buffer 17 WriteExpr(&buf, x) 18 return buf.String() 21 // WriteExpr writes the (possibly simplified) string representation for x to buf. 22 func WriteExpr(buf *bytes.Buffer, x ast.Expr) { 30 buf.WriteString("(bad expr)") // nil, ast.BadExpr, ast.KeyValueExpr 33 buf.WriteString(x.Name) 36 buf.WriteString("...") 38 WriteExpr(buf, x.Elt) 42 buf.WriteString(x.Value [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
exprstring.go | 16 var buf bytes.Buffer 17 WriteExpr(&buf, x) 18 return buf.String() 21 // WriteExpr writes the (possibly simplified) string representation for x to buf. 22 func WriteExpr(buf *bytes.Buffer, x ast.Expr) { 30 buf.WriteString("(bad expr)") // nil, ast.BadExpr, ast.KeyValueExpr 33 buf.WriteString(x.Name) 36 buf.WriteString("...") 38 WriteExpr(buf, x.Elt) 42 buf.WriteString(x.Value [all...] |
/prebuilts/go/darwin-x86/src/internal/trace/ |
writer.go | 23 buf := []byte{typ | nargs<<6} 25 buf = append(buf, 0) 28 buf = appendVarint(buf, a) 31 buf[1] = byte(len(buf) - 2) 33 n, err := w.Write(buf) 34 if n != len(buf) || err != nil { 39 func appendVarint(buf []byte, v uint64) []byte [all...] |
/prebuilts/go/linux-x86/src/internal/trace/ |
writer.go | 23 buf := []byte{typ | nargs<<6} 25 buf = append(buf, 0) 28 buf = appendVarint(buf, a) 31 buf[1] = byte(len(buf) - 2) 33 n, err := w.Write(buf) 34 if n != len(buf) || err != nil { 39 func appendVarint(buf []byte, v uint64) []byte [all...] |
/external/lzma/xz-embedded/ |
xz_config.h | 48 #define memzero(buf, size) memset(buf, 0, size) 76 static inline uint32_t get_unaligned_le32(const uint8_t *buf) 78 return (uint32_t)buf[0] 79 | ((uint32_t)buf[1] << 8) 80 | ((uint32_t)buf[2] << 16) 81 | ((uint32_t)buf[3] << 24); 86 static inline uint32_t get_unaligned_be32(const uint8_t *buf) 88 return (uint32_t)(buf[0] << 24) 89 | ((uint32_t)buf[1] << 16 [all...] |
/external/toybox/toys/pending/ |
ipcs.c | 45 struct semid_ds *buf; member in union:semun 52 struct msqid_ds buf; local 55 if ((ret = msgctl(TT.id, IPC_STAT, &buf)) < 0) { 60 #define ipcperm buf.msg_perm 66 (long) buf.msg_cbytes, (long) buf.msg_qbytes, 67 (long) buf.msg_qnum, buf.msg_lspid, buf.msg_lrpid); 70 buf.msg_stime ? ctime(&buf.msg_stime) : "Not set" 78 struct semid_ds buf; local 120 struct shmid_ds buf; local 151 struct shmid_ds buf; local 252 struct semid_ds buf; local 340 struct msqid_ds buf; local [all...] |