Searched refs:cstr (Results 1 - 4 of 4) sorted by relevance

/PHP_TRUNK/ext/mbstring/oniguruma/
H A Dtestu.c61 char cpat[4000], cstr[4000]; local
69 uconv(str, cstr, ulen(str));
89 fprintf(stdout, "OK(N): /%s/ '%s'\n", cpat, cstr);
93 fprintf(stdout, "FAIL: /%s/ '%s'\n", cpat, cstr);
99 fprintf(stdout, "FAIL(N): /%s/ '%s'\n", cpat, cstr);
104 fprintf(stdout, "OK: /%s/ '%s'\n", cpat, cstr);
108 fprintf(stdout, "FAIL: /%s/ '%s' %d-%d : %d-%d\n", cpat, cstr,
122 uconv(str, cstr, ulen(str));
161 fprintf(stdout, "OK(N): /%s/ '%s'\n", cpat, cstr);
165 fprintf(stdout, "FAIL: /%s/ '%s'\n", cpat, cstr);
[all...]
/PHP_TRUNK/ext/zip/lib/
H A Dzip_file_set_comment.c49 struct zip_string *cstr;
66 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
68 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
69 cstr->encoding = ZIP_ENCODING_UTF8_KNOWN;
72 cstr = NULL;
83 changed = !_zip_string_equal(e->orig->comment, cstr);
85 changed = (cstr != NULL);
91 _zip_string_free(cstr);
95 e->changes->comment = cstr;
99 _zip_string_free(cstr);
47 struct zip_string *cstr; local
[all...]
H A Dzip_set_archive_comment.c47 struct zip_string *cstr;
60 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NULL)
63 if (_zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_CP437) {
64 _zip_string_free(cstr);
70 cstr = NULL;
75 if (((za->comment_orig && _zip_string_equal(za->comment_orig, cstr))
76 || (za->comment_orig == NULL && cstr == NULL))) {
77 _zip_string_free(cstr);
81 za->comment_changes = cstr;
45 struct zip_string *cstr; local
/PHP_TRUNK/ext/ldap/
H A Dldap.c1476 static int _ldap_str_equal_to_const(const char *str, uint str_len, const char *cstr) argument
1480 if (strlen(cstr) != str_len)
1484 if (str[i] != cstr[i]) {

Completed in 8 milliseconds