Searched refs:string (Results 1 - 25 of 266) sorted by relevance

1234567891011

/PHP_5_5/ext/bcmath/libbcmath/src/
H A Dconfig.h8 #include <string.h>
/PHP_5_5/ext/soap/interop/
H A Dserver_round2_groupB.php32 function echoSimpleTypesAsStruct($string, $int, $float)
34 return (object)array("varString" => $string,
H A Dserver_round2_groupC.php25 function echoMeStringRequest($string)
27 return new SoapHeader($this->method_namespace, "echoMeStringResponse", $string);
/PHP_5_5/ext/soap/tests/interop/Round2/GroupB/
H A Dround2_groupB.inc11 function echoSimpleTypesAsStruct($string, $int, $float)
13 return (object)array("varString" => $string,
/PHP_5_5/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_simple_rpcenc.inc16 function echoMultipleFaults1($param, $string, $floats) {
18 return new SoapFault("Server", "Fault in response to 'echoMultipleFaults1'.", null, $string, "SimpleFault2");
26 function echoMultipleFaults2($param, $string, $float, $strings) {
28 return new SoapFault("Server", "Fault in response to 'echoMultipleFaults2'.", null, $string, "SimpleFault1");
H A Dround4_groupH_soapfault.inc12 function HeaderRequest($string)
/PHP_5_5/ext/xmlrpc/libxmlrpc/
H A Dsimplestring.h48 * represents a string efficiently for fast appending, etc.
52 char* str; /* string buf */
53 int len; /* length of string/buf */
62 void simplestring_init(simplestring* string);
63 void simplestring_clear(simplestring* string);
64 void simplestring_free(simplestring* string);
65 void simplestring_add(simplestring* string, const char* add);
66 void simplestring_addn(simplestring* string, const char* add, int add_len);
H A Dsimplestring.c68 * Why would I write yet another string API? Because I couldn't find any that were
82 #include <string.h>
95 * void simplestring_init(simplestring* string)
97 * initialize string
99 * string - pointer to a simplestring struct that will be initialized
108 void simplestring_init(simplestring* string) { argument
109 memset(string, 0, sizeof(simplestring));
113 static void simplestring_init_str(simplestring* string) { argument
114 string->str = (char*)malloc(SIMPLESTRING_INCR);
115 if(string
142 simplestring_clear(simplestring* string) argument
167 simplestring_free(simplestring* string) argument
[all...]
/PHP_5_5/scripts/dev/generate-phpt/src/
H A DgtTestCaseWriter.php9 public static function write($name, $string, $type, $count = 0) {
23 fwrite ($fh, $string);
/PHP_5_5/win32/
H A Dfnmatch.c50 #include <string.h>
59 PHPAPI int fnmatch(const char *pattern, const char *string, int flags) argument
64 for (stringstart = string;;)
67 if ((flags & FNM_LEADING_DIR) && *string == '/')
69 return (*string == EOS ? 0 : FNM_NOMATCH);
71 if (*string == EOS)
73 if (*string == '/' && (flags & FNM_PATHNAME))
75 if (*string == '.' && (flags & FNM_PERIOD) &&
76 (string == stringstart ||
77 ((flags & FNM_PATHNAME) && *(string
[all...]
H A Dfnmatch.h52 PHPAPI int fnmatch(const char *pattern, const char *string, int flags);
/PHP_5_5/ext/mbstring/libmbfl/mbfl/
H A Dmbfilter.h136 MBFLAPI extern int mbfl_buffer_converter_feed(mbfl_buffer_converter *convd, mbfl_string *string);
137 MBFLAPI extern int mbfl_buffer_converter_feed2(mbfl_buffer_converter *convd, mbfl_string *string, int *loc);
141 MBFLAPI extern mbfl_string * mbfl_buffer_converter_feed_result(mbfl_buffer_converter *convd, mbfl_string *string, mbfl_string *result);
158 MBFLAPI extern int mbfl_encoding_detector_feed(mbfl_encoding_detector *identd, mbfl_string *string);
167 mbfl_convert_encoding(mbfl_string *string, mbfl_string *result, enum mbfl_no_encoding toenc);
174 mbfl_identify_encoding(mbfl_string *string, enum mbfl_no_encoding *elist, int elistsz, int strict);
177 mbfl_identify_encoding2(mbfl_string *string, const mbfl_encoding **elist, int elistsz, int strict);
182 mbfl_strlen(mbfl_string *string);
188 mbfl_oddlen(mbfl_string *string);
207 mbfl_substr(mbfl_string *string, mbfl_strin
[all...]
H A Dmbfl_string.c43 * string object
46 mbfl_string_init(mbfl_string *string) argument
48 if (string) {
49 string->no_language = mbfl_no_language_uni;
50 string->no_encoding = mbfl_no_encoding_pass;
51 string->val = (unsigned char*)NULL;
52 string->len = 0;
57 mbfl_string_init_set(mbfl_string *string, mbfl_language_id no_language, mbfl_encoding_id no_encoding) argument
59 if (string) {
60 string
68 mbfl_string_clear(mbfl_string *string) argument
[all...]
H A Dmbfl_string.h39 * string object
48 MBFLAPI extern void mbfl_string_init(mbfl_string *string);
49 MBFLAPI extern void mbfl_string_init_set(mbfl_string *string, mbfl_language_id no_language, mbfl_encoding_id no_encoding);
50 MBFLAPI extern void mbfl_string_clear(mbfl_string *string);
/PHP_5_5/ext/mbstring/libmbfl/tests/
H A Dconv_encoding.c10 #include <string.h>
30 mbfl_string string, result, *ret; local
61 mbfl_string_init_set(&string, no_language, from_encoding);
93 mbfl_memory_device_result(&dev, &string);
95 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
98 mbfl_string_clear(&string);
H A Demoji.c10 #include <string.h>
34 mbfl_string string, result, *ret; local
71 mbfl_string_init_set(&string, no_language, from_encoding);
77 mbfl_memory_device_result(&dev, &string);
79 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
100 mbfl_string_init_set(&string, no_language, to_encoding);
106 mbfl_memory_device_result(&dev2, &string);
108 ret = mbfl_buffer_converter_feed_result(convd2, &string, &result);
113 mbfl_string_clear(&string);
H A Dsample.c16 mbfl_string string, result, *ret; local
18 unsigned char input[] = "���ܸ�ʸ����"; /* EUC-JP kanji string */
24 mbfl_string_init(&string);
27 string.no_encoding = from_encoding;
28 string.no_language = no_language;
29 string.val = (unsigned char *)input;
30 string.len = strlen(input);
33 ret = mbfl_buffer_converter_feed_result(convd, &string, &result);
H A Dstrwidth.c10 #include <string.h>
18 mbfl_string string; local
41 mbfl_string_init_set(&string, no_language, no_encoding);
73 mbfl_memory_device_result(&dev, &string);
74 printf("%d\n", mbfl_strwidth(&string));
75 mbfl_string_clear(&string);
/PHP_5_5/ext/mbstring/oniguruma/
H A Dreggnu.c44 re_adjust_startpos(regex_t* reg, const char* string, int size, argument
49 UChar *s = (UChar* )string + startpos;
52 p = onigenc_get_right_adjust_char_head(reg->enc, (UChar* )string, s);
55 p = ONIGENC_LEFT_ADJUST_CHAR_HEAD(reg->enc, (UChar* )string, s);
57 return p - (UChar* )string;
72 re_search(regex_t* bufp, const char* string, int size, int startpos, int range, argument
75 return onig_search(bufp, (UChar* )string, (UChar* )(string + size),
76 (UChar* )(string + startpos),
77 (UChar* )(string
[all...]
/PHP_5_5/ext/sockets/
H A Dsockaddr_conv.h19 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC);
24 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC);
29 int php_set_inet46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock TSRMLS_DC);
H A Dsockaddr_conv.c15 /* Sets addr by hostname, or by ip in string form (AF_INET6) */
16 int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */ argument
23 char *scope = strchr(string, '%');
25 if (inet_pton(AF_INET6, string, &tmp)) {
37 getaddrinfo(string, NULL, &hints, &addrinfo);
84 /* Sets addr by hostname, or by ip in string form (AF_INET) */
85 int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock TSRMLS_DC) /* {{{ */ argument
90 if (inet_aton(string, &tmp)) {
93 if (! (host_entry = gethostbyname(string))) {
113 /* Sets addr by hostname or by ip in string for
115 php_set_inet46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock TSRMLS_DC) argument
[all...]
/PHP_5_5/sapi/apache/
H A Dlibpre.c36 #include <string.h> /* memset */
/PHP_5_5/sapi/cli/
H A Dps_title.h34 extern int get_ps_title(int* displen, const char** string);
/PHP_5_5/ext/pcre/pcrelib/
H A Dpcre_valid_utf8.c53 * Validate a UTF-8 string *
57 check that a supposed UTF-8 string is actually valid. The early check means
58 that subsequent code can assume it is dealing with a valid string. The check
60 invalid string are then undefined.
74 PCRE_UTF8_ERR1 Missing 1 byte at the end of the string
75 PCRE_UTF8_ERR2 Missing 2 bytes at the end of the string
76 PCRE_UTF8_ERR3 Missing 3 bytes at the end of the string
77 PCRE_UTF8_ERR4 Missing 4 bytes at the end of the string
78 PCRE_UTF8_ERR5 Missing 5 bytes at the end of the string
98 string point
107 valid_utf(PCRE_PUCHAR string, int length, int *erroroffset) argument
[all...]
/PHP_5_5/ext/com_dotnet/
H A Dcom_olechar.c33 PHP_COM_DOTNET_API OLECHAR *php_com_string_to_olestring(char *string, uint string_len, int codepage TSRMLS_DC) argument
41 string_len = MultiByteToWideChar(codepage, flags, string, -1, NULL, 0);
49 /* XXX if that's a real multibyte string, olestring is obviously allocated excessively.
52 ok = MultiByteToWideChar(codepage, flags, string, string_len, olestring, string_len);
66 "Could not convert string to unicode: `%s'", msg);
76 char *string; local
83 string = (char*)safe_emalloc(length, sizeof(char), 0);
84 length = WideCharToMultiByte(codepage, 0, olestring, -1, string, length, NULL, NULL);
87 string = (char*)emalloc(sizeof(char));
88 *string
[all...]

Completed in 61 milliseconds

1234567891011