/dports/www/grafana8/grafana-8.3.6/vendor/github.com/apache/arrow/python/pyarrow/includes/ |
H A D | libarrow_fs.pxd | 40 c_string path() 51 c_string base_dir 58 CResult[c_string] NormalizePath(c_string path) 69 CStatus Move(const c_string& src, const c_string& dest) 70 CStatus CopyFile(const c_string& src, const c_string& dest) 129 c_string region 131 c_string scheme 189 void ConfigureExtraConf(c_string key, c_string value) 217 ctypedef void CallbackMove(object, const c_string&, const c_string&) 218 ctypedef void CallbackCopyFile(object, const c_string&, const c_string&) [all …]
|
H A D | libarrow_flight.pxd | 29 c_string type 33 c_string type 45 c_string username 46 c_string password 64 c_string cmd 75 c_string ticket 219 vector[pair[c_string, c_string]] headers 258 pair[c_string, c_string] operator*() 266 void AddHeader(const c_string& key, const c_string& value) 311 CResult[pair[c_string, c_string]] AuthenticateBasicToken( [all …]
|
/dports/databases/arrow/apache-arrow-6.0.1/python/pyarrow/includes/ |
H A D | libarrow_fs.pxd | 40 c_string path() 51 c_string base_dir 57 c_string path 62 CResult[c_string] NormalizePath(c_string path) 73 CStatus Move(const c_string& src, const c_string& dest) 74 CStatus CopyFile(const c_string& src, const c_string& dest) 134 c_string host 216 void ConfigureExtraConf(c_string key, c_string value) 257 ctypedef void CallbackMove(object, const c_string&, const c_string&) 258 ctypedef void CallbackCopyFile(object, const c_string&, const c_string&) [all …]
|
H A D | libarrow_flight.pxd | 29 c_string type 33 c_string type 45 c_string username 46 c_string password 64 c_string cmd 75 c_string ticket 226 vector[pair[c_string, c_string]] headers 266 pair[c_string, c_string] operator*() 274 void AddHeader(const c_string& key, const c_string& value) 321 CResult[pair[c_string, c_string]] AuthenticateBasicToken( [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/python/pyarrow/includes/ |
H A D | libarrow_fs.pxd | 43 c_string path() 45 c_string base_name() 48 c_string extension() 54 c_string base_dir 61 CResult[c_string] NormalizePath(c_string path) 70 CStatus Move(const c_string& src, const c_string& dest) 71 CStatus CopyFile(const c_string& src, const c_string& dest) 84 "arrow::fs::FileSystemFromUri"(const c_string& uri, c_string* out_path) 106 c_string base_path() 122 c_string region [all …]
|
H A D | libarrow_flight.pxd | 31 c_string type 35 c_string type 47 c_string username 48 c_string password 66 c_string cmd 77 c_string ticket 244 pair[c_string, c_string] operator*() 252 void AddHeader(const c_string& key, const c_string& value) 255 c_string name() 374 ctypedef CStatus cb_is_valid(object, const c_string&, c_string*) [all …]
|
/dports/security/yara/yara-4.1.1/libyara/ |
H A D | sizedstr.c | 47 while (s1->length > i && s2->length > i && s1->c_string[i] == s2->c_string[i]) in ss_compare() 58 else if (s1->c_string[i] < s2->c_string[i]) in ss_compare() 84 else if (s1->c_string[i] < s2->c_string[i]) in ss_icompare() 95 return memmem(s1->c_string, s1->length, s2->c_string, s2->length) != NULL; in ss_contains() 132 if (s1->c_string[i] != s2->c_string[i]) in ss_startswith() 150 yr_lowercase[(uint8_t) s2->c_string[i]]) in ss_istartswith() 167 if (s1->c_string[s1->length - s2->length + i] != s2->c_string[i]) in ss_endswith() 206 memcpy(result->c_string, s->c_string, s->length + 1); in ss_dup() 229 strcpy(result->c_string, s); in ss_new() 248 wide->c_string[i * 2] = s->c_string[i]; in ss_convert_to_wide() [all …]
|
/dports/lang/cython/Cython-0.29.24/tests/run/ |
H A D | pointers.pyx | 3 cdef char* c_string = b'abcdefg' 4 cdef void* void_ptr = c_string 23 print c_string == c_string 24 print c_string == void_ptr 25 print c_string is void_ptr 26 print c_string != void_ptr 27 print c_string is not void_ptr 37 if c_string == void_ptr: 39 if c_string != void_ptr: 49 …if c_string == void_ptr and c_string == c_string and int_ptr != void_ptr and void_ptr != float_ptr: [all …]
|
/dports/lang/cython-devel/cython-2b1e743/tests/run/ |
H A D | pointers.pyx | 3 cdef char* c_string = b'abcdefg' 4 cdef void* void_ptr = c_string 23 print c_string == c_string 24 print c_string == void_ptr 25 print c_string is void_ptr 26 print c_string != void_ptr 27 print c_string is not void_ptr 37 if c_string == void_ptr: 39 if c_string != void_ptr: 49 …if c_string == void_ptr and c_string == c_string and int_ptr != void_ptr and void_ptr != float_ptr: [all …]
|
/dports/databases/py-gdbm/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python310/Python-3.10.1/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python37/Python-3.7.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python38/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python-tools/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python27/Python-2.7.18/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, u"123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python39/Python-3.9.9/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/databases/py-sqlite3/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/lang/python-legacy/Python-2.7.18/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, u"123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/x11-toolkits/py-tkinter/Python-3.8.12/Lib/ctypes/test/ |
H A D | test_strings.py | 91 cs = c_string("abcdef") 114 self.assertRaises(TypeError, c_string, "123") 120 self.assertRaises(TypeError, c_string, None) 124 self.assertEqual(len(c_string(32).raw), 32) 125 self.assertRaises(ValueError, c_string, -1) 126 self.assertRaises(ValueError, c_string, 0) 131 self.assertEqual(c_string(2).raw[-1], "\000") 132 self.assertEqual(len(c_string(2).raw), 2) 146 cs = c_string("abcdef") 216 run_test(REP, "c_string(None)", c_string, None) [all …]
|
/dports/comms/mgetty+sendfax/mgetty-1.1.37/ |
H A D | sendfax.c | 385 strcmp( c_string(modem_type), "c2.0" ) != 0 && 386 strcmp( c_string(modem_type), "cls1" ) != 0 && 390 argv[0], c_string(modem_type) ); 415 Device, c_string(acct_handle)); 435 Device, c_string(acct_handle) ); 456 c_string(modem_init) ); 458 argv[0], c_string(modem_init) ); 540 strlen( c_string(modem_handshake) ) != 0 && 636 if ( c_string(fax_page_header) ) 754 c_string(acct_handle) ); [all …]
|
/dports/www/firefox/firefox-99.0/third_party/rust/ffi-support/src/ |
H A D | string.rs | 106 pub unsafe fn rust_str_from_c<'a>(c_string: *const c_char) -> &'a str { in rust_str_from_c() 107 FfiStr::from_raw(c_string).as_str() in rust_str_from_c() 121 pub unsafe fn opt_rust_str_from_c<'a>(c_string: *const c_char) -> Option<&'a str> { in opt_rust_str_from_c() 122 FfiStr::from_raw(c_string).as_opt_str() in opt_rust_str_from_c() 145 pub unsafe fn rust_string_from_c(c_string: *const c_char) -> String { in rust_string_from_c() 146 FfiStr::from_raw(c_string).into_string() in rust_string_from_c() 160 pub unsafe fn opt_rust_string_from_c(c_string: *const c_char) -> Option<String> { in opt_rust_string_from_c() 161 FfiStr::from_raw(c_string).into_opt_string() in opt_rust_string_from_c()
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/ffi-support/src/ |
H A D | string.rs | 106 pub unsafe fn rust_str_from_c<'a>(c_string: *const c_char) -> &'a str { in rust_str_from_c() 107 FfiStr::from_raw(c_string).as_str() in rust_str_from_c() 121 pub unsafe fn opt_rust_str_from_c<'a>(c_string: *const c_char) -> Option<&'a str> { in opt_rust_str_from_c() 122 FfiStr::from_raw(c_string).as_opt_str() in opt_rust_str_from_c() 145 pub unsafe fn rust_string_from_c(c_string: *const c_char) -> String { in rust_string_from_c() 146 FfiStr::from_raw(c_string).into_string() in rust_string_from_c() 160 pub unsafe fn opt_rust_string_from_c(c_string: *const c_char) -> Option<String> { in opt_rust_string_from_c() 161 FfiStr::from_raw(c_string).into_opt_string() in opt_rust_string_from_c()
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/ffi-support/src/ |
H A D | string.rs | 106 pub unsafe fn rust_str_from_c<'a>(c_string: *const c_char) -> &'a str { in rust_str_from_c() 107 FfiStr::from_raw(c_string).as_str() in rust_str_from_c() 121 pub unsafe fn opt_rust_str_from_c<'a>(c_string: *const c_char) -> Option<&'a str> { in opt_rust_str_from_c() 122 FfiStr::from_raw(c_string).as_opt_str() in opt_rust_str_from_c() 145 pub unsafe fn rust_string_from_c(c_string: *const c_char) -> String { in rust_string_from_c() 146 FfiStr::from_raw(c_string).into_string() in rust_string_from_c() 160 pub unsafe fn opt_rust_string_from_c(c_string: *const c_char) -> Option<String> { in opt_rust_string_from_c() 161 FfiStr::from_raw(c_string).into_opt_string() in opt_rust_string_from_c()
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/rust/ffi-support/src/ |
H A D | string.rs | 106 pub unsafe fn rust_str_from_c<'a>(c_string: *const c_char) -> &'a str { in rust_str_from_c() 107 FfiStr::from_raw(c_string).as_str() in rust_str_from_c() 121 pub unsafe fn opt_rust_str_from_c<'a>(c_string: *const c_char) -> Option<&'a str> { in opt_rust_str_from_c() 122 FfiStr::from_raw(c_string).as_opt_str() in opt_rust_str_from_c() 145 pub unsafe fn rust_string_from_c(c_string: *const c_char) -> String { in rust_string_from_c() 146 FfiStr::from_raw(c_string).into_string() in rust_string_from_c() 160 pub unsafe fn opt_rust_string_from_c(c_string: *const c_char) -> Option<String> { in opt_rust_string_from_c() 161 FfiStr::from_raw(c_string).into_opt_string() in opt_rust_string_from_c()
|
/dports/science/octopus/octopus-10.5/src/basic/ |
H A D | string.F90 | 170 function string_f_to_c(f_string) result(c_string) 179 c_string(i) = f_string(i:i) 181 c_string(strlen+1) = C_NULL_CHAR 186 subroutine string_c_to_f(c_string, f_string) argument 187 character(kind=c_char,len=1), intent(in) :: c_string(*) local 193 do while(c_string(i) /= C_NULL_CHAR .and. i <= len(f_string)) 194 f_string(i:i) = c_string(i) 202 subroutine string_c_ptr_to_f(c_string, f_string) argument 203 type(c_ptr), intent(in) :: c_string local 209 if (.not. c_associated(c_string)) then [all …]
|