Searched refs:str (Results 251 - 275 of 4607) sorted by relevance

<<11121314151617181920>>

/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/Examples/AppKit/Formatter/
H A Dmain.py6 if isinstance(product, (str, unicode)):
8 return str(product)
/macosx-10.10.1/ruby-106/ruby/ext/openssl/
H A Dossl_pkcs5.c29 VALUE str; local
37 str = rb_str_new(0, len);
42 (unsigned char *)RSTRING_PTR(str)) != 1)
45 return str;
70 VALUE str; local
76 str = rb_str_new(0, len);
80 len, (unsigned char *)RSTRING_PTR(str)) != 1)
83 return str;
/macosx-10.10.1/tcl-105/tcl_ext/tcllib/tcllib/modules/term/
H A Dbind.tcl19 foreach {str cmd} $dict {Register $str $cmd}
23 method map {str cmd} {
24 Register $str $cmd
59 method process {str} {
60 foreach c [split $str {}] {Next $c}
107 proc Register {str cmd} {
111 foreach c [split $str {}] {
/macosx-10.10.1/libxml2-26/libxml2/
H A DtestURI.c23 static void handleURI(const char *str) { argument
31 ret = xmlParseURIReference(uri, str);
33 printf("%s : error %d\n", str, ret);
60 res = xmlBuildURI((xmlChar *)str, (xmlChar *) base);
95 char str[1024]; local
101 if (fgets (&str[0], sizeof (str) - 1, stdin) == NULL)
107 i = strlen(str);
109 ((str[i - 1] == '\n') || (str[
[all...]
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-core/libxml2-src/
H A DtestURI.c23 static void handleURI(const char *str) { argument
31 ret = xmlParseURIReference(uri, str);
33 printf("%s : error %d\n", str, ret);
60 res = xmlBuildURI((xmlChar *)str, (xmlChar *) base);
95 char str[1024]; local
101 if (fgets (&str[0], sizeof (str) - 1, stdin) == NULL)
107 i = strlen(str);
109 ((str[i - 1] == '\n') || (str[
[all...]
/macosx-10.10.1/Heimdal-398.1.2/appl/telnet/telnet/
H A Dauthenc.c40 telnet_net_write(unsigned char *str, int len) argument
43 ring_supply_data(&netoring, str, len);
44 if (str[0] == IAC && str[1] == SE)
45 printsub('>', &str[2], len-2);
/macosx-10.10.1/Heimdal-398.1.2/lib/hx509/
H A Dtest_expr.c7 char *str; member in struct:foo
66 expr = _hx509_expr_parse(foo[i].str);
68 errx(1, "_hx509_expr_parse failed for %d: %s", i, foo[i].str);
74 i, foo[i].str);
78 i, foo[i].str);
H A Derror.c143 char *str = NULL; local
155 if (asprintf(&str, "<unknown error: %d>", error_code) == -1)
157 return str;
162 str = heim_string_copy_utf8(s);
165 return str;
171 * @param str error string to free.
177 hx509_free_error_string(char *str) argument
179 free(str);
202 char *str; variable
205 vasprintf(&str, fm
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/roken/
H A Dparse_bytes-test.c43 const char *str; member in struct:testcase
65 int val = parse_bytes (tests[i].str, tests[i].def_unit);
70 tests[i].str,
77 if (strcmp (tests[i].str, buf) != 0) {
79 tests[i].val, buf, tests[i].str);
/macosx-10.10.1/ICU-531.30/icuSources/samples/translit/answers/
H A Dunaccent.cpp27 UnicodeString str(c);
31 t->normalizer.setText(str, status);
44 UnicodeString str("a");
49 str.setCharAt(0, d);
50 text.handleReplaceBetween(index.start, index.start+1, str);
/macosx-10.10.1/ICU-531.30/icuSources/samples/translit/
H A Dunaccent.cpp29 UnicodeString str(c);
33 t->normalizer.setText(str, status);
46 UnicodeString str("a");
51 str.setCharAt(0, d);
52 text.handleReplaceBetween(index.start, index.start+1, str);
/macosx-10.10.1/JavaScriptCore-7600.1.17/runtime/
H A DJSStringJoiner.h63 inline void JSStringJoiner::append(const String& str) argument
68 m_strings.append(str);
69 if (!str.isNull()) {
70 m_accumulatedStringsLength += str.length();
71 m_is8Bits = m_is8Bits && str.is8Bit();
/macosx-10.10.1/WTF-7600.1.24/wtf/text/cf/
H A DStringCF.cpp31 String::String(CFStringRef str) argument
33 if (!str)
36 CFIndex size = CFStringGetLength(str);
42 CFIndex convertedsize = CFStringGetBytes(str, CFRangeMake(0, size), kCFStringEncodingISOLatin1, 0, false, lcharBuffer.data(), size, &usedBufLen);
49 CFStringGetCharacters(str, CFRangeMake(0, size), (UniChar*)buffer.data());
/macosx-10.10.1/bind9-45.101/bind9/unit/atf-src/atf-c/detail/
H A Dtext.c47 char *str, *str2, *last; local
49 str = strdup(instr);
50 if (str == NULL) {
56 str2 = strtok_r(str, sep, &last);
62 free(str);
97 atf_text_split(const char *str, const char *delim, atf_list_t *words) argument
107 end = str + strlen(str);
109 iter = str;
144 atf_text_to_bool(const char *str, boo argument
166 atf_text_to_long(const char *str, long *l) argument
[all...]
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlerror/
H A Dmain.c38 const char* str = (char*)arg; local
40 //fprintf(stderr, "dlopen(%s)\n", str);
41 void* handle = dlopen(str, RTLD_LAZY);
43 FAIL("dlopen(%s) unexpectedly succeeded", str);
47 //fprintf(stderr, "dlopen(%s) => %s\n", str, msg);
48 if ( (msg == NULL) || (strstr(msg, str) == NULL) ) {
49 FAIL("dlerror() did not contain library name that could not be loaded", str);
/macosx-10.10.1/gnutar-453/gnutar/lib/
H A Dvsnprintf.c45 vsnprintf (char *str, size_t size, const char *format, va_list args) argument
51 output = vasnprintf (str, &lenbuf, format, args);
57 if (output != str)
62 memcpy (str, output, pruned_len);
63 str[pruned_len] = '\0';
/macosx-10.10.1/ncurses-44/ncurses/ncurses/widechar/
H A Dlib_slk_wset.c50 const wchar_t *str; local
57 str = astr;
58 if ((arglen = wcsrtombs(NULL, &str, 0, &state)) != (size_t) -1) {
60 str = astr;
61 if (wcsrtombs(mystr, &str, arglen, &state) != (size_t) -1) {
/macosx-10.10.1/ruby-106/ruby/ext/tk/lib/tk/
H A Dencodedstr.rb13 def self.subst_utf_backslash(str)
14 # str.gsub(/\\u([0-9A-Fa-f]{1,4})/){[$1.hex].pack('U')}
15 TclTkLib._subst_UTF_backslash(str)
17 def self.utf_backslash(str)
18 self.subst_utf_backslash(str)
21 def self.subst_tk_backslash(str)
22 TclTkLib._subst_Tcl_backslash(str)
25 def self.utf_to_backslash_sequence(str)
26 str.unpack('U*').collect{|c|
34 def self.utf_to_backslash(str)
[all...]
/macosx-10.10.1/vim-55/src/
H A Dif_perlsfio.c34 char_u *str; local
36 str = vim_strnsave((char_u *)buf, n);
37 if (str == NULL)
39 msg_split((char *)str);
40 vim_free(str);
/macosx-10.10.1/Libc-1044.1.2/sys/OpenBSD/
H A Dstack_protector.c49 __guard_from_kernel(const char *str) argument
56 str = strchr(str, '=');
57 if (str == NULL)
59 str++;
61 while (str && idx < GUARD_MAX) {
66 strlcpy(tmp, str, 20);
73 if ((str = strchr(str, ',')) != NULL)
74 str
[all...]
/macosx-10.10.1/WTF-7600.1.24/wtf/text/mac/
H A DStringMac.mm28 String::String(NSString *str)
30 if (!str)
33 CFIndex size = CFStringGetLength(reinterpret_cast<CFStringRef>(str));
39 CFIndex convertedsize = CFStringGetBytes(reinterpret_cast<CFStringRef>(str), CFRangeMake(0, size), kCFStringEncodingISOLatin1, 0, false, lcharBuffer.data(), size, &usedBufLen);
46 CFStringGetCharacters(reinterpret_cast<CFStringRef>(str), CFRangeMake(0, size), ucharBuffer.data());
/macosx-10.10.1/ppp-786.1.1/Helpers/pppd/
H A Dmultilink.c77 static int parse_num __P((char *str, const char *key, int *valp));
236 parse_num(str, key, valp)
237 char *str;
244 p = strstr(str, key);
325 static char str[MAX_ENDP_LEN*3+8]; local
336 slprintf(str, sizeof(str), "IP:%I", htonl(addr));
337 return str;
346 q = str;
348 q += slprintf(q, sizeof(str)
[all...]
/macosx-10.10.1/OpenSSL098-52/src/crypto/des/
H A Dstr2key.c62 void DES_string_to_key(const char *str, DES_cblock *key) argument
69 length=strlen(str);
72 (*key)[i%8]^=(str[i]<<1);
76 j=str[i];
97 DES_cbc_cksum((const unsigned char*)str,key,length,&ks,key);
102 void DES_string_to_2keys(const char *str, DES_cblock *key1, DES_cblock *key2) argument
110 length=strlen(str);
116 (*key2)[i]=(*key1)[i]=(str[i]<<1);
124 (*key2)[i%8]^=(str[i]<<1);
126 (*key1)[i%8]^=(str[
[all...]
/macosx-10.10.1/ruby-106/ruby/lib/drb/
H A Dacl.rb46 # Creates a new entry using +str+.
48 # +str+ may be "*" or "all" to match any address, an IP address string
52 def initialize(str)
53 if str == '*' or str == 'all'
55 elsif str.include?('*')
56 @pat = [:name, dot_pat(str)]
59 @pat = [:ip, IPAddr.new(str)]
61 @pat = [:name, dot_pat(str)]
71 def dot_pat_str(str)
[all...]
/macosx-10.10.1/tcl-105/tcl84/tcl/generic/
H A DtclUtf.c161 Tcl_UniCharToUtf(ch, str)
164 char *str; /* Buffer in which the UTF-8 representation
170 str[0] = (char) ch;
175 str[1] = (char) ((ch | 0x80) & 0xBF);
176 str[0] = (char) ((ch >> 6) | 0xC0);
181 str[2] = (char) ((ch | 0x80) & 0xBF);
182 str[1] = (char) (((ch >> 6) | 0x80) & 0xBF);
183 str[0] = (char) ((ch >> 12) | 0xE0);
189 str[3] = (char) ((ch | 0x80) & 0xBF);
190 str[
[all...]

Completed in 214 milliseconds

<<11121314151617181920>>