Searched refs:val (Results 1 - 25 of 339) 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.h237 #define INT8_C(val) val##i8
238 #define INT16_C(val) val##i16
239 #define INT32_C(val) val##i32
240 #define INT64_C(val) val##i64
242 #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...]
/PHP_TRUNK/ext/dba/libinifile/
H A Dinifile.h35 val_type val; member in struct:__anon59
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/sapi/apache2filter/
H A Dphp_apache.h60 #define APR_ARRAY_FOREACH_OPEN(arr, key, val) \
67 val = elts[i].val;
/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 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 STR_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.re75 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 == 0) {
139 smart_str_appendl(dest, url->s->val, bas
[all...]
H A Dbase64.c67 p = (unsigned char *)result->val;
94 result->len = (p - (unsigned char *)result->val);
177 result->val[j] = ch << 2;
180 result->val[j++] |= ch >> 4;
181 result->val[j] = (ch & 0x0f) << 4;
184 result->val[j++] |= ch >>2;
185 result->val[j] = (ch & 0x03) << 6;
188 result->val[j++] |= ch;
204 result->val[k] = 0;
208 result->val[resul
[all...]
/PHP_TRUNK/ext/xmlrpc/libxmlrpc/
H A Dxmlrpc.c639 * char* XMLRPC_VALUE_ToXML(XMLRPC_VALUE val)
644 * val -- previously allocated XMLRPC_VALUE
656 char* XMLRPC_VALUE_ToXML(XMLRPC_VALUE val, int* buf_len) { argument
657 xml_element *root_elem = XMLRPC_VALUE_to_xml_element(val);
931 * const char *XMLRPC_SetValueString(XMLRPC_VALUE value, const char* val, int len)
936 * val The desired new string val.
937 * len length of val string if known, or 0 if unknown.
946 const char *XMLRPC_SetValueString(XMLRPC_VALUE value, const char* val, int len) { argument
948 if(value && val) {
978 XMLRPC_SetValueInt(XMLRPC_VALUE value, int val) argument
1004 XMLRPC_SetValueBoolean(XMLRPC_VALUE value, int val) argument
1090 XMLRPC_VALUE val = NULL; local
1330 XMLRPC_CreateValueString(const char* id, const char* val, int len) argument
1366 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
1398 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
1684 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
1757 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
1826 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
1856 XMLRPC_SetValueDouble(XMLRPC_VALUE value, double val) argument
1884 XMLRPC_VALUE val = XMLRPC_CreateValueEmpty(); local
[all...]
/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/opcache/Optimizer/
H A Dzend_optimizer.c40 zval val; local
46 ZVAL_DUP(&val, value);
47 zend_hash_add(ctx->constants, Z_STR_P(name), &val);
52 zval *val; local
54 if ((val = zend_hash_find(constants, Z_STR_P(name))) != NULL) {
55 ZVAL_DUP(value, val);
70 memcmp(op_array->vars[i]->val, name->val, name->len) == 0)) {
117 # define LITERAL_INT(op, val) do { \
119 ZVAL_INT(&_c, val); \
[all...]
/PHP_TRUNK/ext/session/
H A Dmod_user_class.c74 zend_string *val; local
83 if (PS(default_mod)->s_read(&PS(mod_data), key, &val TSRMLS_CC) == FAILURE) {
88 RETURN_STR(val);
96 zend_string *key, *val; local
100 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "SS", &key, &val) == FAILURE) {
104 RETURN_BOOL(SUCCESS == PS(default_mod)->s_write(&PS(mod_data), key, val TSRMLS_CC));
/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, php_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/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 14 milliseconds

1234567891011>>