Home
last modified time | relevance | path

Searched refs:buffer (Results 251 – 275 of 291) sorted by last modified time

1...<<1112

/PHP-5.5/ext/fileinfo/libmagic/
H A Dapprentice.c940 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 Dlibmagic.patch296 + 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 Dfileinfo.c174 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 Dfileinfo.php27 echo $fi->buffer(file_get_contents($file)) . "\n";
/PHP-5.5/ext/exif/
H A Dexif.c1947 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 D007.phpt2 Test empty result buffer in reg_replace
/PHP-5.5/ext/dom/
H A Dnode.c1901 ret = buf->buffer->use; in dom_canonicalization()
1907 RETVAL_STRINGL((char *) buf->buffer->content, ret, 1); in dom_canonicalization()
H A Ddocumenttype.c216 smart_str_appendl(&ret_buf, buff->buffer->content, buff->buffer->use); in dom_documenttype_internal_subset_read()
/PHP-5.5/ext/dba/
H A Dinstall_cdb.sh41 ar x ../buffer.a
/PHP-5.5/ext/date/
H A Dphp_date.c1063 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 Dparse_tz.c79 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 Dint2num.c49 char buffer[30]; local
62 bptr = buffer;
/PHP-5.5/
H A Dconfigure.in63 int zend_sprintf(char *buffer, const char *format, ...);
H A Dacinclude.m41782 __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 Dlibtool.m4816 # (any single argument exceeding 2000 bytes causes a buffer overrun
/PHP-5.5/Zend/
H A Dzend_sprintf.c31 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 Dzend_language_parser.y1232 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 Dzend_interfaces.c400 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 Dzend_interfaces.h64 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 Dzend.h515 …int (*serialize)(zval *object, unsigned char **buffer, zend_uint *buf_len, zend_serialize_data *da…
H A DZEND_CHANGES1107 buffer. Header information (header(), content type, cookies) are
H A Dconfigure.in58 int zend_sprintf(char *buffer, const char *format, ...);
/PHP-5.5/Zend/tests/
H A Dbug64960.phpt32 Notice: ob_end_flush(): failed to delete and flush buffer. No buffer to delete or flush in %sbug649…
/PHP-5.5/TSRM/
H A Dtsrm_win32.c716 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 Dtsrm_win32.h109 TSRM_API char *realpath(char *orig_path, char *buffer);

Completed in 118 milliseconds

1...<<1112