Searched refs:str (Results 226 - 250 of 4607) sorted by relevance

1234567891011>>

/macosx-10.10.1/ruby-106/ruby/test/dl/
H A Dtest_cptr.rb28 str = "hello world"
29 ptr = CPtr[str]
32 assert_equal str, ptr.to_str
39 str = "hello world"
40 ptr = CPtr[str]
43 assert_equal str, ptr.to_s
50 str = "hello world"
51 ptr = CPtr[str]
57 str = "hello world"
58 ptr = CPtr[str]
[all...]
/macosx-10.10.1/ruby-106/ruby/test/fiddle/
H A Dtest_pointer.rb38 str = "hello world"
39 ptr = Pointer[str]
42 assert_equal str, ptr.to_str
49 str = "hello world"
50 ptr = Pointer[str]
53 assert_equal str, ptr.to_s
60 str = "hello world"
61 ptr = Pointer[str]
67 str = "hello world"
68 ptr = Pointer[str]
[all...]
/macosx-10.10.1/text_cmds-88/tr/
H A Dstr.c36 __FBSDID("$FreeBSD: src/usr.bin/tr/str.c,v 1.24 2004/11/14 05:15:25 jkh Exp $");
39 static const char sccsid[] = "@(#)str.c 8.2 (Berkeley) 4/28/95";
78 switch (ch = (u_char)*s->str) {
90 switch (*s->str) {
102 clen = mbrtowc(&wch, s->str, MB_LEN_MAX, NULL);
108 s->str += clen;
113 if (s->str[0] == '-' && genrange(s, is_octal))
159 switch (s->str[1]) {
161 if ((p = strchr(s->str + 2, ']')) == NULL)
163 if (*(p - 1) != ':' || p - s->str <
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/openssl/lib/openssl/
H A Dx509.rb37 def create_ext_from_string(str) # "oid = critical, value"
38 oid, value = str.split(/=/, 2)
51 str = self.oid
52 str << " = "
53 str << "critical, " if self.critical?
54 str << self.value.gsub(/\n/, ", ")
85 def expand_pair(str)
86 return nil unless str
87 return str.gsub(Pair){
92 else raise OpenSSL::X509::NameError, "invalid pair: #{str}"
[all...]
/macosx-10.10.1/ruby-106/ruby/test/ruby/
H A Dtest_keyword.rb5 def f1(str: "foo", num: 424242)
6 [str, num]
11 assert_equal(["bar", 424242], f1(str: "bar"))
13 assert_equal(["bar", 111111], f1(str: "bar", num: 111111))
14 assert_raise(ArgumentError) { f1(str: "bar", check: true) }
19 def f2(x, str: "foo", num: 424242)
20 [x, str, num]
29 def f3(str: "foo", num: 424242, **h)
30 [str, num, h]
35 assert_equal(["bar", 424242, {}], f3(str
[all...]
/macosx-10.10.1/CPANInternal-159.1/JSON-PP-2.27203/t/
H A D108_decode.t27 my $str = '���'; # Japanese 'a' in utf8
29 is($json->decode(q|"\u00e3\u0081\u0082"|), $str);
31 utf8::decode($str); # usually UTF-8 flagged on, but no-op for 5.005.
33 is($json->decode(q|"\u3042"|), $str);
/macosx-10.10.1/ICU-531.30/icuSources/common/
H A Dstringpiece.cpp16 StringPiece::StringPiece(const char* str) argument
17 : ptr_(str), length_((str == NULL) ? 0 : static_cast<int32_t>(uprv_strlen(str))) { }
44 void StringPiece::set(const char* str) { argument
45 ptr_ = str;
46 if (str != NULL)
47 length_ = static_cast<int32_t>(uprv_strlen(str));
/macosx-10.10.1/ICU-531.30/icuSources/samples/datefmt/
H A Dutil.h16 void uprintf(const UnicodeString &str);
/macosx-10.10.1/ICU-531.30/icuSources/samples/msgfmt/
H A Dutil.h16 void uprintf(const UnicodeString &str);
/macosx-10.10.1/ICU-531.30/icuSources/samples/numfmt/
H A Dutil.h17 void uprintf(const UnicodeString &str);
/macosx-10.10.1/ICU-531.30/icuSources/samples/translit/
H A Dutil.h16 void uprintf(const UnicodeString &str);
/macosx-10.10.1/Libc-1044.1.2/stdio/FreeBSD/
H A Dvasprintf.c41 _vasprintf(printf_comp_t __restrict pc, printf_domain_t __restrict domain, char ** __restrict str, locale_t __restrict loc, const char * __restrict fmt, __va_list ap) argument
53 *str = NULL;
63 *str = NULL;
68 *str = (char *)f._bf._base;
73 vasprintf_l(char ** __restrict str, locale_t __restrict loc, const char * __restrict fmt, __va_list ap) argument
75 return _vasprintf(XPRINTF_PLAIN, NULL, str, loc, fmt, ap);
79 vasprintf(char ** __restrict str, const char * __restrict fmt, __va_list ap) argument
81 return _vasprintf(XPRINTF_PLAIN, NULL, str, __current_locale(), fmt, ap);
/macosx-10.10.1/OpenSSL098-52/src/crypto/err/
H A Derr_bio.c66 static int print_bio(const char *str, size_t len, void *bp) argument
68 return BIO_write((BIO *)bp, str, len);
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_apple_csp/open_ssl/openssl/
H A Dbuffer.h93 int BUF_MEM_grow(BUF_MEM *str, int len);
94 char * BUF_strdup(const char *str);
/macosx-10.10.1/Security-57031.1.35/codesign_wrapper/
H A DMISBase.h41 #define CFStringGetFileSystemRepresentation(str, buf, len) CFStringGetCString(str, buf, len, kCFStringEncodingUTF8)
/macosx-10.10.1/apr-32/apr-util/apr-util/test/
H A Dtest_apu.h35 #define TEST_EQ(str, func, value, good, bad) \
36 printf("%-60s", str); \
49 #define TEST_NEQ(str, func, value, good, bad) \
50 printf("%-60s", str); \
63 #define TEST_STATUS(str, func, testmacro, good, bad) \
64 printf("%-60s", str); \
77 #define STD_TEST_NEQ(str, func) \
78 TEST_NEQ(str, func, APR_SUCCESS, "OK", "Failed");
/macosx-10.10.1/dyld-353.2.1/unit-tests/test-cases/dlsym-RTLD_DEFAULT/
H A Dfoo.c29 char* strdup(const char* str) argument
34 typedef char* (*strdupProc)(const char* str);
/macosx-10.10.1/eap8021x-198/EAP8021X.fproj/
H A DSupplicantTypes.h48 static const char * str[] = { local
62 return (str[state]);
/macosx-10.10.1/iodbc-42.5/iodbc/iodbc/
H A Diodbc_misc.h77 int _iodbcdm_cfg_init_str (PCONFIG *ppconf, void *str, int size, int wide);
78 int _iodbcdm_cfg_parse_str (PCONFIG pconfig, void *str, int size, int wide);
/macosx-10.10.1/ncurses-44/ncurses/menu/
H A Dm_item_nam.c54 returnCPtr((item) ? item->name.str : (char *)0);
69 returnCPtr((item) ? item->description.str : (char *)0);
/macosx-10.10.1/ntp-92/libntp/
H A Datouint.c12 const char *str,
19 cp = str;
11 atouint( const char *str, u_long *uval ) argument
H A Docttoint.c12 const char *str,
19 cp = str;
11 octtoint( const char *str, u_long *ival ) argument
/macosx-10.10.1/postfix-255/postfix/src/util/
H A Dname_mask.h46 #define name_mask_opt(tag, table, str, flags) \
47 name_mask_delim_opt((tag), (table), (str), \
49 #define name_mask(tag, table, str) \
50 name_mask_opt((tag), (table), (str), NAME_MASK_DEFAULT)
65 #define long_name_mask_opt(tag, table, str, flags) \
66 long_name_mask_delim_opt((tag), (table), (str), NAME_MASK_DEFAULT_DELIM, (flags))
67 #define long_name_mask(tag, table, str) \
68 long_name_mask_opt((tag), (table), (str), NAME_MASK_DEFAULT)
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Formatter/
H A Dmain.py6 if isinstance(product, (str, unicode)):
8 return str(product)
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/Examples/AppKit/Formatter/
H A Dmain.py6 if isinstance(product, (str, unicode)):
8 return str(product)

Completed in 177 milliseconds

1234567891011>>