/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 940 char buffer[BUFSIZ + 1]; in load_1() local 967 …for (ms->line = 1; (line = php_stream_get_line(stream, buffer , BUFSIZ, &len)) != NULL; ms->line++… in load_1()
|
/PHP-5.5/ext/fileinfo/ |
H A D | libmagic.patch | 296 + char buffer[BUFSIZ + 1]; 326 + for (ms->line = 1; (line = php_stream_get_line(stream, buffer , BUFSIZ, &len)) != NULL; ms->line+… 1937 * Like printf, only we append to a buffer. 2539 - * We have the file name and/or the data buffer to be identified. 2540 + * We have the file name and/or the data buffer to be identified.
|
H A D | fileinfo.c | 174 ZEND_ME_MAPPING(buffer, finfo_buffer, arginfo_finfo_method_buffer, ZEND_ACC_PUBLIC) 414 char *ret_val = NULL, *buffer = NULL; local 433 buffer = Z_STRVAL_P(what); 453 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|lr", &buffer, &buffer_len, &options, &zcon… 474 ret_val = (char *) magic_buffer(magic, buffer, buffer_len); 504 if (buffer == NULL || !*buffer) { 509 if (CHECK_NULL_PATH(buffer, buffer_len)) { 515 wrap = php_stream_locate_url_wrapper(buffer, &tmp2, 0 TSRMLS_CC); 522 if (php_stream_stat_path_ex(buffer, 0, &ssb, context) == SUCCESS) { 531 …stream = php_stream_open_wrapper_ex(buffer, "rb", ENFORCE_SAFE_MODE | REPORT_ERRORS, NULL, context… [all …]
|
H A D | fileinfo.php | 27 echo $fi->buffer(file_get_contents($file)) . "\n";
|
/PHP-5.5/ext/exif/ |
H A D | exif.c | 1947 char buffer[64], *val, *name, uname[64]; in add_assoc_image_info() local 2050 snprintf(buffer, sizeof(buffer), "%i/%i", info_value->ur.num, info_value->ur.den); in add_assoc_image_info() 2052 add_assoc_string(tmpi, name, buffer, 1); in add_assoc_image_info() 2054 add_index_string(array, ap, buffer, 1); in add_assoc_image_info() 2076 snprintf(buffer, sizeof(buffer), "%i/%i", info_value->sr.num, info_value->sr.den); in add_assoc_image_info() 2078 add_assoc_string(tmpi, name, buffer, 1); in add_assoc_image_info() 2080 add_index_string(array, ap, buffer, 1); in add_assoc_image_info() 3293 static void exif_process_APP12(image_info_type *ImageInfo, char *buffer, size_t length TSRMLS_DC) in exif_process_APP12() argument 3297 if ((l1 = php_strnlen(buffer+2, length-2)) > 0) { in exif_process_APP12() 3298 …exif_iif_add_tag(ImageInfo, SECTION_APP12, "Company", TAG_NONE, TAG_FMT_STRING, l1, buffer+2 TSRML… in exif_process_APP12() [all …]
|
/PHP-5.5/ext/ereg/tests/ |
H A D | 007.phpt | 2 Test empty result buffer in reg_replace
|
/PHP-5.5/ext/dom/ |
H A D | node.c | 1901 ret = buf->buffer->use; in dom_canonicalization() 1907 RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); in dom_canonicalization()
|
H A D | documenttype.c | 216 smart_str_appendl(&ret_buf, buff->buffer->content, buff->buffer->use); in dom_documenttype_internal_subset_read()
|
/PHP-5.5/ext/dba/ |
H A D | install_cdb.sh | 41 ar x ../buffer.a
|
/PHP-5.5/ext/date/ |
H A D | php_date.c | 1063 char buffer[97]; in date_format() local 1137 length = slprintf(buffer, 32, "%03d", retval); in date_format() 1151 case 'O': length = slprintf(buffer, 32, "%c%02d%s%02d", in date_format() 1160 length = slprintf(buffer, 32, "%s", "UTC"); in date_format() 1170 length = slprintf(buffer, 32, "%c%02d:%02d", in date_format() 1203 default: buffer[0] = format[i]; buffer[1] = '\0'; length = 1; break; in date_format() 1205 smart_str_appendl(&string, buffer, length); in date_format() 4275 char buffer[33]; in date_interval_format() local 4306 length = slprintf(buffer, 32, "(unknown)"); in date_interval_format() 4313 default: buffer[0] = '%'; buffer[1] = format[i]; buffer[2] = '\0'; length = 2; break; in date_interval_format() [all …]
|
/PHP-5.5/ext/date/lib/ |
H A D | parse_tz.c | 79 memcpy(&buffer, *tzf, sizeof(buffer)); in read_header() 105 if (!buffer) { in read_transistions() 111 buffer[i] = timelib_conv_int(buffer[i]); in read_transistions() 116 free(buffer); in read_transistions() 149 if (!buffer) { in read_types() 157 free(buffer); in read_types() 163 …tz->type[i].offset = (buffer[j] * 16777216) + (buffer[j + 1] * 65536) + (buffer[j + 2] * 256) + bu… in read_types() 167 free(buffer); in read_types() 207 free(buffer); in read_types() 242 memcpy(&buffer, *tzf, sizeof(buffer)); in read_location() [all …]
|
/PHP-5.5/ext/bcmath/libbcmath/src/ |
H A D | int2num.c | 49 char buffer[30]; local 62 bptr = buffer;
|
/PHP-5.5/ |
H A D | configure.in | 63 int zend_sprintf(char *buffer, const char *format, ...);
|
H A D | acinclude.m4 | 1782 __ssize_t reader(void *cookie, char *buffer, size_t size) 1784 __ssize_t writer(void *cookie, const char *buffer, size_t size) 2831 CRYPTD buffer; 2832 crypt_r("passwd", "hash", &buffer); 2841 struct crypt_data buffer; 2842 crypt_r("passwd", "hash", &buffer); 2853 struct crypt_data buffer; 2854 crypt_r("passwd", "hash", &buffer);
|
/PHP-5.5/build/ |
H A D | libtool.m4 | 816 # (any single argument exceeding 2000 bytes causes a buffer overrun
|
/PHP-5.5/Zend/ |
H A D | zend_sprintf.c | 31 int zend_sprintf(char *buffer, const char *format, ...) in zend_sprintf() argument 36 vsprintf(buffer, format, args); in zend_sprintf() 39 return strlen(buffer); in zend_sprintf()
|
H A D | zend_language_parser.y | 1232 char buffer[120]; variable 1263 snprintf(buffer, sizeof(buffer), "'%.*s' %.*s", len, str, toklen, tok1); 1265 snprintf(buffer, sizeof(buffer), "'%.*s'", len, str); 1267 yystpcpy(yyres, buffer);
|
H A D | zend_interfaces.c | 400 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_ser… in zend_user_serialize() argument 418 *buffer = (unsigned char*)estrndup(Z_STRVAL_P(retval), Z_STRLEN_P(retval)); in zend_user_serialize() 458 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, zend_uint *buf_len, ze… in zend_class_serialize_deny() argument
|
H A D | zend_interfaces.h | 64 ZEND_API int zend_user_serialize(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_ser… 67 ZEND_API int zend_class_serialize_deny(zval *object, unsigned char **buffer, zend_uint *buf_len, ze…
|
H A D | zend.h | 515 …int (*serialize)(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *da…
|
H A D | ZEND_CHANGES | 1107 buffer. Header information (header(), content type, cookies) are
|
H A D | configure.in | 58 int zend_sprintf(char *buffer, const char *format, ...);
|
/PHP-5.5/Zend/tests/ |
H A D | bug64960.phpt | 32 Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %sbug649…
|
/PHP-5.5/TSRM/ |
H A D | tsrm_win32.c | 716 TSRM_API char *realpath(char *orig_path, char *buffer) in realpath() argument 718 int ret = GetFullPathName(orig_path, _MAX_PATH, buffer, NULL); in realpath() 722 return buffer; in realpath()
|
H A D | tsrm_win32.h | 109 TSRM_API char *realpath(char *orig_path, char *buffer);
|