/PHP-5.5/ext/gd/libgd/ |
H A D | wbmp.c | 153 int row, col, byte, pel, pos; in readwbmp() local 205 pos = 0; in readwbmp() 218 wbmp->bitmap[pos] = WBMP_WHITE; in readwbmp() 222 wbmp->bitmap[pos] = WBMP_BLACK; in readwbmp() 224 pos++; in readwbmp()
|
H A D | gd_io_file.c | 114 static int fileSeek (struct gdIOCtx *ctx, const int pos) in fileSeek() argument 119 return (fseek (fctx->f, pos, SEEK_SET) == 0); in fileSeek()
|
/PHP-5.5/ext/com_dotnet/ |
H A D | com_wrapper.c | 453 HashPosition pos; in generate_dispids() local 469 zend_hash_internal_pointer_reset_ex(Z_OBJPROP_P(disp->object), &pos); in generate_dispids() 472 &namelen, &pid, 0, &pos))) { in generate_dispids() 480 zend_hash_move_forward_ex(Z_OBJPROP_P(disp->object), &pos); in generate_dispids() 503 &name, &namelen, &pid, 0, &pos))) { in generate_dispids() 512 zend_hash_move_forward_ex(Z_OBJPROP_P(disp->object), &pos); in generate_dispids() 585 HashPosition pos; in php_com_wrapper_export_as_sink() local 600 zend_hash_internal_pointer_reset_ex(id_to_name, &pos); in php_com_wrapper_export_as_sink() 602 zend_hash_get_current_key_ex(id_to_name, &name, &namelen, &pid, 0, &pos))) { in php_com_wrapper_export_as_sink() 606 zend_hash_get_current_data_ex(id_to_name, (void**)&ntmp, &pos); in php_com_wrapper_export_as_sink() [all …]
|
/PHP-5.5/ext/sysvshm/ |
H A D | sysvshm.c | 390 long pos; in php_check_shm_data() local 393 pos = ptr->start; in php_check_shm_data() 396 if (pos >= ptr->end) { in php_check_shm_data() 399 shm_var = (sysvshm_chunk*) ((char *) ptr + pos); in php_check_shm_data() 401 return pos; in php_check_shm_data() 403 pos += shm_var->next; in php_check_shm_data() 405 if (shm_var->next <= 0 || pos < ptr->start) { in php_check_shm_data()
|
/PHP-5.5/ext/readline/ |
H A D | readline_cli.c | 589 size_t size = 4096, pos = 0, len; in readline_shell_run() local 620 if (!pos && !*line) { in readline_shell_run() 647 if (pos + len + 2 > size) { in readline_shell_run() 648 size = pos + len + 2; in readline_shell_run() 651 memcpy(&code[pos], line, len); in readline_shell_run() 652 pos += len; in readline_shell_run() 653 code[pos] = '\n'; in readline_shell_run() 654 code[++pos] = '\0'; in readline_shell_run() 664 if (!cli_is_valid_code(code, pos, &prompt TSRMLS_CC)) { in readline_shell_run() 678 zend_eval_stringl(code, pos, NULL, "php shell code" TSRMLS_CC); in readline_shell_run() [all …]
|
/PHP-5.5/ext/mbstring/libmbfl/tests/ |
H A D | strwidth.c | 60 if (dev.pos >= dev.length) { in main() 70 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
H A D | conv_kana.c | 126 if (dev.pos >= dev.length) { in main() 136 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
H A D | conv_encoding.c | 80 if (dev.pos >= dev.length) { in main() 90 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
H A D | strcut.c | 89 if (dev.pos >= dev.length) { in main() 99 dev.buffer[dev.pos++] = (unsigned char)c; in main()
|
/PHP-5.5/ext/mbstring/libmbfl/mbfl/ |
H A D | mbfl_memory_device.h | 42 int pos; member 49 int pos; member
|
H A D | mbfilter.c | 1580 int pos; in mbfl_strcut() member 1621 _bk.pos = device.pos; in mbfl_strcut() 1638 device.pos = _bk.pos; in mbfl_strcut() 1649 bk.pos = device.pos; in mbfl_strcut() 1661 device.pos = _bk.pos; in mbfl_strcut() 1672 device.pos = bk.pos; in mbfl_strcut() 1690 device.pos = bk.pos; in mbfl_strcut() 1703 _bk.pos = device.pos; in mbfl_strcut() 1714 device.pos = bk.pos; in mbfl_strcut() 1726 device.pos = _bk.pos; in mbfl_strcut() [all …]
|
/PHP-5.5/ext/spl/tests/ |
H A D | array_014.phpt | 32 $pos = 0; 35 $it->seek($pos++);
|
H A D | iterator_008.phpt | 37 $pos =0; 41 if ($pos++ > 5) {
|
/PHP-5.5/ext/ereg/ |
H A D | ereg.c | 413 int pos, tmp, string_len, new_l; in php_ereg_replace() local 440 err = pos = 0; in php_ereg_replace() 443 err = regexec(&re, &string[pos], re.re_nsub+1, subs, (pos ? REG_NOTBOL : 0)); in php_ereg_replace() 484 strncat(buf, &string[pos], subs[0].rm_so); in php_ereg_replace() 496 memcpy (walkbuf, &string[pos + subs[walk[1] - '0'].rm_so], tmp); in php_ereg_replace() 508 if (subs[0].rm_so + pos >= string_len) { in php_ereg_replace() 519 pos += subs[0].rm_eo + 1; in php_ereg_replace() 520 buf [new_l-1] = string [pos-1]; in php_ereg_replace() 523 pos += subs[0].rm_eo; in php_ereg_replace() 526 new_l = strlen(buf) + strlen(&string[pos]); in php_ereg_replace() [all …]
|
/PHP-5.5/main/ |
H A D | rfc1867.c | 484 while (*pos && *pos != stop) { in php_ap_getword() 486 ++pos; in php_ap_getword() 487 while (*pos && *pos != quote) { in php_ap_getword() 488 if (*pos == '\\' && pos[1] && pos[1] == quote) { in php_ap_getword() 489 pos += 2; in php_ap_getword() 491 ++pos; in php_ap_getword() 494 if (*pos) { in php_ap_getword() 495 ++pos; in php_ap_getword() 497 } else ++pos; in php_ap_getword() 508 ++pos; in php_ap_getword() [all …]
|
H A D | getopt.c | 91 char *pos; in php_getopt() local 103 if ((pos = php_memnstr(&argv[*optind][arg_start], "=", 1, argv[*optind]+arg_end)) != NULL) { in php_getopt() 104 arg_end = pos-&argv[*optind][arg_start]; in php_getopt()
|
/PHP-5.5/ext/phar/ |
H A D | phar.c | 1853 if (pos && (*(pos - 1) != '/') 1854 && (pos += 5) && (*pos == '\0' || *pos == '/' || *pos == '.')) { 1864 if (!(pos && (*(pos - 1) != '/') 1906 if (pos && pos != filename) { 1908 if (*(pos - 1) == ':' && (pos - filename) < filename_len - 1 && *(pos + 1) == '/') { 2023 if (!pos) { 2027 while (pos != filename && (*(pos - 1) == '/' || *(pos - 1) == '\0')) { 2028 pos = memchr(pos + 1, '.', filename_len - (pos - filename) + 1); 2029 if (!pos) { 2060 pos = strchr(pos + 1, '.'); [all …]
|
/PHP-5.5/ext/intl/tests/ |
H A D | dateformat_parse_timestamp_parsepos.phpt | 2 datefmt_parse_timestamp_code() with parse pos icu <= 4.2 56 $pos = 0; 57 $parsed = ut_datefmt_parse( $fmt , $text_entry, $pos); 59 $res_str .= "\nParsed text is : $parsed; Position = $pos"; 61 $res_str .= "\nError while parsing as: '".intl_get_error_message()."'; Position = $pos";
|
H A D | bug61487.phpt | 2 grapheme() str[i]pos limits
|
/PHP-5.5/ext/standard/ |
H A D | proc_open.c | 87 HashPosition pos; in _php_array_to_envp() local 111 for (zend_hash_internal_pointer_reset_ex(target_hash, &pos); in _php_array_to_envp() 112 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS; in _php_array_to_envp() 113 zend_hash_move_forward_ex(target_hash, &pos)) { in _php_array_to_envp() 147 for (zend_hash_internal_pointer_reset_ex(target_hash, &pos); in _php_array_to_envp() 148 zend_hash_get_current_data_ex(target_hash, (void **) &element, &pos) == SUCCESS; in _php_array_to_envp() 149 zend_hash_move_forward_ex(target_hash, &pos)) { in _php_array_to_envp() 203 zend_hash_internal_pointer_reset_ex(target_hash, &pos); in _php_array_to_envp() 463 HashPosition pos; in PHP_FUNCTION() local 540 zend_hash_internal_pointer_reset_ex(Z_ARRVAL_P(descriptorspec), &pos); in PHP_FUNCTION() [all …]
|
/PHP-5.5/sapi/nsapi/ |
H A D | nsapi.c | 612 length = nbuf->cursize - nbuf->pos; in sapi_nsapi_read_post() 619 nbuf->pos += length; in sapi_nsapi_read_post() 662 int pos; in sapi_nsapi_register_server_variables() local 679 pos = 0; in sapi_nsapi_register_server_variables() 682 pos = 5; in sapi_nsapi_register_server_variables() 685 for(p = value + pos; *p; p++) { in sapi_nsapi_register_server_variables() 733 pos = strlen(value); in sapi_nsapi_register_server_variables() 749 pos = strlen(SG(request_info).request_uri); in sapi_nsapi_register_server_variables() 762 pos -= strlen(rc->path_info); in sapi_nsapi_register_server_variables() 763 if (pos<0) { in sapi_nsapi_register_server_variables() [all …]
|
/PHP-5.5/sapi/fpm/fpm/ |
H A D | fpm_log.c | 299 zend_llist_position pos; in fpm_log_write() local 303 h = (sapi_header_struct*)zend_llist_get_first_ex(&sapi_headers->headers, &pos); in fpm_log_write() 307 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 311 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 317 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write() 322 h = (sapi_header_struct*)zend_llist_get_next_ex(&sapi_headers->headers, &pos); in fpm_log_write()
|
/PHP-5.5/ext/spl/ |
H A D | spl_array.c | 69 HashPosition pos; member 106 Bucket *pos = intern->pos; in spl_array_update_pos() local 107 if (pos != NULL) { in spl_array_update_pos() 108 intern->pos_h = pos->h; in spl_array_update_pos() 114 intern->pos = pos; in spl_array_set_pos() 127 if (p == intern->pos) { in spl_hash_verify_pos_ex() 737 if (!intern->pos) { in spl_array_iterator_append() 960 zend_hash_move_forward_ex(aht, &intern->pos); in spl_array_next_no_verify() 1387 HashPosition pos; in spl_array_object_count_elements_helper() local 1398 pos = intern->pos; in spl_array_object_count_elements_helper() [all …]
|
/PHP-5.5/ext/soap/ |
H A D | php_encoding.c | 254 xmlChar *pos; in whiteSpace_collapse() local 257 pos = str; in whiteSpace_collapse() 266 pos++; in whiteSpace_collapse() 272 --pos; in whiteSpace_collapse() 274 *pos = '\0'; in whiteSpace_collapse() 2143 int *pos; in get_position_12() local 2161 pos[i] = (pos[i]*10)+(*str-'0'); in get_position_12() 2169 return pos; in get_position_12() 2191 (*pos)[i] = ((*pos)[i]*10)+(*str-'0'); in get_position_ex() 2201 int *pos; in get_position() local [all …]
|
/PHP-5.5/ext/hash/ |
H A D | php_hash_whirlpool.h | 29 int pos; member
|