Searched refs:index (Results 1 - 25 of 119) sorted by relevance

12345

/PHP_TRUNK/ext/bcmath/libbcmath/src/
H A Dnum2long.c52 int index; local
57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
61 if (index>0) val = 0;
H A Doutput.c96 int index, fdigit, pre_space; local
112 for (index=num->n_len; index>0; index--)
124 for (index=0; index<num->n_scale; index++)
H A Dnum2str.c50 int index, signch; local
66 for (index=num->n_len; index>0; index--)
73 for (index=0; index<num->n_scale; index++)
/PHP_TRUNK/sapi/cli/
H A Dphp_http_parser.c334 uint32_t index = parser->index; local
414 index = 2;
579 index = 1;
607 if (ch == ' ' && (matcher[index] == '\0' || parser->method == PHP_HTTP_NOT_IMPLEMENTED)) {
609 } else if (ch == matcher[index]) {
612 if (index == 1 && ch == 'H') {
614 } else if (index == 2 && ch == 'P') {
618 if (index == 1 && ch == 'O') {
620 } else if (index
[all...]
/PHP_TRUNK/scripts/apache/
H A Dconffix.awk15 print "php_admin_value " phpcommand " " substr($0,index($0,$1)+length($1)+1)
H A Dhtaccessfix.awk15 print "php_value " phpcommand " " substr($0,index($0,$1)+length($1)+1)
/PHP_TRUNK/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php33 public function isValidOptionArg($array, $index) {
34 if (!isset($array[$index]))
38 return substr($array[$index], 0, 1) != '-';
/PHP_TRUNK/win32/
H A Dreaddir.c27 int index; local
40 index = strlen(filespec) - 1;
41 if (index >= 0 && (filespec[index] == '/' ||
42 (filespec[index] == '\\' && (index == 0 || !IsDBCSLeadByte(filespec[index-1])))))
43 filespec[index] = '\0';
142 int index; local
155 index
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_stat_init.c47 st->index = ZIP_UINT64_MAX;
H A Dzip_stat_index.c2 zip_stat_index.c -- get information about file by index
43 zip_stat_index(struct zip *za, zip_uint64_t index, zip_flags_t flags,
49 if ((de=_zip_get_dirent(za, index, flags, NULL)) == NULL)
52 if ((name=zip_get_name(za, index, flags)) == NULL)
57 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) {
58 if (zip_source_stat(za->entry[index].source, st) < 0) {
85 st->index = index;
41 zip_stat_index(struct zip *za, zip_uint64_t index, zip_flags_t flags, struct zip_stat *st) argument
H A Dzip_fopen_index.c2 zip_fopen_index.c -- open file in zip archive for reading by index
47 zip_fopen_index(struct zip *za, zip_uint64_t index, zip_flags_t flags)
49 return zip_fopen_index_encrypted(za, index, flags, za->default_password);
45 zip_fopen_index(struct zip *za, zip_uint64_t index, zip_flags_t flags) argument
/PHP_TRUNK/Zend/
H A Dzend_dynamic_array.c58 ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int index) argument
60 if (index >= da->current) {
63 return (void *)(da->array+index*da->element_size);
H A Dzend_dynamic_array.h36 ZEND_API void *zend_dynamic_array_get_element(dynamic_array *da, unsigned int index);
/PHP_TRUNK/ext/hash/
H A Dhash_ripemd.c258 unsigned int i, index, partLen; local
261 index = (unsigned int) ((context->count[0] >> 3) & 0x3F);
269 partLen = 64 - index;
274 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen);
281 index = 0;
287 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], inputLen - i);
356 unsigned int i, index, partLen; local
359 index = (unsigned int) ((context->count[0] >> 3) & 0x3F);
367 partLen = 64 - index;
372 memcpy((unsigned char*) & context->buffer[index], (unsigne
455 unsigned int i, index, partLen; local
563 unsigned int i, index, partLen; local
627 unsigned int index, padLen; local
664 unsigned int index, padLen; local
701 unsigned int index, padLen; local
738 unsigned int index, padLen; local
[all...]
H A Dhash_sha.c336 unsigned int i, index, partLen; local
339 index = (unsigned int) ((context->count[0] >> 3) & 0x3F);
347 partLen = 64 - index;
353 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen);
359 index = 0;
365 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i],
377 unsigned int index, padLen; local
391 index = (unsigned int) ((context->count[0] >> 3) & 0x3f);
392 padLen = (index < 56) ? (56 - index)
544 unsigned int i, index, partLen; local
584 unsigned int index, padLen; local
621 unsigned int i, index, partLen; local
661 unsigned int index, padLen; local
835 unsigned int i, index, partLen; local
875 unsigned int index, padLen; local
949 unsigned int i, index, partLen; local
989 unsigned int index, padLen; local
[all...]
/PHP_TRUNK/sapi/fpm/fpm/events/
H A Dpoll.c160 /* ensure ev->index is valid */
161 if (q->ev && q->ev->index >= 0 && q->ev->index < npollfds && q->ev->fd == active_pollfds[q->ev->index].fd) {
164 if (active_pollfds[q->ev->index].revents & POLLIN) {
197 ev->index = next_free_slot++;
216 ev->index = next_free_slot++;
236 if (ev->index >= 0 && ev->index < npollfds && pollfds[ev->index]
[all...]
/PHP_TRUNK/ext/dom/
H A Ddomimplementationlist.c32 ZEND_ARG_INFO(0, index)
63 /* {{{ proto domdomimplementation dom_domimplementationlist_item(int index);
H A Ddomstringlist.c32 ZEND_ARG_INFO(0, index)
63 /* {{{ proto domstring dom_domstringlist_item(int index);
H A Dnamelist.c32 ZEND_ARG_INFO(0, index)
36 ZEND_ARG_INFO(0, index)
66 /* {{{ proto string dom_namelist_get_name(int index);
76 /* {{{ proto string dom_namelist_get_namespace_uri(int index);
H A Ddom_iterators.c34 int index; member in struct:_nodeIterator
41 int index; member in struct:_notationIterator
49 if(priv->cur < priv->index) {
83 xmlNode *php_dom_libxml_hash_iter(xmlHashTable *ht, int index) /* {{{ */ argument
89 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
92 iter->index = index;
104 xmlNode *php_dom_libxml_notation_iter(xmlHashTable *ht, int index) /* {{{ */ argument
110 if ((htsize = xmlHashSize(ht)) > 0 && index < htsize) {
113 iter->index
[all...]
H A Dnodelist.c33 ZEND_ARG_INFO(0, index)
101 /* {{{ proto DOMNode dom_nodelist_item(int index);
108 zend_long index; local
117 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_nodelist_class_entry, &index) == FAILURE) {
121 if (index >= 0) {
128 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
130 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
135 zval *entry = zend_hash_index_find(nodeht, index);
145 while (count < index && curnode != NULL) {
157 nodep, (char *) objmap->ns, (char *) objmap->local, &count, index);
[all...]
/PHP_TRUNK/ext/mysqli/
H A Dmysqli_embedded.c43 int index, rc; local
60 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(args), &pos)) {
69 arguments[++index] = Z_STRVAL_PP(item);
81 for (index = 0;; zend_hash_move_forward_ex(HASH_OF(grps), &pos)) {
90 groups[++index] = Z_STRVAL_PP(item);
92 groups[index] = NULL;
H A Dmysqli_report.c58 char index[15]; local
61 strcpy(index, "Bad index");
63 strcpy(index, "No index");
67 php_mysqli_throw_sql_exception("00000", 0 TSRMLS_CC, "%s used in query/prepared statement %s", index, query);
/PHP_TRUNK/ext/opcache/
H A Dzend_accelerator_hash.c77 zend_ulong index; local
89 index = hash_value % accel_hash->max_num_entries;
92 entry = accel_hash->hash_table[index];
135 entry->next = accel_hash->hash_table[index];
136 accel_hash->hash_table[index] = entry;
146 zend_ulong index; local
150 index = hash_value % accel_hash->max_num_entries;
152 entry = accel_hash->hash_table[index];
174 zend_ulong index; local
178 index
199 zend_ulong index; local
[all...]
/PHP_TRUNK/main/
H A Drfc1867.c94 char *s = varname, *index = NULL, *indexend = NULL, *p; local
115 /* find index */
116 index = strchr(varname, '[');
117 if (index) {
118 index++;
119 s = index;
125 while (index) {
126 while (*index == ' ' || *index == '\r' || *index
[all...]

Completed in 171 milliseconds

12345