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

/PHP_5_5/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_5/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_5/main/
H A Dmain.c1865 static int php_output_wrapper(const char *str, uint str_length) argument
1868 return php_output_write(str, str_length TSRMLS_CC);
/PHP_5_5/Zend/
H A Dzend_hash.c1147 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
1162 if (str_length) {
1163 *str_length = p->nKeyLength;
1231 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
1245 str_length = 0;
1261 h = zend_inline_hash_func(str_index, str_length);
1265 (p->nKeyLength == str_length &&
1267 memcmp(p->arKey, str_index, str_length) == 0)) {
1275 (q->h == h && q->nKeyLength == str_length &&
1276 memcmp(q->arKey, str_index, str_length)
[all...]
/PHP_5_5/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_5/sapi/fpm/fpm/
H A Dfastcgi.c598 uint str_length; local
614 while ((key_type = zend_hash_get_current_key_ex(req->env, &str_index, &str_length, &num_index, 0, &pos)) != HASH_KEY_NON_EXISTENT) {
620 if (zend_hash_find(&fcgi_mgmt_vars, str_index, str_length, (void**) &value) != SUCCESS) {
623 --str_length;
625 if ((p + 4 + 4 + str_length + zlen) >= (buf + sizeof(buf))) {
628 if (str_length < 0x80) {
629 *p++ = str_length;
631 *p++ = ((str_length >> 24) & 0xff) | 0x80;
632 *p++ = (str_length >> 16) & 0xff;
633 *p++ = (str_length >>
[all...]
/PHP_5_5/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_5/ext/readline/
H A Dreadline_cli.c82 static size_t readline_shell_write(const char *str, uint str_length TSRMLS_DC) /* {{{ */
85 smart_str_appendl(CLIR_G(prompt_str), str, str_length); local
86 return str_length;
93 return fwrite(str, 1, MIN(str_length, 16384), pager_pipe);
100 static int readline_shell_ub_write(const char *str, uint str_length TSRMLS_DC) /* {{{ */
105 php_last_char = str[str_length-1];

Completed in 18 milliseconds