| /PHP_TRUNK/ext/standard/ |
| H A D | crypt_sha256.c | 416 /* Compute alternate SHA256 sum with input KEY, SALT, and KEY. The 629 const char *input; member in struct:__anon446 671 const char *input; member in struct:__anon447 713 sha256_process_bytes(tests[cnt].input, strlen(tests[cnt].input), &ctx); 721 for (i = 0; tests[cnt].input[i] != '\0'; ++i) { 722 sha256_process_bytes(&tests[cnt].input[i], 1, &ctx); 747 char *cp = php_sha256_crypt(tests2[cnt].input, tests2[cnt].salt);
|
| H A D | crypt_sha512.c | 450 /* Compute alternate SHA512 sum with input KEY, SALT, and KEY. The 673 const char *input; member in struct:__anon448 734 const char *input; member in struct:__anon449 780 sha512_process_bytes (tests[cnt].input, strlen (tests[cnt].input), &ctx); 788 for (i = 0; tests[cnt].input[i] != '\0'; ++i) { 789 sha512_process_bytes (&tests[cnt].input[i], 1, &ctx); 813 char *cp = php_sha512_crypt(tests2[cnt].input, tests2[cnt].salt);
|
| H A D | cyr_convert.c | 274 char *input, *fr_cs, *to_cs; local 278 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "sss", &input, &input_len, &fr_cs, &fr_cs_len, &to_cs, &to_cs_len) == FAILURE) { 282 str = (unsigned char*) estrndup(input, input_len);
|
| H A D | pack.c | 527 /* {{{ proto array unpack(string format, string input) 531 char *format, *input, *formatarg, *inputarg; local 542 input = inputarg; 589 /* Never use any input */ 611 /* Use 1 byte of input */ 618 /* Use 2 bytes of input */ 626 /* Use sizeof(int) bytes of input */ 632 /* Use 4 bytes of input */ 640 /* Use sizeof(float) bytes of input */ 645 /* Use sizeof(double) bytes of input */ [all...] |
| H A D | sha1.c | 183 PHPAPI void PHP_SHA1Update(PHP_SHA1_CTX * context, const unsigned char *input, argument 203 ((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); 207 SHA1Transform(context->state, &input[i]); 213 /* Buffer remaining input */ 215 ((unsigned char*) & context->buffer[index], (unsigned char*) & input[i], 369 Encodes input (php_uint32) into output (unsigned char). Assumes len is 372 static void SHA1Encode(output, input, len) 374 php_uint32 *input; 380 output[j] = (unsigned char) ((input[i] >> 24) & 0xff); 381 output[j + 1] = (unsigned char) ((input[ [all...] |
| /PHP_TRUNK/ext/xmlrpc/libxmlrpc/ |
| H A D | system_methods.c | 292 static XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 293 static XMLRPC_VALUE xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 315 XMLRPC_VALUE xsm_system_multicall_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { argument 316 XMLRPC_VALUE xArray = XMLRPC_VectorRewind(XMLRPC_RequestGetData(input)); 348 XMLRPC_VALUE xsm_system_get_capabilities_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { argument
|
| H A D | xmlrpc_introspection.c | 67 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 68 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 69 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 70 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData); 122 static XMLRPC_VALUE xi_system_describe_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { argument 123 XMLRPC_VALUE xParams = XMLRPC_VectorRewind(XMLRPC_RequestGetData(input)); 173 static XMLRPC_VALUE xi_system_list_methods_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { argument 190 static XMLRPC_VALUE xi_system_method_signature_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, void* userData) { argument 191 const char* method = XMLRPC_GetValueString(XMLRPC_VectorRewind(XMLRPC_RequestGetData(input))); 249 static XMLRPC_VALUE xi_system_method_help_cb(XMLRPC_SERVER server, XMLRPC_REQUEST input, voi argument [all...] |
| /PHP_TRUNK/ext/intl/breakiterator/ |
| H A D | codepointiterator_internal.cpp | 268 CodePointBreakIterator &CodePointBreakIterator::refreshInputText(UText *input, UErrorCode &status) argument 274 if (input == NULL) { 280 this->fText = utext_clone(this->fText, input, FALSE, TRUE, &status);
|
| /PHP_TRUNK/ext/intl/normalizer/ |
| H A D | normalizer_normalize.c | 28 /* {{{ proto string Normalizer::normalize( string $input [, string $form = FORM_C] ) 30 /* {{{ proto string normalizer_normalize( string $input [, string $form = FORM_C] ) 35 char* input = NULL; local 57 &input, &input_len, &form ) == FAILURE ) 60 "normalizer_normalize: unable to parse input params", 0 TSRMLS_CC ); 90 intl_convert_utf8_to_utf16(&uinput, &uinput_len, input, input_len, &status ); 98 intl_error_set_custom_msg( NULL, "Error converting input string to UTF-16", 0 TSRMLS_CC ); 115 * (U_STRING_NOT_TERMINATED_WARNING usually means that the input string is empty). 166 /* {{{ proto bool Normalizer::isNormalized( string $input [, string $form = FORM_C] ) 168 /* {{{ proto bool normalizer_is_normalize( string $input [, strin 173 char* input = NULL; local [all...] |
| /PHP_TRUNK/ext/mbstring/libmbfl/tests/ |
| H A D | sample.c | 18 unsigned char input[] = "���ܸ�ʸ����"; /* EUC-JP kanji string */ local 29 string.val = (unsigned char *)input; 30 string.len = strlen(input);
|
| /PHP_TRUNK/ext/hash/ |
| H A D | hash_adler32.c | 30 PHP_HASH_API void PHP_ADLER32Update(PHP_ADLER32_CTX *context, const unsigned char *input, size_t len) argument 37 s[0] += input[i];
|
| H A D | hash_crc32.c | 31 PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) argument 36 context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; 40 PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) argument 45 context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff];
|
| H A D | hash_fnv.c | 76 PHP_HASH_API void PHP_FNV132Update(PHP_FNV132_CTX *context, const unsigned char *input, argument 79 context->state = fnv_32_buf((void *)input, inputLen, context->state, 0); 82 PHP_HASH_API void PHP_FNV1a32Update(PHP_FNV132_CTX *context, const unsigned char *input, argument 85 context->state = fnv_32_buf((void *)input, inputLen, context->state, 1); 111 PHP_HASH_API void PHP_FNV164Update(PHP_FNV164_CTX *context, const unsigned char *input, argument 114 context->state = fnv_64_buf((void *)input, inputLen, context->state, 0); 117 PHP_HASH_API void PHP_FNV1a64Update(PHP_FNV164_CTX *context, const unsigned char *input, argument 120 context->state = fnv_64_buf((void *)input, inputLen, context->state, 1); 141 * input: 183 * input [all...] |
| H A D | hash_gost.c | 227 static inline void GostTransform(PHP_GOST_CTX *context, const unsigned char input[32]) argument 233 data[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[j + 1]) << 8) | 234 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); 250 PHP_HASH_API void PHP_GOSTUpdate(PHP_GOST_CTX *context, const unsigned char *input, size_t len) argument 261 memcpy(&context->buffer[context->length], input, len); 268 memcpy(&context->buffer[context->length], input, i); 273 GostTransform(context, input + i); 276 memcpy(context->buffer, input [all...] |
| H A D | hash_haval.c | 98 Encodes input (php_hash_uint32) into output (unsigned char). Assumes len is 101 static void Encode(unsigned char *output, php_hash_uint32 *input, unsigned int len) argument 106 output[j] = (unsigned char) (input[i] & 0xff); 107 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); 108 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); 109 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); 115 Decodes input (unsigned char) into output (php_hash_uint32). Assumes len is 118 static void Decode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) argument 123 output[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[ 285 PHP_HAVALUpdate(PHP_HAVAL_CTX *context, const unsigned char *input, unsigned int inputLen) argument [all...] |
| H A D | hash_joaat.c | 43 PHP_HASH_API void PHP_JOAATUpdate(PHP_JOAAT_CTX *context, const unsigned char *input, unsigned int inputLen) argument 45 context->state = joaat_buf((void *)input, inputLen, context->state); 66 * input: 77 unsigned char *input = (unsigned char *)buf; local 80 hval += input[i];
|
| H A D | hash_md.c | 64 Encodes input (php_hash_uint32) into output (unsigned char). Assumes len is 67 static void Encode(unsigned char *output, php_hash_uint32 *input, unsigned int len) argument 72 output[j] = (unsigned char) (input[i] & 0xff); 73 output[j + 1] = (unsigned char) ((input[i] >> 8) & 0xff); 74 output[j + 2] = (unsigned char) ((input[i] >> 16) & 0xff); 75 output[j + 3] = (unsigned char) ((input[i] >> 24) & 0xff); 81 Decodes input (unsigned char) into output (php_hash_uint32). Assumes len is 84 static void Decode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) argument 89 output[i] = ((php_hash_uint32) input[j]) | (((php_hash_uint32) input[ 284 PHP_MD5Update(PHP_MD5_CTX * context, const unsigned char *input, unsigned int inputLen) argument 544 PHP_MD4Update(PHP_MD4_CTX * context, const unsigned char *input, unsigned int inputLen) argument [all...] |
| H A D | hash_ripemd.c | 187 Decodes input (unsigned char) into output (php_hash_uint32). Assumes len is 190 static void RIPEMDDecode(php_hash_uint32 *output, const unsigned char *input, unsigned int len) argument 195 output[i] = ((php_hash_uint32) input[j + 0]) | (((php_hash_uint32) input[j + 1]) << 8) | 196 (((php_hash_uint32) input[j + 2]) << 16) | (((php_hash_uint32) input[j + 3]) << 24); 256 PHP_HASH_API void PHP_RIPEMD128Update(PHP_RIPEMD128_CTX * context, const unsigned char *input, unsigned int inputLen) argument 274 memcpy((unsigned char*) & context->buffer[index], (unsigned char*) input, partLen); 278 RIPEMD128Transform(context->state, &input[i]); 286 /* Buffer remaining input */ 354 PHP_RIPEMD256Update(PHP_RIPEMD256_CTX * context, const unsigned char *input, unsigned int inputLen) argument 453 PHP_RIPEMD160Update(PHP_RIPEMD160_CTX * context, const unsigned char *input, unsigned int inputLen) argument 561 PHP_RIPEMD320Update(PHP_RIPEMD320_CTX * context, const unsigned char *input, unsigned int inputLen) argument 607 RIPEMDEncode(unsigned char *output, php_hash_uint32 *input, unsigned int len) argument [all...] |
| H A D | hash_snefru.c | 44 static inline void Snefru(php_hash_uint32 input[16]) argument 51 B00 = input[0]; 52 B01 = input[1]; 53 B02 = input[2]; 54 B03 = input[3]; 55 B04 = input[4]; 56 B05 = input[5]; 57 B06 = input[6]; 58 B07 = input[7]; 59 B08 = input[ 123 SnefruTransform(PHP_SNEFRU_CTX *context, const unsigned char input[32]) argument 142 PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) argument [all...] |
| H A D | hash_tiger.c | 198 PHP_HASH_API void PHP_TIGERUpdate(PHP_TIGER_CTX *context, const unsigned char *input, size_t len) argument 201 memcpy(&context->buffer[context->length], input, len); 208 memcpy(&context->buffer[context->length], input, i); 215 memcpy(context->buffer, &input[i], 64); 220 memcpy(context->buffer, &input[i], r);
|
| H A D | hash_whirlpool.c | 275 PHP_HASH_API void PHP_WHIRLPOOLUpdate(PHP_WHIRLPOOL_CTX *context, const unsigned char *input, size_t len) argument 281 const unsigned char *source = input;
|
| /PHP_TRUNK/ext/recode/ |
| H A D | recode.c | 77 ZEND_ARG_INFO(0, input) 184 /* {{{ proto bool recode_file(string request, resource input, resource output) 185 Recode file input into file output according to request */ 191 zval *input, *output; local 195 if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "srr", &req, &req_len, &input, &output) == FAILURE) { 199 php_stream_from_zval(instream, &input);
|
| /PHP_TRUNK/ext/xmlreader/ |
| H A D | php_xmlreader.h | 37 /* strings must be set in input buffer as copy is required */ 38 xmlParserInputBufferPtr input; member in struct:_xmlreader_object
|
| /PHP_TRUNK/ext/filter/ |
| H A D | filter.c | 681 static void php_filter_array_handler(zval *input, zval **op, zval *return_value, zend_bool add_empty TSRMLS_DC) /* {{{ */ argument 691 MAKE_COPY_ZVAL(&input, return_value); 695 MAKE_COPY_ZVAL(&input, return_value); 715 if (zend_hash_find(Z_ARRVAL_P(input), arg_key, arg_key_len, (void **)&tmp) != SUCCESS) { 742 zval *input = NULL; local 754 input = php_filter_get_storage(fetch_from TSRMLS_CC); 756 if (!input || !HASH_OF(input) || zend_hash_find(HASH_OF(input), var, var_len + 1, (void **)&tmp) != SUCCESS) { 777 * when the input valu [all...] |
| H A D | logical_filters.c | 789 char *input = Z_STRVAL_P(value); local 811 } else if (17 == input_len && input[2] == '-') { 816 } else if (17 == input_len && input[2] == ':') { 836 if (i < tokens - 1 && input[offset + length] != separator) { 840 if (php_filter_parse_hex(input + offset, length, &ret TSRMLS_CC) < 0) {
|