Searched defs:val (Results 1 - 25 of 102) sorted by relevance

12345

/PHP_5_3/ext/bcmath/libbcmath/src/
H A Ddiv.c93 int scale1, val; local
220 val = (int) *ptr1 - (int) *ptr2-- - borrow;
221 if (val < 0)
223 val += 10;
228 *ptr1-- = val;
241 val = (int) *ptr1 + (int) *ptr2-- + carry;
242 if (val > 9)
244 val -= 10;
249 *ptr1-- = val;
H A Ddoaddsub.c147 int borrow, count, val; local
184 val = - *n2ptr-- - borrow;
185 if (val < 0)
187 val += BASE;
192 *diffptr-- = val;
200 val = *n1ptr-- - *n2ptr-- - borrow;
201 if (val < 0)
203 val += BASE;
208 *diffptr-- = val;
216 val
[all...]
H A Dnum2long.c50 long val; local
55 val = 0;
57 for (index=num->n_len; (index>0) && (val<=(LONG_MAX/BASE)); index--)
58 val = val*BASE + *nptr++;
61 if (index>0) val = 0;
62 if (val < 0) val = 0;
66 return (val);
68 return (-val);
[all...]
H A Drecmul.c113 be larger that what is being subtracted. Also, accum and val
116 _bc_shift_addsub (bc_num accum, bc_num val, int shift, int sub) argument
121 count = val->n_len;
122 if (val->n_value[0] == 0)
129 valp = (signed char *)(val->n_value + val->n_len - 1);
/PHP_5_3/ext/sqlite/libsqlite/src/
H A Dpragma.c48 int val; member in struct:__anon391
64 if( sqliteStrICmp(z,aKey[i].zWord)==0 ) return aKey[i].val;
/PHP_5_3/ext/xmlrpc/libxmlrpc/
H A Dqueue.c856 int low, mid, hi, val; local
863 val = Comp(key, index[ mid ]);
865 if(val < 0)
868 else if(val > 0)
H A Dxml_element.h138 char* val; /* attribute value */ member in struct:_xml_element_attr
/PHP_5_3/scripts/dev/
H A Dcheck_parameters.php88 $val = $lines_offset[$mid]; variable
90 if ($val < $offset) {
97 } else if ($val > $offset) {
/PHP_5_3/win32/
H A Dstrtoi64.c12 int64_t val; local
62 val = 0;
96 val *= base;
98 || (neg && (val > acc || (val -= c) > acc)) /* underflow */
99 || (val < acc || (val += c) < acc)) { /* overflow */
105 acc = val;
/PHP_5_3/ext/gd/libgd/
H A Dmathmake.c40 int val; local
41 val = cost[(i + 270) % 360];
44 printf ("%d,\n ", val);
48 printf ("%d\n", val);
/PHP_5_3/ext/intl/msgformat/
H A Dmsgformat_format.c58 zval **val; local
59 zend_hash_get_current_data_ex(Z_ARRVAL_P(args), (void **)&val, &pos);
60 fargs[i] = *val;
/PHP_5_3/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.h44 unsigned char *val; member in struct:_mbfl_string
/PHP_5_3/ext/mbstring/oniguruma/enc/
H A Dmktable.c1071 int c, val, enc; local
1079 val = 0;
1080 if (IsNewline(enc, c)) val |= ONIGENC_CTYPE_NEWLINE;
1081 if (IsAlpha (enc, c)) val |= ONIGENC_CTYPE_ALPHA;
1082 if (IsBlank (enc, c)) val |= ONIGENC_CTYPE_BLANK;
1083 if (IsCntrl (enc, c)) val |= ONIGENC_CTYPE_CNTRL;
1084 if (IsDigit (enc, c)) val |= ONIGENC_CTYPE_DIGIT;
1085 if (IsGraph (enc, c)) val |= ONIGENC_CTYPE_GRAPH;
1086 if (IsLower (enc, c)) val |= ONIGENC_CTYPE_LOWER;
1087 if (IsPrint (enc, c)) val |
[all...]
/PHP_5_3/ext/calendar/
H A Dcalendar.c299 zval *val; local
304 MAKE_STD_ZVAL(val);
305 _php_cal_info(i, &val);
306 add_index_zval(return_value, i, val);
/PHP_5_3/ext/dba/libinifile/
H A Dinifile.c64 void inifile_val_free(val_type *val) argument
66 if (val->value) {
67 efree(val->value);
69 memset(val, 0, sizeof(val_type));
77 inifile_val_free(&ln->val);
148 char *val; local
154 val = (char*)str;
155 while (*val && strchr(" \t\r\n", *val)) {
156 val
248 val_type val; local
[all...]
H A Dinifile.h35 val_type val; member in struct:__anon39
52 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
53 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
60 void inifile_val_free(val_type *val);
/PHP_5_3/ext/json/
H A Djson.c134 static int json_determine_array_type(zval **val TSRMLS_DC) /* {{{ */
137 HashTable *myht = HASH_OF(*val);
169 static void json_encode_array(smart_str *buf, zval **val, int options TSRMLS_DC) /* {{{ */ argument
174 if (Z_TYPE_PP(val) == IS_ARRAY) {
175 myht = HASH_OF(*val);
176 r = (options & PHP_JSON_FORCE_OBJECT) ? PHP_JSON_OUTPUT_OBJECT : json_determine_array_type(val TSRMLS_CC);
178 myht = Z_OBJPROP_PP(val);
228 if (key[0] == '\0' && Z_TYPE_PP(val) == IS_OBJECT) {
433 PHP_JSON_API void php_json_encode(smart_str *buf, zval *val, int options TSRMLS_DC) /* {{{ */ argument
435 switch (Z_TYPE_P(val))
[all...]
/PHP_5_3/ext/mbstring/
H A Dmb_gpc.c197 char *var, *val; local
245 val = strchr(var, '=');
246 if (val) { /* have a value */
247 len_list[n] = php_url_decode(var, val-var);
251 *val++ = '\0';
252 val_list[n] = val;
253 len_list[n] = php_url_decode(val, strlen(val));
285 string.val = (unsigned char *)val_list[n];
322 string.val
[all...]
/PHP_5_3/ext/pdo_dblib/
H A Ddblib_stmt.c42 pdo_dblib_colval *val = &S->rows[i*S->ncols] + j; local
43 if (val->data) {
44 efree(val->data);
45 val->data = NULL;
152 pdo_dblib_colval *val = &S->rows[S->nrows * S->ncols + i]; local
155 val->len = 0;
156 val->data = NULL;
164 val->len = dbdatlen(H->link, i+1);
165 val->data = emalloc(val
273 pdo_dblib_colval *val = &S->rows[S->current * S->ncols + colno]; local
[all...]
/PHP_5_3/ext/soap/
H A Dphp_packet_soap.c261 xmlNodePtr val = NULL; local
301 val = cur;
303 val = get_node(cur->children, param->paramName);
305 if (val == NULL) {
306 val = get_node(cur->children, "return");
308 if (val == NULL) {
309 val = get_node(cur->children, "result");
311 if (val == NULL && cur->children && cur->children->next == NULL) {
312 val = cur->children;
318 if (!val) {
344 xmlNodePtr val; local
402 zval* val; local
420 add_assoc_zval(soap_headers, (char*)trav->name, val); local
[all...]
/PHP_5_3/ext/standard/
H A Dassert.c144 int val; local
183 val = Z_LVAL(retval);
186 val = Z_LVAL_PP(assertion);
189 if (val) {
H A Dincomplete_class.c140 zval **val; local
147 if (zend_hash_find(object_properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER), (void **) &val) == SUCCESS) {
148 retval = estrndup(Z_STRVAL_PP(val), Z_STRLEN_PP(val));
151 *nlen = Z_STRLEN_PP(val);
163 zval *val; local
166 MAKE_STD_ZVAL(val);
168 Z_TYPE_P(val) = IS_STRING;
169 Z_STRVAL_P(val) = estrndup(name, len);
170 Z_STRLEN_P(val)
172 zend_hash_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER), &val, sizeof(val), NULL); local
[all...]
H A Durl_scanner_ex.h40 smart_str val; /* read only */ member in struct:__anon222
/PHP_5_3/ext/sysvsem/
H A Dsysvsem.c48 int val; /* value for SETVAL */ member in union:semun
257 semarg.val = max_acquire;
/PHP_5_3/sapi/apache2filter/
H A Dphp_functions.c157 char *key, *val; local
164 APR_ARRAY_FOREACH_OPEN(arr, key, val)
165 if (!val) val = "";
166 add_assoc_string(return_value, key, val, 1);
177 char *key, *val; local
184 APR_ARRAY_FOREACH_OPEN(arr, key, val)
185 if (!val) val = "";
186 add_assoc_string(return_value, key, val,
[all...]

Completed in 75 milliseconds

12345