Searched defs:str_length (Results 1 - 11 of 11) sorted by relevance

/PHP_5_3/sapi/isapi/stresstest/
H A Dstresstest.cpp155 BOOL CompareStringWithFile(const char *filename, const char *str, unsigned int str_length) argument
173 if (offset+readbytes > str_length
/PHP_5_3/ext/pdo/
H A Dpdo_stmt.c449 uint str_length; local
463 &param.name, &str_length, &num_index, 0, NULL)) {
465 param.namelen = str_length - 1;
/PHP_5_3/ext/zlib/
H A Dzlib.c738 static int php_do_deflate(uint str_length, Bytef **p_buffer, uint *p_buffer_len, zend_bool do_start, zend_bool do_end TSRMLS_DC) argument
746 outlen = (uint) (str_length + (str_length / PHP_ZLIB_MODIFIER) + 12 + 1); /* leave some room for a trailing \0 */
784 static int php_deflate_string(const char *str, uint str_length, char **newstr, uint *new_length, zend_bool do_start, zend_bool do_end TSRMLS_DC) argument
814 ZLIBG(stream).avail_in = (uInt) str_length;
817 ZLIBG(crc) = crc32(ZLIBG(crc), (const Bytef *) str, str_length);
820 err = php_do_deflate(str_length, (Bytef **) newstr, new_length, do_start, do_end TSRMLS_CC);
/PHP_5_3/sapi/cgi/
H A Dfastcgi.c764 uint str_length; local
780 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTANT) {
786 if (zend_hash_find(&fcgi_mgmt_vars, str_index, str_length, (void**) &value) != SUCCESS) {
789 --str_length;
791 if ((p + 4 + 4 + str_length + zlen) >= (buf + sizeof(buf))) {
794 if (str_length < 0x80) {
795 *p++ = str_length;
797 *p++ = ((str_length >> 24) & 0xff) | 0x80;
798 *p++ = (str_length >> 16) & 0xff;
799 *p++ = (str_length >>
[all...]
/PHP_5_3/sapi/embed/
H A Dphp_embed.c47 static inline size_t php_embed_single_write(const char *str, uint str_length) argument
52 ret = write(STDOUT_FILENO, str, str_length);
58 ret = fwrite(str, 1, MIN(str_length, 16384), stdout);
64 static int php_embed_ub_write(const char *str, uint str_length TSRMLS_DC)
67 uint remaining = str_length;
79 return str_length;
/PHP_5_3/sapi/fpm/fpm/
H A Dfastcgi.c597 uint str_length; local
613 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTANT) {
619 if (zend_hash_find(&fcgi_mgmt_vars, str_index, str_length, (void**) &value) != SUCCESS) {
622 --str_length;
624 if ((p + 4 + 4 + str_length + zlen) >= (buf + sizeof(buf))) {
627 if (str_length < 0x80) {
628 *p++ = str_length;
630 *p++ = ((str_length >> 24) & 0xff) | 0x80;
631 *p++ = (str_length >> 16) & 0xff;
632 *p++ = (str_length >>
[all...]
/PHP_5_3/sapi/thttpd/
H A Dthttpd.c67 static int sapi_thttpd_ub_write(const char *str, uint str_length TSRMLS_DC)
73 smart_str_appendl_ex(&TG(sbuf), str, str_length, 1); local
74 return str_length;
77 while (str_length > 0) {
78 PHP_SYS_CALL(n = send(TG(hc)->conn_fd, str, str_length, 0););
82 smart_str_appendl_ex(&TG(sbuf), str, str_length, 1); local
84 return sent + str_length;
92 str_length -= n;
/PHP_5_3/Zend/
H A Dzend_API.c1031 uint str_length; local
1035 zend_hash_get_current_key_ex(&class_type->default_static_members, &str_index, &str_length, &num_index, 0, &pos);
1038 zend_hash_find(&class_type->parent->default_static_members, str_index, str_length, (void**)&q) == SUCCESS &&
1040 zend_hash_find(CE_STATIC_MEMBERS(class_type->parent), str_index, str_length, (void**)&q) == SUCCESS
1044 zend_hash_add(CE_STATIC_MEMBERS(class_type), str_index, str_length, (void**)q, sizeof(zval*), NULL); local
1052 zend_hash_add(CE_STATIC_MEMBERS(class_type), str_index, str_length, (void**)&r, sizeof(zval*), NULL); local
H A Dzend_hash.c1109 ZEND_API int zend_hash_get_current_key_ex(const HashTable *ht, char **str_index, uint *str_length, ulong *num_index, zend_bool duplicate, HashPosition *pos) argument
1124 if (str_length) {
1125 *str_length = p->nKeyLength;
1175 ZEND_API int zend_hash_update_current_key_ex(HashTable *ht, int key_type, const char *str_index, uint str_length, ulong num_index, int mode, HashPosition *pos) argument
1185 str_length = 0;
1200 if (p->nKeyLength == str_length &&
1201 memcmp(p->arKey, str_index, str_length) == 0) {
1205 h = zend_inline_hash_func(str_index, str_length);
1209 if (q->h == h && q->nKeyLength == str_length &&
1210 memcmp(q->arKey, str_index, str_length)
[all...]
/PHP_5_3/main/
H A Dmain.c1721 static int php_body_write_wrapper(const char *str, uint str_length) argument
1724 return php_body_write(str, str_length TSRMLS_CC);
/PHP_5_3/ext/standard/
H A Dinfo.c75 static int php_info_write_wrapper(const char *str, uint str_length) argument
82 elem_esc = php_escape_html_entities((unsigned char *)str, str_length, &new_len, 0, ENT_QUOTES, NULL TSRMLS_CC);

Completed in 32 milliseconds