HomeSort by relevance Sort by last modified time
    Searched refs:buff (Results 1 - 25 of 184) sorted by null

1 2 3 4 5 6 7 8

  /external/clang/test/CodeGen/
2003-11-26-PointerShift.c 3 unsigned long do_csum(const unsigned char *buff, int len, unsigned long result) {
4 if (2 & (unsigned long) buff) result += 1;
  /external/compiler-rt/test/asan/TestCases/Windows/
dll_intercept_memchr.cc 9 char buff[6] = "Hello"; local
11 memchr(buff, 'z', 7);
19 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
dll_intercept_memset.cc 14 char buff[5] = "aaaa"; local
16 memset(buff, 'b', 5);
17 if (buff[2] != 'b')
23 memset(buff, 'c', 6);
30 // CHECK: 'buff' <== Memory access at offset {{.*}} overflows this variable
  /bootable/recovery/minadbd/
utils.c 22 buff_addc (char* buff, char* buffEnd, int c)
24 int avail = buffEnd - buff;
27 return buff;
30 buff[0] = 0;
31 return buff + 1;
34 buff[0] = (char) c; /* add char and terminating zero */
35 buff[1] = 0;
36 return buff + 1;
40 buff_adds (char* buff, char* buffEnd, const char* s)
44 return buff_addb(buff, buffEnd, s, slen)
    [all...]
utils.h 45 char* buff_addc (char* buff, char* buffEnd, int c);
48 char* buff_adds (char* buff, char* buffEnd, const char* s);
53 char* buff_addb (char* buff, char* buffEnd, const void* data, int len);
56 char* buff_add (char* buff, char* buffEnd, const char* format, ... );
  /external/chromium_org/third_party/skia/third_party/lua/src/
lzio.h 29 #define luaZ_initbuffer(L, buff) ((buff)->buffer = NULL, (buff)->buffsize = 0)
31 #define luaZ_buffer(buff) ((buff)->buffer)
32 #define luaZ_sizebuffer(buff) ((buff)->buffsize)
33 #define luaZ_bufflen(buff) ((buff)->n)
35 #define luaZ_resetbuffer(buff) ((buff)->n = 0
    [all...]
lzio.c 24 const char *buff; local
26 buff = z->reader(L, z->data, &size);
28 if (buff == NULL || size == 0)
31 z->p = buff;
68 char *luaZ_openspace (lua_State *L, Mbuffer *buff, size_t n) {
69 if (n > buff->buffsize) {
71 luaZ_resizebuffer(L, buff, n);
73 return buff->buffer;
lundump.h 14 LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
loslib.c 106 char buff[LUA_TMPNAMBUFSIZE]; local
108 lua_tmpnam(buff, err);
111 lua_pushstring(L, buff);
171 static const char *checkoption (lua_State *L, const char *conv, char *buff) {
176 buff[1] = *conv;
178 buff[2] = '\0'; /* end buffer */
183 buff[2] = *(conv + 1); /* valid two-char conversion specifier */
184 buff[3] = '\0'; /* end buffer */
229 char buff[200]; /* should be big enough for any conversion result */ local
231 reslen = strftime(buff, sizeof(buff), cc, stm)
    [all...]
  /external/libmtp/examples/
format.c 29 char buff[2]; local
33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) {
41 if (buff[0] == 'y') {
43 } else if (buff[0] == 'n') {
reset.c 29 char buff[2]; local
33 if ( fgets(buff, sizeof(buff), stdin) == NULL ) {
41 if (buff[0] == 'y') {
43 } else if (buff[0] == 'n') {
  /external/openssl/crypto/des/
read2pwd.c 120 char buf[BUFSIZ],buff[BUFSIZ]; local
122 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
125 OPENSSL_cleanse(buff,BUFSIZ);
133 char buf[BUFSIZ],buff[BUFSIZ]; local
135 if ((ok=UI_UTIL_read_pw(buf,buff,BUFSIZ,prompt,verify)) == 0)
138 OPENSSL_cleanse(buff,BUFSIZ);
  /external/openssl/crypto/ui/
ui_compat.c 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);
ui_util.c 61 char buff[BUFSIZ]; local
64 ret=UI_UTIL_read_pw(buf,buff,(length>BUFSIZ)?BUFSIZ:length,prompt,verify);
65 OPENSSL_cleanse(buff,BUFSIZ);
69 int UI_UTIL_read_pw(char *buf,char *buff,int size,const char *prompt,int verify)
82 ok = UI_add_verify_string(ui,prompt,0,buff,0,size-1,
  /bionic/libc/bionic/
gethostname.c 33 int gethostname(char* buff, size_t buflen)
47 memcpy( buff, name.nodename, namelen+1 );
  /device/generic/goldfish/libqemu/
test_util.h 31 int pipe_send( Pipe* pipe, const void* buff, size_t bufflen );
32 int pipe_recv( Pipe* pipe, void* buff, size_t bufflen );
test_guest_1.c 60 char buff[64]; local
68 int len = snprintf(buff, sizeof(buff), "Hello World %d\n", count);
70 int ret = pipe_send(pipe, buff, len);
90 if (memcmp(buff, buff2, len) != 0) {
  /external/compiler-rt/lib/sanitizer_common/
sanitizer_printf.cc 33 static int AppendChar(char **buff, const char *buff_end, char c) {
34 if (*buff < buff_end) {
35 **buff = c;
36 (*buff)++;
44 static int AppendNumber(char **buff, const char *buff_end, u64 absolute_value,
56 result += AppendChar(buff, buff_end, '-');
74 result += AppendChar(buff, buff_end, c);
76 if (negative && !pad_with_zero) result += AppendChar(buff, buff_end, '-');
79 result += AppendChar(buff, buff_end, (digit < 10) ? '0' + digit
85 static int AppendUnsigned(char **buff, const char *buff_end, u64 num, u8 base
    [all...]
sanitizer_common.cc 83 uptr ReadFileToBuffer(const char *file_name, char **buff,
88 *buff = 0;
95 UnmapOrDie(*buff, *buff_size);
96 *buff = (char*)MmapOrDie(size, __func__);
102 uptr just_read = internal_read(fd, *buff + read_len, PageSize);
182 InternalScopedBuffer<char> buff(kMaxSummaryLength);
183 internal_snprintf(buff.data(), buff.size(),
185 __sanitizer_report_error_summary(buff.data());
192 InternalScopedBuffer<char> buff(kMaxSummaryLength)
    [all...]
  /external/libedit/src/
chartype.c 210 static Char *buff = NULL; local
218 if (!buff) {
220 buff = el_malloc(buffsize * sizeof(*buff));
222 dst = buff;
224 used = ct_visual_char(dst, buffsize - (size_t)(dst - buff), *s);
226 used = dst - buff;
228 p = el_realloc(buff, buffsize * sizeof(*buff));
231 buff = p
    [all...]
  /device/generic/goldfish/camera/
JpegCompressor.h 74 * buff - Buffer where to copy the JPEG. Must be large enough to contain the
77 void getCompressedImage(void* buff);
JpegStub.h 31 void JpegStub_getCompressedImage(JpegStub* stub, void* buff);
JpegCompressor.cpp 44 typedef void (*GetCompressedImageFunc)(JpegStub* stub, void* buff);
88 void NV21JpegCompressor::getCompressedImage(void* buff)
92 (*f)(&mStub, buff);
  /device/google/accessory/arduino/AndroidAccessory/
AndroidAccessory.h 64 int read(void *buff, int len, unsigned int nakLimit = USB_NAK_LIMIT);
65 int write(void *buff, int len);
  /external/bzip2/
dlltest.c 116 char buff[0x1000]; local
137 while((len=BZ2_bzread(BZ2fp_r,buff,0x1000))>0){
138 fwrite(buff,1,len,fp_w);
164 while((len=fread(buff,1,0x1000,fp_r))>0){
165 BZ2_bzwrite(BZ2fp_w,buff,len);

Completed in 531 milliseconds

1 2 3 4 5 6 7 8