/haiku-fatelf/src/bin/gdb/gdb/gdbserver/ |
H A D | i387-fp.h | 25 void i387_cache_to_fsave (void *buf); 26 void i387_fsave_to_cache (const void *buf); 28 void i387_cache_to_fxsave (void *buf); 29 void i387_fxsave_to_cache (const void *buf);
|
H A D | regcache.h | 42 void registers_to_string (char *buf); 46 void registers_from_string (char *buf); 62 void supply_register (int n, const void *buf); 64 void supply_register_by_name (const char *name, const void *buf); 66 void collect_register (int n, void *buf); 68 void collect_register_as_string (int n, char *buf); 70 void collect_register_by_name (const char *name, void *buf);
|
/haiku-fatelf/src/tests/system/libroot/posix/ |
H A D | tst-getwc.c | 28 wchar_t buf[100]; local 31 wmemset(buf, L'\0', sizeof(buf) / sizeof(buf[0])); 32 while (!feof(stdin) && n < sizeof(buf) - 1) { 33 buf[n] = getwc(stdin); 34 if (buf[n] == WEOF) 38 buf[n] = L'\0'; 40 return wcscmp(buf,L"This is a test of getwc\n" ) != 0;
|
H A D | tst-wcstof.c | 12 char buf[100]; local 18 snprintf(buf, 100, "%S = %f", tmp, wcstof(tmp, NULL)); 19 printf("\"%s\" -> %s\n", buf, strcmp(buf, "81 = 81.000000") == 0 ? "okay" 21 result |= strcmp(buf, "81 = 81.000000") != 0;
|
/haiku-fatelf/src/system/libroot/posix/stdio/ |
H A D | gets.c | 43 gets(buf) 44 char *buf; 49 for (s = buf; (c = getchar()) != '\n';) 51 if (s == buf) 58 return (buf);
|
/haiku-fatelf/src/bin/gdb/libiberty/ |
H A D | spaces.c | 49 static char *buf; local 54 if (buf) 56 free (buf); 58 buf = malloc (count + 1); 59 if (buf == (char *) 0) 61 for (t = buf + count ; t != buf ; ) 66 buf[count] = '\0'; 68 return (const char *) (buf + maxsize - count);
|
H A D | vsnprintf.c | 28 @deftypefn Supplemental int vsnprintf (char *@var{buf}, size_t @var{n}, const char *@var{format}, va_list @var{ap}) 67 char *buf = 0; local 68 int result = vasprintf (&buf, format, ap); 70 if (!buf) 74 free (buf); 78 result = strlen (buf); 82 memcpy (s, buf, result+1); 85 memcpy (s, buf, n-1); 89 free (buf); 116 char buf[12 local [all...] |
H A D | getcwd.c | 41 getcwd (buf, len) 42 char *buf; 54 if (!buf) { 55 buf = (char*)malloc(len); 56 if (!buf) { 61 strcpy (buf, ourbuf); 63 return buf;
|
/haiku-fatelf/src/system/libroot/posix/glibc/libio/ |
H A D | setbuf.c | 32 setbuf (fp, buf) 34 char *buf; 36 INTUSE(_IO_setbuffer) (fp, buf, _IO_BUFSIZ);
|
/haiku-fatelf/src/bin/unzip/ |
H A D | crc32.c | 31 #define DO1(buf) crc = CRC32(crc, *buf++) 32 #define DO2(buf) DO1(buf); DO1(buf) 33 #define DO4(buf) DO2(buf); DO2(buf) 34 #define DO8(buf) DO4(buf); DO [all...] |
/haiku-fatelf/src/bin/zip/ |
H A D | crc32.c | 31 #define DO1(buf) crc = CRC32(crc, *buf++) 32 #define DO2(buf) DO1(buf); DO1(buf) 33 #define DO4(buf) DO2(buf); DO2(buf) 34 #define DO8(buf) DO4(buf); DO [all...] |
/haiku-fatelf/src/tests/system/benchmarks/libMicro/ |
H A D | times.c | 56 struct tms buf; local 59 (void) times(&buf); 60 (void) times(&buf); 61 (void) times(&buf); 62 (void) times(&buf); 63 (void) times(&buf); 64 (void) times(&buf); 65 (void) times(&buf); 66 (void) times(&buf); 67 (void) times(&buf); [all...] |
/haiku-fatelf/src/system/libroot/posix/time/ |
H A D | strptime.c | 47 _strptime(const char *buf, const char *fmt, struct tm *tm, int *GMTp) argument 58 if (*buf == 0) 65 while (*buf != 0 && isspace((unsigned char)*buf)) 66 buf++; 67 else if (c != *buf++) 79 if (*buf++ != '%') 84 buf = _strptime(buf, tptr->date_fmt, tm, GMTp); 85 if (buf 491 strptime(const char * __restrict buf, const char * __restrict fmt, struct tm * __restrict tm) argument [all...] |
/haiku-fatelf/src/tests/kits/net/ |
H A D | ufunc.c | 27 char *buf = (char*)malloc(sl + 5); local 29 memset(buf, '=', sl + 4); 30 printf("%s\n", buf); 31 buf[1] = buf[sl + 2] = ' '; 32 memcpy(&buf[2], msg, sl); 33 printf("%s\n", buf); 34 memset(buf, '=', sl + 4); 35 printf("%s\n", buf);
|
/haiku-fatelf/src/libs/iconv/ |
H A D | dec_hanyu.h | 44 unsigned char buf[2]; local 46 buf[0] = s[2]-0x80; buf[1] = s[3]-0x80; 47 ret = cns11643_3_mbtowc(conv,pwc,buf,2); 55 unsigned char buf[2]; local 56 buf[0] = c-0x80; buf[1] = c2-0x80; 57 return cns11643_1_mbtowc(conv,pwc,buf,2); 60 unsigned char buf[2]; local 61 buf[ 72 unsigned char buf[3]; local [all...] |
H A D | big5_2003.h | 273 unsigned char buf[2]; local 284 if (wc == 0x00a8) { buf[0] = 0xc6; buf[1] = 0xd8; ret = 2; break; } 289 if (wc == 0x02cd) { buf[0] = 0xa1; buf[1] = 0xc5; ret = 2; break; } 294 if (wc == 0x2015) { buf[0] = 0xa1; buf[1] = 0x56; ret = 2; break; } 295 if (wc == 0x2027) { buf[0] = 0xa1; buf[1] = 0x45; ret = 2; break; } 296 if (wc == 0x20ac) { buf[ [all...] |
/haiku-fatelf/src/libs/ncurses/ncurses/tinfo/ |
H A D | lib_raw.c | 87 TTY buf; local 92 buf = cur_term->Nttyb; 94 buf.c_lflag &= ~(ICANON | ISIG | IEXTEN); 95 buf.c_iflag &= ~(COOKED_INPUT); 96 buf.c_cc[VMIN] = 1; 97 buf.c_cc[VTIME] = 0; 99 buf.sg_flags |= RAW; 101 if ((result = _nc_set_tty_mode(&buf)) == OK) { 104 cur_term->Nttyb = buf; 119 TTY buf; local 155 TTY buf; local 180 TTY buf; local 211 TTY buf; local 244 TTY buf; local 277 TTY buf; local [all...] |
/haiku-fatelf/src/libs/pdflib/libs/flate/ |
H A D | adler32.c | 15 #define DO1(buf,i) {s1 += buf[i]; s2 += s1;} 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, 22 adler32(uLong adler, const Bytef *buf, uInt len) argument [all...] |
/haiku-fatelf/src/libs/stdc++/legacy/ |
H A D | sbgetline.cc | 28 long streambuf::sgetline(char* buf, _IO_size_t n, char delim, int extract_delim) argument 30 return _IO_getline_info(this, buf, n, delim, extract_delim, (int *) 0);
|
/haiku-fatelf/src/libs/mapm/ |
H A D | mapmgues.c | 95 char buf[48]; local 98 m_apm_to_string(buf, 15, a); 99 dd = atof(buf); /* sqrt algorithm actually finds 1/sqrt */ 114 char buf[48]; local 117 m_apm_to_string(buf, 15, a); 118 dd = atof(buf); 125 char buf[48]; local 128 m_apm_to_string(buf, 15, a); 129 dd = atof(buf); 140 char buf[4 local 150 char buf[48]; local 163 char *cp, *p, *ps, buf[64]; local [all...] |
/haiku-fatelf/headers/private/system/posix/ |
H A D | xsi_semaphore_defs.h | 14 struct semid_ds *buf; member in union:semun
|
/haiku-fatelf/src/libs/expat/xmlwf/ |
H A D | xmlmime.h | 10 buf contains the body of the header field (the part after "Content-Type:"). 15 void getXMLCharset(const char *buf, char *charset);
|
/haiku-fatelf/src/libs/fluidsynth/src/ |
H A D | fluid_io.c | 30 int fluid_istream_gets(fluid_istream_t in, char* buf, int len); 50 int fluid_istream_readline(fluid_istream_t in, char* prompt, char* buf, int len) argument 61 snprintf(buf, len, "%s", line); 62 buf[len - 1] = 0; 67 return fluid_istream_gets(in, buf, len); 70 return fluid_istream_gets(in, buf, len); 75 int fluid_istream_gets(fluid_istream_t in, char* buf, int len) argument 80 buf[len - 1] = 0; 85 *buf++ = 0; 92 *buf 104 char buf[4096]; local [all...] |
/haiku-fatelf/src/kits/network/libbind/irs/ |
H A D | gai_strerror.c | 52 static char buf[EAI_BUFSIZE]; local 60 char *buf; 81 buf = pthread_getspecific(key); 82 if (buf == NULL) { 83 buf = malloc(EAI_BUFSIZE); 84 if (buf == NULL) 86 if (pthread_setspecific(key, buf) != 0) { 87 free(buf); 93 * XXX This really should be snprintf(buf, EAI_BUFSIZE, ...). 96 sprintf(buf, " [all...] |
/haiku-fatelf/src/add-ons/translators/hpgs/lib/ |
H A D | hpgspjl.c | 42 static int pjl_read_line (hpgs_reader *reader, char term, char *buf, size_t buf_size) argument 63 while (i > 0 && (buf[i-1]=='\0' || isspace(buf[i-1]))) 66 if (i<buf_size) buf[i]='\0'; 71 if (reader->last_byte == '\n' && i==4 && strncmp(buf,"@PJL",4)==0) 81 buf[i] = (i < buf_size-1) ? (char)reader->last_byte : '\0'; 101 char buf[256]; local 109 while ((r=pjl_read_line(reader,' ',buf,sizeof(buf))) != EOF) 115 buf[ [all...] |