Searched defs:index (Results 1 - 25 of 69) sorted by relevance

123

/PHP_5_3/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 Dnum2str.c49 int index, signch; local
65 for (index=num->n_len; index>0; index--)
72 for (index=0; index<num->n_scale; index++)
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++)
/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dqueue.c112 /* The index: a pointer to pointers */
114 static void **index; variable
758 ** purpose : sort the queue and allow index style access.
773 * old index and starts again.
786 free(index);
793 index = malloc(q->size * sizeof(q->cursor->data));
794 if(index == NULL)
799 free(index);
807 index[i] = d;
812 /* Now sort the index */
[all...]
/PHP_5_3/ext/zip/lib/
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, int flags,
48 if (index >= za->nentry) {
53 if ((name=zip_get_name(za, index, flags)) == NULL)
58 && ZIP_ENTRY_DATA_CHANGED(za->entry+index)) {
59 if (zip_source_stat(za->entry[index].source, st) < 0) {
65 if (za->cdir == NULL || index >= za->cdir->nentry) {
72 st->crc = za->cdir->entry[index].crc;
73 st->size = za->cdir->entry[index].uncomp_size;
74 st->mtime = za->cdir->entry[index]
41 zip_stat_index(struct zip *za, zip_uint64_t index, int flags, struct zip_stat *st) argument
[all...]
/PHP_5_3/sapi/fpm/fpm/
H A Dfpm_events.h22 int index; /* index of the fd in the ufds array */ member in struct:fpm_event_s
/PHP_5_3/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';
141 int index; local
154 index
[all...]
H A Dregistry.c102 char *index; local
109 zend_hash_get_current_key_ex(parent_ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
111 if (zend_hash_add(ht, index, index_len, tmpdata, sizeof(zval*), NULL) == SUCCESS) {
255 char *index; local
262 zend_hash_get_current_key_ex(ht, &index, &index_len, &num, 0, &pos) == HASH_KEY_IS_STRING;
264 zend_alter_ini_entry(index, index_len, Z_STRVAL_PP(data), Z_STRLEN_PP(data), PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
/PHP_5_3/ext/gd/libgd/
H A Dwebpng.c112 /* Set transparent index (or none). */
113 int index; local
117 "Error: -t specified without a color table index.\n");
128 /* OK, get an integer and set the index. */
129 index = atoi (argv[i + 1]);
130 gdImageColorTransparent (im, index);
171 printf ("First 100%% transparent index: %d\n", t);
176 printf ("First 100%% transparent index: none\n");
233 "Usage: webpng [-i y|n ] [-l] [-t index|none ] [-d] pngname.png\n"
237 " -t [index] Se
[all...]
/PHP_5_3/ext/dom/
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 Dnamednodemap.c44 ZEND_ARG_INFO(0, index)
197 /* {{{ proto DOMNode dom_namednodemap_item(int index);
204 long index; local
213 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_namednodemap_class_entry, &index) == FAILURE) {
216 if (index >= 0) {
226 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
228 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
236 while (count < index && curnode != NULL) {
H A Dnodelist.c33 ZEND_ARG_INFO(0, index)
101 /* {{{ proto DOMNode dom_nodelist_item(int index);
108 long index; local
119 if (zend_parse_method_parameters(ZEND_NUM_ARGS() TSRMLS_CC, getThis(), "Ol", &id, dom_nodelist_class_entry, &index) == FAILURE) {
123 if (index >= 0) {
130 itemnode = php_dom_libxml_hash_iter(objmap->ht, index);
132 itemnode = php_dom_libxml_notation_iter(objmap->ht, index);
137 if (zend_hash_index_find(nodeht, index, (void **) &entry)==SUCCESS) {
147 while (count < index && curnode != NULL) {
158 itemnode = dom_get_elements_by_tag_name_ns_raw(nodep, objmap->ns, objmap->local, &count, index);
[all...]
/PHP_5_3/ext/hash/
H A Dhash_haval.c287 unsigned int i, index, partLen; local
290 index = (unsigned int) ((context->count[0] >> 3) & 0x7F);
297 partLen = 128 - index;
302 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen);
309 index = 0;
315 memcpy((unsigned char*) &context->buffer[index], (unsigned char*) &input[i], inputLen - i);
326 unsigned int index, padLen; local
339 index = (unsigned int) ((context->count[0] >> 3) & 0x3f);
340 padLen = (index < 118) ? (118 - index)
380 unsigned int index, padLen; local
434 unsigned int index, padLen; local
474 unsigned int index, padLen; local
515 unsigned int index, padLen; local
[all...]
H A Dhash_snefru.c47 int b, index, rshift, lshift; local
68 for (index = 0; index < 8; index++) {
69 t0 = tables[2*index+0];
70 t1 = tables[2*index+1];
/PHP_5_3/ext/json/
H A Djson.c142 ulong index, idx; local
149 i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
157 if (index != idx) {
200 ulong index; local
208 i = zend_hash_get_current_key_ex(myht, &key, &key_len, &index, 0, &pos);
254 smart_str_append_long(buf, (long) index);
/PHP_5_3/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_5_3/ext/oci8/
H A Doci8_collection.c458 Get the element with the given index */
459 int php_oci_collection_element_get(php_oci_collection *collection, long index, zval **result_element TSRMLS_DC) argument
476 (ub4)index,
571 Set the element with the given index to NULL */
572 int php_oci_collection_element_set_null(php_oci_collection *collection, long index TSRMLS_DC)
578 PHP_OCI_CALL_RETURN(connection->errcode, OCICollAssignElem, (connection->env, connection->err, (ub4) index, (dvoid *)"", &null_index, collection->collection));
590 int php_oci_collection_element_set_date(php_oci_collection *collection, long index, char *date, int date_len TSRMLS_DC) argument
610 (ub4)index,
628 int php_oci_collection_element_set_number(php_oci_collection *collection, long index, char *number, int number_len TSRMLS_DC) argument
655 (ub4) index,
673 php_oci_collection_element_set_string(php_oci_collection *collection, long index, char *element, int element_len TSRMLS_DC) argument
709 php_oci_collection_element_set(php_oci_collection *collection, long index, char *value, int value_len TSRMLS_DC) argument
[all...]
/PHP_5_3/ext/odbc/
H A Dphp_birdstep.h31 long index; member in struct:VConn
44 long index; member in struct:Vresult
/PHP_5_3/ext/standard/
H A Dsha1.c186 unsigned int i, index, partLen; local
189 index = (unsigned int) ((context->count[0] >> 3) & 0x3F);
197 partLen = 64 - index;
203 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen);
209 index = 0;
215 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i],
227 unsigned int index, padLen; local
241 index = (unsigned int) ((context->count[0] >> 3) & 0x3f);
242 padLen = (index < 56) ? (56 - index)
[all...]
/PHP_5_3/main/streams/
H A Dglob_wrapper.c42 size_t index; member in struct:__anon258
148 if (pglob->index < pglob->glob.gl_pathc) {
149 php_glob_stream_path_split(pglob, pglob->glob.gl_pathv[pglob->index++], pglob->flags & GLOB_APPEND, &path TSRMLS_CC);
153 pglob->index = pglob->glob.gl_pathc;
169 pglob->index = 0;
188 pglob->index = 0;
/PHP_5_3/sapi/cli/
H A Dphp_cli_readline.c356 static char *cli_completion_generator(const char *text, int index) /* {{{ */ argument
371 if (!index) {
/PHP_5_3/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_iterators.h57 ulong index; /* private to fe_reset/fe_fetch opcodes */ member in struct:_zend_object_iterator
H A Dzend_list.c37 int index; local
45 index = zend_hash_next_free_element(&EG(regular_list));
47 zend_hash_index_update(&EG(regular_list), index, (void *) &le, sizeof(zend_rsrc_list_entry), NULL); local
48 return index;

Completed in 37 milliseconds

123