Searched refs:val (Results 1 - 25 of 343) sorted by relevance

1234567891011>>

/PHP_TRUNK/ext/bcmath/libbcmath/src/
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 Dint2num.c45 bc_int2num (num, val)
47 int val;
55 if (val < 0)
58 val = -val;
63 *bptr++ = val % BASE;
64 val = val / BASE;
67 while (val != 0)
69 *bptr++ = 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...]
/PHP_TRUNK/ext/exif/
H A Dexample.php17 foreach($section as $name=>$val) {
18 echo "$key.$name: $val<br>\n";
/PHP_TRUNK/ext/spl/examples/
H A Ddba_dump.php38 foreach($db as $key => $val) {
39 echo "'$key' => '$val'\n";
/PHP_TRUNK/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;
H A Dphp_stdint.h232 #define INT8_C(val) val##i8
233 #define INT16_C(val) val##i16
234 #define INT32_C(val) val##i32
235 #define INT64_C(val) val##i64
237 #define UINT8_C(val) val##ui
[all...]
/PHP_TRUNK/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_TRUNK/ext/mbstring/libmbfl/mbfl/
H A Dmbfl_string.c51 string->val = (unsigned char*)NULL;
62 string->val = (unsigned char*)NULL;
71 if (string->val != (unsigned char*)NULL) {
72 mbfl_free(string->val);
74 string->val = (unsigned char*)NULL;
H A Dmbfl_string.h44 unsigned char *val; member in struct:_mbfl_string
/PHP_TRUNK/ext/mbstring/libmbfl/tests/
H A Demoji.c18 printf("%%%02x", ptr->val[i]);
83 if (result.val[i] >= 0xD8 && result.val[i] < 0xE0) { // Surrogate pair
84 int h = (result.val[i] & 0x07)<<8 | result.val[i+1];
85 int l = (result.val[i+2] & 0x03)<<8 | result.val[i+3];
90 printf("U+%x\n",(result.val[i] << 8) | result.val[i+1]);
103 memcpy(dev2.buffer, result.val, resul
[all...]
H A Dsample.c29 string.val = (unsigned char *)input;
36 puts(ret->val);
/PHP_TRUNK/Zend/
H A Dzend_float.h130 a variable to ensure that the expression passed into val will be evaluated
132 # define XPFPA_RETURN_DOUBLE(val) \
134 double _xpfpa_result = (val); \
138 # define XPFPA_RETURN_SINGLE(val) \
140 float _xpfpa_result = (val); \
145 # define XPFPA_RETURN_DOUBLE_EXTENDED(val) \
147 long double _xpfpa_result = (val); \
189 a variable to ensure that the expression passed into val will be evaluated
191 # define XPFPA_RETURN_DOUBLE(val) \
193 double _xpfpa_result = (val); \
[all...]
H A Dzend_string.h42 #define _STR_HEADER_SIZE XtOffsetOf(zend_string, val)
52 memcpy((str)->val, (s), (len)); \
53 (str)->val[(len)] = '\0'; \
61 s->h = zend_hash_func(s->val, s->len);
135 memcpy(ret->val, str, len);
136 ret->val[len] = '\0';
153 return zend_string_init(s->val, s->len, persistent);
163 memcpy(ret->val, s->val, (len > s->len ? s->len : len) + 1);
170 memcpy(ret->val,
[all...]
H A Dzend_inheritance.c112 ce->parent->name->val, ce->parent->constructor->common.function_name->val,
113 ce->name->val, ce->constructor->common.function_name->val
136 zend_str_tolower_copy(lc_class_name->val, ce->name->val, ce->name->len);
139 zend_str_tolower_copy(lc_parent_class_name->val, ce->parent->name->val, ce->parent->name->len);
284 if (strcasecmp(fe_class_name->val, proto_class_name->val)!
[all...]
/PHP_TRUNK/ext/opcache/Optimizer/
H A Dzend_optimizer.c37 zval val; local
43 ZVAL_DUP(&val, value);
44 zend_hash_add(ctx->constants, Z_STR_P(name), &val);
49 zval *val; local
51 if ((val = zend_hash_find(constants, Z_STR_P(name))) != NULL) {
52 ZVAL_DUP(value, val);
67 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
116 zval *val TSRMLS_DC)
120 zval_dtor(val);
[all...]
/PHP_TRUNK/ext/dba/libinifile/
H A Dinifile.h35 val_type val; member in struct:__anon39
53 int inifile_replace(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
54 int inifile_replace_ex(inifile *dba, const key_type *key, const val_type *val, zend_bool *found TSRMLS_DC);
55 int inifile_append(inifile *dba, const key_type *key, const val_type *val TSRMLS_DC);
62 void inifile_val_free(val_type *val);
/PHP_TRUNK/ext/mbstring/
H A Dmb_gpc.c195 char *var, *val; local
235 val = strchr(var, '=');
236 if (val) { /* have a value */
237 len_list[n] = php_url_decode(var, val-var);
241 *val++ = '\0';
242 val_list[n] = val;
243 len_list[n] = php_url_decode(val, strlen(val));
275 string.val = (unsigned char *)val_list[n];
312 string.val
[all...]
/PHP_TRUNK/ext/soap/
H A Dphp_packet_soap.c237 add_soap_fault(this_ptr, faultcode, faultstring ? faultstring->val : NULL, faultactor ? faultactor->val : NULL, &details TSRMLS_CC);
261 xmlNodePtr val = NULL; local
299 val = cur;
301 val = get_node(cur->children, param->paramName);
303 if (val == NULL) {
304 val = get_node(cur->children, "return");
306 if (val == NULL) {
307 val = get_node(cur->children, "result");
309 if (val
339 xmlNodePtr val; local
398 zval val; local
416 add_assoc_zval(soap_headers, (char*)trav->name, &val); local
[all...]
/PHP_TRUNK/ext/standard/
H A Dbase64.c63 p = (unsigned char *)result->val;
90 result->len = (p - (unsigned char *)result->val);
173 result->val[j] = ch << 2;
176 result->val[j++] |= ch >> 4;
177 result->val[j] = (ch & 0x0f) << 4;
180 result->val[j++] |= ch >>2;
181 result->val[j] = (ch & 0x03) << 6;
184 result->val[j++] |= ch;
200 result->val[k] = 0;
204 result->val[resul
[all...]
H A Dincomplete_class.c44 php_error_docref(NULL TSRMLS_CC, error_type, INCOMPLETE_CLASS_MSG, class_name->val);
137 zval *val; local
143 if ((val = zend_hash_str_find(object_properties, MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1)) != NULL) {
144 return zend_string_copy(Z_STR_P(val));
155 zval val; local
159 ZVAL_STRINGL(&val, name, len);
160 zend_hash_str_update(Z_OBJPROP_P(object), MAGIC_MEMBER, sizeof(MAGIC_MEMBER)-1, &val);
H A Durl_scanner_ex.re59 tmp = estrndup(new_value->val, new_value->len);
75 char *val;
77 val = strchr(key, '=');
78 if (val) {
82 *val++ = '\0';
87 val is stored WITH NUL */
88 zend_hash_str_add_mem(ctx->tags, key, keylen, val, strlen(val)+1);
121 q = (p = url->s->val) + url->s->len;
133 if (bash && bash - url->s->val
[all...]
/PHP_TRUNK/main/
H A Dphp_variables.h39 PHPAPI void php_register_variable(char *var, char *val, zval *track_vars_array TSRMLS_DC);
41 PHPAPI void php_register_variable_safe(char *var, char *val, size_t val_len, zval *track_vars_array TSRMLS_DC);
42 PHPAPI void php_register_variable_ex(char *var, zval *val, zval *track_vars_array TSRMLS_DC);
/PHP_TRUNK/sapi/apache2filter/
H A Dphp_apache.h60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
67 val = elts[i].val;
/PHP_TRUNK/sapi/apache2handler/
H A Dphp_functions.c177 char *key, *val; local
188 APR_ARRAY_FOREACH_OPEN(arr, key, val)
189 if (!val) val = "";
190 add_assoc_string(return_value, key, val);
201 char *key, *val; local
212 APR_ARRAY_FOREACH_OPEN(arr, key, val)
213 if (!val) val = "";
214 add_assoc_string(return_value, key, val);
438 char *key, *val; local
[all...]

Completed in 52 milliseconds

1234567891011>>