Searched refs:string (Results 101 - 125 of 10374) sorted by relevance

1234567891011>>

/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_3/RegExp/
H A Dperlstress-001.js51 * By contrast, in Perl, unmatched captures hold the empty string.
55 string = '.';
56 actualmatch = string.match(pattern);
74 * - In ECMA, ^ matches only the empty string before the first character
76 * - In ECMA, $ matches only the empty string at end of input (unless multiline)
94 var string = ''; variable
106 string = 'abc';
107 actualmatch = string.match(pattern);
113 string = 'xabcy';
114 actualmatch = string
[all...]
H A Doctal-001.js50 var string = ''; variable
60 string = 'abc';
61 actualmatch = string.match(pattern);
72 string = 'ab*c';
73 actualmatch = string.match(pattern);
79 string = 'abc';
80 actualmatch = string.match(pattern);
86 string = 'ab****c';
87 actualmatch = string.match(pattern);
93 string
[all...]
H A Dregress-187133.js64 var string = ''; variable
74 string = 'ah.info';
75 actualmatch = string.match(pattern);
80 string = 'ah/info';
81 actualmatch = string.match(pattern);
86 string = 'ah.com';
87 actualmatch = string.match(pattern);
94 string = '';
95 actualmatch = string.match(pattern);
100 string
[all...]
H A Dregress-87231.js29 * string = 'A';
48 var string = ''; variable
58 string = 'AAA';
59 actualmatch = string.match(pattern);
64 string = 'AA';
65 actualmatch = string.match(pattern);
70 string = 'A';
71 actualmatch = string.match(pattern);
81 string = strL + 'AAA' + strR;
82 actualmatch = string
[all...]
H A Dregress-191479.js51 var string = ''; variable
60 string = '12 3 45';
62 actualmatch = string.match(pattern);
67 string = '12 3 45';
69 actualmatch = string.match(pattern);
70 expectedmatch = Array(string, '5');
74 string = '12 3 45';
76 actualmatch = string.match(pattern);
81 string = '12 3 45';
83 actualmatch = string
[all...]
/macosx-10.10.1/ncurses-44/ncurses/ncurses/tinfo/
H A Dlib_tgoto.c42 is_termcap(const char *string) argument
46 if (string == 0 || *string == '\0') {
49 while ((*string != '\0') && result) {
50 if (*string == '%') {
51 switch (*++string) {
56 string--;
59 } else if (string[0] == '$' && string[1] == '<') {
62 string
69 tgoto_internal(const char *string, int x, int y) argument
191 tgoto(const char *string, int x, int y) argument
[all...]
/macosx-10.10.1/JavaScriptCore-7600.1.17/tests/mozilla/ecma_2/String/
H A Dmatch-001.js14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
21 * match with an empty string (in other words, if the value of
28 * require that its this value be a string object. Therefore, it can be
39 // this is not a string object
61 regexp, str_regexp, string, length, index, matches_array ) {
64 "( " + string + " ).match(" + str_regexp +").length",
66 string.match(regexp).length );
69 "( " + string
[all...]
H A Dmatch-002.js14 * of the expression new RegExp(regexp). Let string denote the result of
15 * converting the this value to a string. If regexp.global is false,
17 * section 15.7.5.3) on regexp with string as parameter.
21 * match with an empty string (in other words, if the value of
28 * require that its this value be a string object. Therefore, it can be
32 * results should behave as regexp.exec with string passed as a parameter.
43 // this is not a string object
99 regexp, str_regexp, string, index, matches_array ) {
103 if ( regexp.exec(string) == null || matches_array == null ) {
105 string
[all...]
H A Dsplit-003.js35 // string is an empty string
36 // if separator is an empty string, split each by character
63 function AddSplitCases( string, separator, str_sep, split_array ) {
66 "( " + string + " ).split(" + str_sep +").constructor == Array",
68 string.split(separator).constructor == Array );
72 "( " + string + " ).split(" + str_sep +").length",
74 string.split(separator).length );
77 var limit = (split_array.length > string.split(separator).length )
78 ? split_array.length : string
[all...]
/macosx-10.10.1/swig-12/Lib/php/
H A Dstd_string.i7 * SWIG typemaps for std::string types
11 // std::string is typemapped by value
12 // This can prevent exporting methods which return a string
20 #include <string>
25 %naturalvar string;
27 class string;
29 %typemap(typecheck,precedence=SWIG_TYPECHECK_STRING) string %{
33 %typemap(in) string %{
38 %typemap(directorout) string %{
43 %typemap(typecheck,precedence=SWIG_TYPECHECK_STRING) const string
[all...]
/macosx-10.10.1/tcl-105/tk84/tk/generic/
H A DtkGet.c38 * The following tables defines the string values for reliefs, which are
75 * corresponds to the string value of
94 * Given a string, return the corresponding Tk_Anchor.
110 Tk_GetAnchor(interp, string, anchorPtr)
112 CONST char *string; /* String describing a direction. */
114 * to string. */
116 switch (string[0]) {
118 if (string[1] == 0) {
121 } else if ((string[1] == 'e') && (string[
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/bfd/
H A Dcpu-i960.c31 /* This routine is provided a string, and tries to work out if it
36 scan_960_mach (ap, string)
38 const char *string;
43 /* Look for the string i960 at the front of the string. */
44 if (strncasecmp ("i960", string, 4) == 0)
46 string += 4;
49 if (* string == 0)
53 if (* string != ':')
56 string
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/examples/loadables/
H A Ddirname.c19 char *string; local
30 string = list->word->word;
31 slen = strlen (string);
34 while (slen > 0 && string[slen - 1] == '/')
37 /* (2) If string consists entirely of slash characters, string shall be
46 /* (3) If there are any trailing slash characters in string, they
48 string[slen] = '\0';
50 /* (4) If there are no slash characters remaining in string, string
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/glob/
H A Dstrmatch.c33 strmatch (pattern, string, flags)
35 char *string;
38 if (string == 0 || pattern == 0)
41 return (xstrmatch (pattern, string, flags));
63 char *string, *pat; local
65 string = v[1];
68 if (strmatch (pat, string, 0) == 0)
70 printf ("%s matches %s\n", string, pat);
75 printf ("%s does not match %s\n", string, pat);
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c++/
H A Dcheck.hpp39 #include <string>
107 const std::string stdout_path(void) const;
112 const std::string stderr_path(void) const;
119 bool build_c_o(const std::string&, const std::string&,
121 bool build_cpp(const std::string&, const std::string&,
123 bool build_cxx_o(const std::string&, const std::string&,
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-run/
H A Datffile.hpp33 #include <string>
53 virtual void got_conf(const std::string&, const std::string &);
54 virtual void got_prop(const std::string&, const std::string &);
55 virtual void got_tp(const std::string&, bool);
73 std::vector< std::string > m_tps;
78 const std::vector< std::string >&,
82 const std::vector< std::string >& tps(void) const;
/macosx-10.10.1/Security-57031.1.35/securityd/src/
H A Dcredential.h42 CredentialImpl(const uid_t uid, const string &username, const string &realname, bool shared);
43 CredentialImpl(const string &username, const string &password, bool shared);
44 CredentialImpl(const string &right, bool shared);
66 inline const string& name() const { return mName; }
67 inline const string& realname() const { return mRealName; }
79 string mName;
80 string mRealName;
92 Credential(const uid_t uid, const string
[all...]
/macosx-10.10.1/groff-38/groff/src/libs/libgroff/
H A Dquotearg.c24 #include <string.h>
54 needs_quoting(const char *string) argument
56 /* Scan `string' to see whether it needs quoting for MSVC `spawn'/`exec'
60 if (string == NULL) /* ignore NULL strings */
63 if (*string == '\0') /* explicit arguments of zero length */
66 while (*string) {
71 if (*string == '"' || isspace(*string))
74 /* otherwise, continue scanning to end of string */
76 ++string;
87 quote_arg(char *string) argument
[all...]
/macosx-10.10.1/pcre-7/pcre/
H A Dpcre_valid_utf8.c53 * Validate a UTF-8 string *
57 validate 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 an invalid string are then undefined.
70 string points to the string
71 length length of string, or -1 if the string is zero-terminated
73 Returns: < 0 if the string is a valid UTF-8 string
78 _pcre_valid_utf8(USPTR string, int length) argument
[all...]
/macosx-10.10.1/vim-55/runtime/autoload/
H A Dphpcomplete.vim23 \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
25 \ 'synIDattr(synID(line("."), col("."), 0), "name") =~? "string\|comment"')
651 " is to go through the looong string looking for
1027 \ 'addcslashes(': 'string str, string charlist | string',
1028 \ 'addslashes(': 'string str | string',
1029 \ 'aggregate(': 'object object, string class_name | void',
1031 \ 'aggregate_methods_by_list(': 'object object, string class_nam
[all...]
/macosx-10.10.1/Heimdal-398.1.2/base/
H A Dstring.c37 #include <string.h>
63 "string-object",
72 * Create a string object
74 * @param string the string to create, must be an utf8 string
76 * @return string object
80 heim_string_create(const char *string) argument
82 size_t len = strlen(string);
87 memcpy(s, string, le
112 heim_string_copy_utf8(heim_string_t string) argument
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dputenv.c44 * String points to a string of the form name=value.
51 putenv(const char *string) argument
54 const char *eq = (const char *)strchr(string, '=');
59 len = eq - string;
69 if(strncmp(string, environ[i], len) == 0) {
70 environ[i] = string;
76 environ[i] = string;
/macosx-10.10.1/OpenLDAP-499.27/OpenLDAP/contrib/ldapc++/src/
H A DLDAPModDNRequest.h16 LDAPModDNRequest(const std::string& dn, const std::string& newRDN,
17 bool deleteOld, const std::string& newParentDN,
26 std::string m_dn;
27 std::string m_newRDN;
28 std::string m_newParentDN;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_codesigning/antlr2/src/
H A DNoViableAltException.cpp25 const ANTLR_USE_NAMESPACE(std)string& fileName_
31 ANTLR_USE_NAMESPACE(std)string NoViableAltException::getMessage() const
36 return string("unexpected end of file");
38 return string("unexpected end of tree");
40 return string("unexpected token: ")+token->getText();
47 return string("unexpected AST node: ")+node->toString();
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c++/detail/
H A Denv.cpp47 std::string
48 impl::get(const std::string& name)
54 impl::has(const std::string& name)
60 impl::set(const std::string& name, const std::string& val)
68 impl::unset(const std::string& name)

Completed in 219 milliseconds

1234567891011>>