/PHP-5.5/ext/com_dotnet/ |
H A D | com_handlers.c | 262 static union _zend_function *com_method_get(zval **object_ptr, char *name, int len, const zend_lite… in com_method_get() argument 276 if (FAILED(php_com_get_id_of_name(obj, name, len, &dummy TSRMLS_CC))) { in com_method_get() 281 …if (obj->method_cache == NULL || FAILURE == zend_hash_find(obj->method_cache, name, len, (void**)&… in com_method_get() 287 f.function_name = estrndup(name, len); in com_method_get() 303 olename = php_com_string_to_olestring(name, len, obj->code_page TSRMLS_CC); in com_method_get() 351 zend_hash_update(obj->method_cache, name, len, &f, sizeof(f), (void**)&fptr); in com_method_get()
|
/PHP-5.5/main/ |
H A D | network.c | 320 socklen_t len; local 364 len = sizeof(error); 369 if (getsockopt(sockfd, SOL_SOCKET, SO_ERROR, (char*)&error, &len) != 0) { 644 int len = strlen(ua->sun_path + 1) + 1; local 645 *textaddrlen = len; 646 *textaddr = emalloc(len + 1); 647 memcpy(*textaddr, ua->sun_path, len); 648 (*textaddr)[len] = '\0';
|
H A D | fopen_wrappers.c | 534 int len = strlen(ptr); local 536 if (len + 1 + filename_length + 1 >= MAXPATHLEN) { 539 memcpy(trypath, ptr, len); 540 trypath[len] = '/'; 541 memcpy(trypath+len+1, filename, filename_length+1);
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 280 int len = strlen(val); in fpm_conf_set_time() local 283 if (!len) { in fpm_conf_set_time() 287 suffix = val[len-1]; in fpm_conf_set_time() 290 val[len-1] = '\0'; in fpm_conf_set_time() 294 val[len-1] = '\0'; in fpm_conf_set_time() 298 val[len-1] = '\0'; in fpm_conf_set_time() 302 val[len-1] = '\0'; in fpm_conf_set_time() 1119 int len; in fpm_conf_write_pid() local 1131 if (len != write(fd, buf, len)) { in fpm_conf_write_pid() 1269 int len = strlen(g.gl_pathv[i]); in fpm_conf_ini_parser_include() local [all …]
|
/PHP-5.5/ext/standard/ |
H A D | info.c | 64 static int php_info_print_html_esc(const char *str, int len) /* {{{ */ in php_info_print_html_esc() argument 71 …new_str = php_escape_html_entities((unsigned char *) str, len, &new_len, 0, ENT_QUOTES, "utf-8" TS… in php_info_print_html_esc() 81 int len, written; in php_info_printf() local 86 len = vspprintf(&buf, 0, fmt, argv); in php_info_printf() 89 written = php_output_write(buf, len TSRMLS_CC); in php_info_printf() 105 uint len; in php_info_print_stream_hash() local 118 while (zend_hash_get_current_key_ex(ht, &key, &len, NULL, 0, &pos) == HASH_KEY_IS_STRING) in php_info_print_stream_hash() 121 php_info_print_html_esc(key, len-1); in php_info_print_stream_hash() 126 if (zend_hash_get_current_key_ex(ht, &key, &len, NULL, 0, &pos) == HASH_KEY_IS_STRING) { in php_info_print_stream_hash()
|
H A D | dns_win32.c | 226 int len = strlen(data_txt->pStringArray[i]); in php_parserr() local 227 memcpy(txt_dst, data_txt->pStringArray[i], len); in php_parserr() 228 add_next_index_stringl(entries, data_txt->pStringArray[i], len, 1); in php_parserr() 229 txt_dst += len; in php_parserr()
|
/PHP-5.5/ext/intl/grapheme/ |
H A D | grapheme_util.h | 32 int grapheme_ascii_check(const unsigned char *day, int32_t len);
|
/PHP-5.5/ext/interbase/ |
H A D | ibase_query.c | 1015 i += len+3; in _php_ibase_exec() 1282 short len = (short)isc_vax_integer(&result[i+1],2); in PHP_FUNCTION() local 1284 RETURN_LONG(isc_vax_integer(&result[i+3],len)); in PHP_FUNCTION() 1286 i += len+3; in PHP_FUNCTION() 1322 len = ((IBVARY *) data)->vary_length; in _php_ibase_var_zval() 1326 ZVAL_STRINGL(val,(char *) data,len,1); in _php_ibase_var_zval() 1914 unsigned short len; in _php_ibase_field_info() local 1928 len = slprintf(buf, 16, "%d", var->sqllen); in _php_ibase_field_info() 1929 add_index_stringl(return_value, 3, buf, len, 1); in _php_ibase_field_info() 1948 add_index_stringl(return_value, 4, s, len, 1); in _php_ibase_field_info() [all …]
|
/PHP-5.5/ext/gd/libgd/ |
H A D | gd_gif_in.c | 47 #define ReadOK(file,buffer,len) (gdGetBuf(buffer, len, file) > 0) argument 99 static void ReadImage (gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256],… 553 ReadImage(gdImagePtr im, gdIOCtx *fd, int len, int height, unsigned char (*cmap)[256], int interlac… in ReadImage() argument 606 if (xpos == len) { in ReadImage()
|
/PHP-5.5/ext/phar/ |
H A D | pharzip.h | 57 char len[4]; /* extra field length 4 bytes */ member
|
/PHP-5.5/sapi/cli/ |
H A D | php_http_parser.h | 163 size_t len);
|
/PHP-5.5/Zend/ |
H A D | zend_compile.c | 2082 int len; in zend_resolve_non_class_name() local 2106 len += 1; in zend_resolve_non_class_name() 2189 int len; in zend_resolve_class_name() local 2215 len += 1; in zend_resolve_class_name() 5252 int len = 0; in zend_strnlen() local 5254 return len; in zend_strnlen() 5460 int len, clen; in zend_do_halt_compiler_register() local 7180 if (2 == len) { in zend_dirname() 7185 return len; in zend_dirname() 7201 return len; in zend_dirname() [all …]
|
/PHP-5.5/ext/session/ |
H A D | session.c | 442 size_t len; in php_session_valid_key() local 459 len = p - key; in php_session_valid_key() 463 if (len == 0 || len > 128) { in php_session_valid_key() 850 *newlen = buf.len; in PHP_INI_END() 907 *newlen = buf.len; 999 *newlen = buf.len; 1305 int session_cookie_len, len = sizeof("Set-Cookie")-1; 1316 if (header->header_len > len && header->header[len] == ':' 2029 int len; 2036 enc = php_session_encode(&len TSRMLS_CC); [all …]
|
/PHP-5.5/ext/intl/formatter/ |
H A D | formatter_attr.c | 214 int len; in PHP_FUNCTION() local 219 &object, NumberFormatter_ce_ptr, &attribute, &value, &len ) == FAILURE) in PHP_FUNCTION() 231 intl_convert_utf8_to_utf16(&svalue, &slength, value, len, &INTL_DATA_ERROR_CODE(nfo)); in PHP_FUNCTION()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strncasecmp_variation7.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
H A D | strncmp_variation7.phpt | 5 /* Prototype : int strncmp ( string $str1, string $str2, int $len );
|
/PHP-5.5/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.h | 164 xml_element* xml_elem_parse_buf(const char* in_buf, int len, XML_ELEM_INPUT_OPTIONS options, XML_EL…
|
/PHP-5.5/ext/date/lib/ |
H A D | parse_iso_intervals.c | 92 unsigned int line, len; member 137 int len = 0; in timelib_get_nr() local 146 while ((**ptr >= '0') && (**ptr <= '9') && len < max_length) { in timelib_get_nr() 148 ++len; in timelib_get_nr() 250 s->len = 0; in scan() 1007 void timelib_strtointerval(char *s, int len, in timelib_strtointerval() argument 1014 char *e = s + len - 1; in timelib_strtointerval() 1023 if (len > 0) { in timelib_strtointerval()
|
/PHP-5.5/ext/ereg/ |
H A D | ereg.c | 251 size_t len; in php_ereg_eprint() local 266 len = regerror(err, re, NULL, 0); in php_ereg_eprint() 267 if (len) { in php_ereg_eprint() 268 message = (char *)safe_emalloc((buf_len + len + 2), sizeof(char), 0); in php_ereg_eprint() 277 regerror(err, re, message + buf_len, len); in php_ereg_eprint()
|
/PHP-5.5/sapi/caudium/ |
H A D | caudium.c | 313 hval = begin_shared_string(soldval->u.string->len + 1 + vallen); in php_caudium_set_header() 314 MEMCPY(hval->str, soldval->u.string->str, soldval->u.string->len); in php_caudium_set_header() 315 STR0(hval)[soldval->u.string->len] = '\0'; in php_caudium_set_header() 316 MEMCPY(hval->str+soldval->u.string->len+1, value, vallen); in php_caudium_set_header() 414 (total_read = Pike_sp[-1].u.string->len)); in php_caudium_low_read_post()
|
/PHP-5.5/ext/sybase_ct/ |
H A D | php_sybase_ct.c | 733 int hashed_details_length, len; in php_sybase_do_connect() local 739 …NUM_ARGS() TSRMLS_CC, "|s!s!s!s!s!", &host, &len, &user, &len, &passwd, &len, &charset, &len, &app… in php_sybase_do_connect() 743 …UM_ARGS() TSRMLS_CC, "|s!s!s!s!s!b", &host, &len, &user, &len, &passwd, &len, &charset, &len, &app… in php_sybase_do_connect() 1064 int id, len; in PHP_FUNCTION() local 1067 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|r", &db, &len, &sybase_link_index) == FAIL… in PHP_FUNCTION() 1078 spprintf(&cmdbuf, 4 + len + 1, "use %s", db); in PHP_FUNCTION() 1429 int len, id, deadlock_count; in php_sybase_query() local 1440 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|rb", &query, &len, &sybase_link_index, &st… in php_sybase_query()
|
/PHP-5.5/ext/intl/resourcebundle/ |
H A D | resourcebundle_class.c | 287 int32_t len; in ZEND_END_ARG_INFO() local 298 len = ures_getSize( rb->me ); in ZEND_END_ARG_INFO() 299 RETURN_LONG( len ); in ZEND_END_ARG_INFO()
|
/PHP-5.5/ext/sysvmsg/ |
H A D | sysvmsg.c | 418 messagebuffer = safe_emalloc(msg_var.len, 1, sizeof(struct php_msgbuf)); in PHP_FUNCTION() 419 memcpy(messagebuffer->mtext, msg_var.c, msg_var.len + 1); in PHP_FUNCTION() 420 message_len = msg_var.len; in PHP_FUNCTION()
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | file.h | 379 size_t len; member 486 ssize_t getline(char **dst, size_t *len, FILE *fp); 487 ssize_t getdelim(char **dst, size_t *len, int delimiter, FILE *fp);
|
/PHP-5.5/sapi/tux/ |
H A D | php_tux.c | 107 size_t len; in sapi_tux_send_headers() local 119 len = slprintf(status_line, 30, "HTTP/1.1 %d NA\r\n", SG(sapi_headers).http_response_code); in sapi_tux_send_headers() 122 vec[0].iov_len = len; in sapi_tux_send_headers()
|