| /PHP_5_5/ext/ereg/regex/ |
| H A D | debug.c | 235 static unsigned char buf[10]; local 238 sprintf(buf, "%c", ch); 240 sprintf(buf, "\\%o", ch); 241 return(buf);
|
| H A D | split.c | 155 char buf[512]; local 162 (void) strcpy(buf, argv[1]); 166 (void) strcpy(buf, argv[1]); 167 (void) split(buf, fields, MNF, argv[2]); 172 while (fgets(buf, sizeof(buf), stdin) != NULL) { 173 buf[strlen(buf)-1] = '\0'; /* stomp newline */ 174 dosplit(buf, argv[1]); 279 char buf[51 local [all...] |
| /PHP_5_5/ext/zip/lib/ |
| H A D | zip_error_strerror.c | 51 char buf[128], *s; 56 sprintf(buf, "Unknown error %d", err->zip_err); 58 ss = buf; 49 char buf[128], *s; local
|
| H A D | zip_error_to_str.c | 48 zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se) 53 return snprintf(buf, len, "Unknown error %d", ze); 70 return snprintf(buf, len, "%s%s%s", 46 zip_error_to_str(char *buf, zip_uint64_t len, int ze, int se) argument
|
| H A D | zip_filerange_crc.c | 50 Bytef buf[BUFSIZE]; 62 if ((n=fread(buf, 1, n, fp)) <= 0) { 67 *crcp = crc32(*crcp, buf, n); 48 Bytef buf[BUFSIZE]; local
|
| H A D | zip_source_buffer.c | 43 const char *buf, *data, *end; 92 char *buf; 96 buf = (char *)data; 100 z->buf = z->data; 106 n = z->end - z->buf; 111 memcpy(buf, z->buf, n); 112 z->buf += n; 42 const char *buf, *data, *end; member in struct:read_data 89 char *buf; local
|
| H A D | zip_source_filep.c | 131 char *buf; 135 buf = (char *)data; 174 if ((i=fread(buf, 1, n, z->f)) < 0) { 127 char *buf; local
|
| H A D | zip_source_zip.c | 126 char b[8192], *buf; 131 buf = (char *)data; 152 if ((i=zip_fread(z->zf, buf, n)) < 0) 123 char b[8192], *buf; local
|
| /PHP_5_5/sapi/fpm/fpm/ |
| H A D | fpm_php_trace.c | 49 char buf[buf_size]; local 55 zlog_print_time(&tv, buf, buf_size); 57 fprintf(slowlog, "\n%s [pool %s] pid %d\n", buf, child->wp->config->name, (int) pid); 59 if (0 > fpm_trace_get_strz(buf, buf_size, (long) &SG(request_info).path_translated)) { 63 fprintf(slowlog, "script_filename = %s\n", buf); 84 if (0 > fpm_trace_get_strz(buf, buf_size, function + offsetof(zend_function, common.function_name))) { 88 fprintf(slowlog, "%s()", buf); 97 *buf = '\0'; 102 if (0 > fpm_trace_get_strz(buf, buf_size, op_array + offsetof(zend_op_array, filename))) { 122 fprintf(slowlog, " %s:%u\n", *buf [all...] |
| H A D | fpm_trace.c | 11 int fpm_trace_get_strz(char *buf, size_t sz, long addr) /* {{{ */ argument 30 *buf++ = lc[i]; 33 *buf = '\0';
|
| H A D | fpm_trace_pread.c | 38 char buf[128]; local 40 sprintf(buf, "/proc/%d/" PROC_MEM_FILE, (int) pid); 41 mem_file = open(buf, O_RDONLY); 43 zlog(ZLOG_SYSERROR, "failed to open %s", buf);
|
| /PHP_5_5/ext/fileinfo/libmagic/ |
| H A D | apptype.c | 14 * the contents of buf. If buf is not the complete file, apptype can 45 file_os2_apptype(struct magic_set *ms, const char *fn, const void *buf, argument 72 if (fwrite(buf, 1, nb, fp) != nb) { 132 if (strncmp((const char *)buf, "MZ", 2))
|
| H A D | is_tar.c | 63 file_is_tar(struct magic_set *ms, const unsigned char *buf, size_t nbytes) argument 75 tar = is_tar(buf, nbytes); 93 is_tar(const unsigned char *buf, size_t nbytes) argument 95 const union record *header = (const union record *)(const void *)buf;
|
| H A D | print.c | 75 file_fmttime(uint64_t v, int flags, char *buf) argument 88 pp = ctime_r(&t, buf); 110 pp = asctime_r(tm, buf); 118 return strcpy(buf, "*Invalid time*");
|
| /PHP_5_5/ext/gd/libgd/ |
| H A D | gd_color.c | 17 unsigned long *buf; /* stores our calculations */ local 18 unsigned long *bp; /* buf ptr */ 36 buf = (unsigned long *)safe_emalloc(sizeof(unsigned long), 5 * im2->colorsTotal, 0); 37 memset( buf, 0, sizeof(unsigned long) * 5 * im2->colorsTotal ); 43 bp = buf + (color * 5); 51 bp = buf; 63 gdFree(buf);
|
| H A D | gd_io.c | 36 unsigned char buf[2]; local 38 buf[0] = w & 0xff; 39 buf[1] = (w / 256) & 0xff; 40 (ctx->putBuf) (ctx, (char *) buf, 2); 122 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) argument 124 IO_DBG (php_gd_error("Putting buf...")); 125 return (ctx->putBuf) (ctx, buf, size); 129 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) argument 131 return (ctx->getBuf) (ctx, buf, size);
|
| H A D | gd_io_file.c | 77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) argument 82 return fwrite(buf, 1, size, fctx->f); 86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) argument 91 return fread(buf, 1, size, fctx->f);
|
| H A D | gd_io_ss.c | 45 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size); 79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) argument 86 res = ((lctx->src->source) (lctx->src->context, buf, size)); 105 unsigned char buf; local 107 res = sourceGetbuf (ctx, &buf, 1); 110 return buf; 116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) argument 123 res = (lctx->snk->sink) (lctx->snk->context, buf, size);
|
| H A D | gdxpm.c | 23 char buf[5]; local 44 buf[1] = '\0'; 45 buf[0] = image.colorTable[i].c_color[1]; 46 red = strtol(buf, NULL, 16); 48 buf[0] = image.colorTable[i].c_color[2]; 49 green = strtol(buf, NULL, 16); 51 buf[0] = image.colorTable[i].c_color[3]; 52 blue = strtol(buf, NULL, 16); 56 buf[2] = '\0'; 57 buf[ [all...] |
| /PHP_5_5/ext/mbstring/oniguruma/enc/ |
| H A D | big5.c | 64 big5_code_to_mbc(OnigCodePoint code, UChar *buf) argument 66 return onigenc_mb2_code_to_mbc(ONIG_ENCODING_BIG5, code, buf);
|
| /PHP_5_5/ext/mbstring/oniguruma/ |
| H A D | regposerr.c | 72 regerror(int posix_ecode, const regex_t* reg ARG_UNUSED, char* buf, argument 93 if (buf != NULL && size > 0) { 94 strncpy(buf, s, size - 1); 95 buf[size - 1] = '\0';
|
| /PHP_5_5/ext/dba/libflatfile/ |
| H A D | flatfile.c | 88 char buf[16]; local 91 if (php_stream_gets(dba->fp, buf, sizeof(buf))) { 92 value_datum.dsize = atoi(buf); 110 char *buf = emalloc(buf_size); local 117 if (!php_stream_gets(dba->fp, buf, 15)) { 120 num = atoi(buf); 123 buf = erealloc(buf, buf_size); 128 num = php_stream_read(dba->fp, buf, nu 166 char *buf = emalloc(buf_size); local 216 char *buf = emalloc(buf_size); local 264 char *buf = emalloc(buf_size); local [all...] |
| /PHP_5_5/ext/hash/ |
| H A D | hash_joaat.c | 67 * buf - start of buffer to hash 74 joaat_buf(void *buf, size_t len, php_hash_uint32 hval) argument 77 unsigned char *input = (unsigned char *)buf;
|
| /PHP_5_5/ext/standard/ |
| H A D | url_scanner_ex.h | 41 smart_str buf; member in struct:__anon249
|
| /PHP_5_5/win32/ |
| H A D | winutil.c | 27 char *buf = NULL; local 31 NULL, error, MAKELANGID(LANG_NEUTRAL, SUBLANG_DEFAULT), (LPTSTR)&buf, 0, NULL 34 return (buf ? (char *) buf : ""); 80 PHPAPI int php_win32_get_random_bytes(unsigned char *buf, size_t size) { /* {{{ */ argument 118 ret = CryptGenRandom(hCryptProv, size, buf);
|