/PHP-5.5/win32/ |
H A D | sendmail.c | 855 int len = strlen(msg); in Post() local 859 while (len > 0) { in Post() 860 if ((slen = send(sc, msg + index, len, 0)) < 1) in Post() 862 len -= slen; in Post()
|
/PHP-5.5/ext/hash/ |
H A D | hash_sha.c | 41 static void SHAEncode32(unsigned char *output, php_hash_uint32 *input, unsigned int len) in SHAEncode32() argument 45 for (i = 0, j = 0; j < len; i++, j += 4) { in SHAEncode32() 59 static void SHADecode32(php_hash_uint32 *output, const unsigned char *input, unsigned int len) in SHADecode32() argument 63 for (i = 0, j = 0; j < len; i++, j += 4) in SHADecode32() 732 static void SHAEncode64(unsigned char *output, php_hash_uint64 *input, unsigned int len) in SHAEncode64() argument 736 for (i = 0, j = 0; j < len; i++, j += 8) { in SHAEncode64() 754 static void SHADecode64(php_hash_uint64 *output, const unsigned char *input, unsigned int len) in SHADecode64() argument 758 for (i = 0, j = 0; j < len; i++, j += 8) in SHADecode64()
|
/PHP-5.5/ext/reflection/ |
H A D | php_reflection.c | 117 int len; member 124 str->len = 1; in string_init() 131 int len; in string_printf() local 137 if (len) { in string_printf() 143 memcpy(str->string + str->len - 1, s_tmp, len + 1); in string_printf() 144 str->len += len; in string_printf() 153 register int nlen = (str->len + len + (1024 - 1)) & ~(1024 - 1); in string_write() 158 memcpy(str->string + str->len - 1, buf, len); in string_write() 159 str->len += len; in string_write() 175 str->len = 0; in string_free() [all …]
|
/PHP-5.5/ext/spl/ |
H A D | spl_directory.c | 195 if (len) { in spl_filesystem_object_get_path() 196 *len = intern->_path_len; in spl_filesystem_object_get_path() 398 intern->file_name_len = len; in spl_filesystem_info_set_filename() 575 *len = intern->file_name_len; in spl_filesystem_object_get_pathname() 580 *len = intern->file_name_len; in spl_filesystem_object_get_pathname() 584 *len = 0; in spl_filesystem_object_get_pathname() 686 int parsed, len; in spl_filesystem_object_construct() local 709 if (!len) { in spl_filesystem_object_construct() 1132 int len; in SPL_METHOD() local 1576 int len; in SPL_METHOD() local [all …]
|
/PHP-5.5/ext/readline/ |
H A D | readline.c | 467 int len; in _readline_string_zval() local 472 len = strlen(str); in _readline_string_zval() 473 ZVAL_STRINGL(ret, (char*)str, len, 1); in _readline_string_zval()
|
/PHP-5.5/ext/pdo_odbc/tests/ |
H A D | long_columns.phpt | 63 function alpha_repeat($len) { 66 while (strlen($out) < $len) { 69 return substr($out, 0, $len);
|
/PHP-5.5/ext/xmlrpc/libxmlrpc/ |
H A D | xmlrpc_introspection.c | 401 xReturn = XMLRPC_CreateValueString(name, el->text.str, el->text.len); in xml_element_to_method_description() 419 else if(el->name && el->text.len) { in xml_element_to_method_description() 420 xReturn = XMLRPC_CreateValueString(el->name, el->text.str, el->text.len); in xml_element_to_method_description()
|
/PHP-5.5/ext/mysqlnd/ |
H A D | mysqlnd_result_meta.c | 242 size_t len = meta->field_count * sizeof(struct mysqlnd_field_hash_key); in MYSQLND_METHOD() local 259 new_meta->zend_hash_keys = mnd_pemalloc(len, persistent); in MYSQLND_METHOD() 263 memcpy(new_meta->zend_hash_keys, meta->zend_hash_keys, len); in MYSQLND_METHOD()
|
H A D | php_mysqlnd.c | 96 if (buffer->len) { in mysqlnd_minfo_dump_loaded_plugins() 115 if (buffer->len) { in mysqlnd_minfo_dump_api_plugins()
|
/PHP-5.5/ext/standard/tests/strings/ |
H A D | strcspn_variation11.phpt | 2 Test strcspn() function : usage variations - with varying start and default len args 5 /* Prototype : proto int strcspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strcspn(substr($s,$start,$len),$bad_chars) 13 * Testing strcspn() : with varying start and default len arguments 16 echo "*** Testing strcspn() : with different start and default len values ***\n"; 81 *** Testing strcspn() : with different start and default len values ***
|
H A D | strspn_variation11.phpt | 2 Test strspn() function : usage variations - with varying start and default len args 5 /* Prototype : proto int strspn(string str, string mask [, int start [, int len]]) 7 … If start or/and length is provided works like strspn(substr($s,$start,$len),$good_chars) 13 * Testing strspn() : with varying start and default len arguments 16 echo "*** Testing strspn() : with different start and default len values ***\n"; 81 *** Testing strspn() : with different start and default len values ***
|
H A D | strncasecmp_variation9.phpt | 5 /* Prototype : int strncasecmp ( string $str1, string $str2, int $len );
|
/PHP-5.5/ext/mysqli/tests/ |
H A D | 065.phpt | 26 $len = $charset = array();
|
/PHP-5.5/Zend/ |
H A D | zend_constants.c | 213 c.value.value.str.len = strlen; in zend_register_stringl_constant() 270 int len, clen; in zend_get_special_constant() local 275 zend_mangle_property_name(&haltname, &len, haltoff, in zend_get_special_constant() 277 ret = zend_hash_find(EG(zend_constants), haltname, len+1, (void **) c); in zend_get_special_constant()
|
H A D | zend_operators.c | 2041 int len; in zend_binary_strcasecmp() local 2048 len = MIN(len1, len2); in zend_binary_strcasecmp() 2049 while (len--) { in zend_binary_strcasecmp() 2063 int len; in zend_binary_strncasecmp() local 2069 len = MIN(length, MIN(len1, len2)); in zend_binary_strncasecmp() 2070 while (len--) { in zend_binary_strncasecmp() 2084 int len; in zend_binary_strcasecmp_l() local 2091 len = MIN(len1, len2); in zend_binary_strcasecmp_l() 2092 while (len--) { in zend_binary_strcasecmp_l() 2106 int len; in zend_binary_strncasecmp_l() local [all …]
|
/PHP-5.5/ext/fileinfo/libmagic/ |
H A D | softmagic.c | 886 size_t len = file_pstring_get_length(m, ptr1); in mconvert() local 888 if (len >= sz) { in mconvert() 897 len = sz; in mconvert() 899 while (len--) in mconvert() 999 mdebug(uint32_t offset, const char *str, size_t len) in mdebug() argument 1001 (void) fprintf(stderr, "mget/%zu @%d: ", len, offset); in mdebug() 1002 file_showstr(stderr, str, len); in mdebug() 1778 file_strncmp(const char *s1, const char *s2, size_t len, uint32_t flags) in file_strncmp() argument 1796 while (len-- > 0) in file_strncmp() 1801 while (len-- > 0) { in file_strncmp() [all …]
|
/PHP-5.5/ext/phar/tests/files/ |
H A D | nophar.phar | 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 227 $start += $len[1];
|
H A D | include_path2.phar | 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 227 $start += $len[1];
|
H A D | openssl.phar | 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 227 $start += $len[1];
|
/PHP-5.5/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 227 $start += $len[1];
|
H A D | openssl.phar | 224 $len = unpack('V', substr($m, $start, 4)); 226 $savepath = substr($m, $start, $len[1]); 227 $start += $len[1];
|
/PHP-5.5/ext/openssl/ |
H A D | xp_ssl.c | 1021 size_t len = strlen(host); in get_sni() local 1024 while (len && host[len-1] == '.') { in get_sni() 1025 --len; in get_sni() 1028 if (len) { in get_sni() 1029 sni = pestrndup(host, len, is_persistent); in get_sni()
|
/PHP-5.5/ext/standard/ |
H A D | mail.c | 68 #define MAIL_ASCIIZ_CHECK(str, len) \ argument 70 e = p + len; \
|
/PHP-5.5/ext/pdo_oci/ |
H A D | oci_statement.c | 721 static int oci_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int *calle… in oci_stmt_get_col() argument 730 *len = 0; in oci_stmt_get_col() 740 *len = 0; in oci_stmt_get_col() 745 *len = C->fetched_len; in oci_stmt_get_col() 752 *len = C->fetched_len; in oci_stmt_get_col()
|
/PHP-5.5/ext/pdo/ |
H A D | php_pdo_driver.h | 261 typedef char *(*pdo_dbh_last_id_func)(pdo_dbh_t *dbh, const char *name, unsigned int *len TSRMLS_DC… 342 …get_col_data_func)(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int *caller_frees …
|