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.c45 zip_string_t *cstr; local
62 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, flags, &za->error)) == NULL)
64 if ((flags & ZIP_FL_ENCODING_ALL) == ZIP_FL_ENC_GUESS && _zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_UTF8_GUESSED)
65 cstr->encoding = ZIP_ENCODING_UTF8_KNOWN;
68 cstr = NULL;
79 changed = !_zip_string_equal(e->orig->comment, cstr);
81 changed = (cstr != NULL);
87 _zip_string_free(cstr);
91 e->changes->comment = cstr;
95 _zip_string_free(cstr);
[all...]
H A Dzip_set_archive_comment.c43 zip_string_t *cstr; local
56 if ((cstr=_zip_string_new((const zip_uint8_t *)comment, len, ZIP_FL_ENC_GUESS, &za->error)) == NULL)
59 if (_zip_guess_encoding(cstr, ZIP_ENCODING_UNKNOWN) == ZIP_ENCODING_CP437) {
60 _zip_string_free(cstr);
66 cstr = NULL;
71 if (((za->comment_orig && _zip_string_equal(za->comment_orig, cstr))
72 || (za->comment_orig == NULL && cstr == NULL))) {
73 _zip_string_free(cstr);
77 za->comment_changes = cstr;
/PHP_TRUNK/ext/ldap/
H A Dldap.c1589 static int _ldap_str_equal_to_const(const char *str, uint str_len, const char *cstr) argument
1593 if (strlen(cstr) != str_len)
1597 if (str[i] != cstr[i]) {

Completed in 31 milliseconds