Home
last modified time | relevance | path

Searched refs:CStr (Results 1 – 25 of 5195) sorted by last modified time

12345678910>>...208

/dports/x11/alacritty/alacritty-0.9.0/cargo-crates/nix-0.18.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
111 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/www/miniserve/miniserve-0.18.0/cargo-crates/get_if_addrs-0.5.3/src/
H A Dlib.rs160 use std::ffi::CStr;
223 let name = unsafe { CStr::from_ptr(ifaddr.ifa_name as *const _) } in get_if_addrs()
288 use std::ffi::CStr;
424 let name = unsafe { CStr::from_ptr(ifaddr.adapter_name) } in get_if_addrs()
/dports/textproc/cast2gif/cast2gif-0.1.0/cargo-crates/font-kit-0.6.0/src/loaders/
H A Dfreetype.rs35 use std::ffi::{CStr, CString};
292 return Some(CStr::from_ptr(postscript_name).to_str().unwrap().to_owned()); in postscript_name()
297 let font_format = CStr::from_ptr(font_format).to_str().unwrap(); in postscript_name()
314 let dec_device_fontnames = CStr::from_ptr(property.value).to_str().unwrap(); in postscript_name()
336 CStr::from_ptr(ptr).to_str().unwrap().to_owned() in family_name()
/dports/textproc/tinyxml2/tinyxml2-9.0.0/
H A Dreadme.md199 // printer.CStr() has a const char* to the XML
H A Dxmltest.cpp517 printf( "%s", streamer.CStr() ); in main()
1468 XMLTest("Deep clone of element.", printer1.CStr(), printer2.CStr(), true); in main()
1498 XMLTest("Deep clone of sub-element.", printer1.CStr(), printer2.CStr(), true); in main()
1525 XMLTest("DeepCopy of document.", printer1.CStr(), printer2.CStr(), true); in main()
1644 XMLTest( "BOM and default declaration", result, printer.CStr(), false ); in main()
1893 XMLTest( "Printing of sub-element", "<child>abc</child>\n", printer.CStr(), false ); in main()
1976 XMLTest("Move node from within <one> to <two>", xmlInsideTwo, printer1.CStr()); in main()
1986 XMLTest("Move node from within <one> after <two>", xmlAfterTwo, printer2.CStr(), false); in main()
1996 XMLTest("Move node from within <one> after <one>", xmlAfterOne, printer3.CStr(), false); in main()
2224 XMLTest(html, html, printer.CStr()); in main()
[all …]
H A Dtinyxml2.h2306 const char* CStr() const { in CStr() function
/dports/textproc/tinyxml2/tinyxml2-9.0.0/contrib/
H A Dhtml5-printer.cpp101 std::cout << "XMLPrinter (not valid HTML5):\n" << prn.CStr() << "\n\n"; in main()
105 std::cout << "XMLPrinterHTML5:\n" << html5.CStr() << "\n"; in main()
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/textproc/tinyxml/tinyxml/
H A Dtinyxml.h1777 const char* CStr() { return buffer.c_str(); } in CStr() function
/dports/sysutils/vector/vector-0.10.0/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/sysutils/vector/vector-0.10.0/cargo-crates/nix-0.16.1/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/sysutils/diskonaut/diskonaut-0.11.0/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/sysutils/flowgger/flowgger-0.2.10/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/multimedia/librespot/librespot-0.1.3/cargo-crates/get_if_addrs-0.5.3/src/
H A Dlib.rs160 use std::ffi::CStr;
223 let name = unsafe { CStr::from_ptr(ifaddr.ifa_name as *const _) } in get_if_addrs()
288 use std::ffi::CStr;
424 let name = unsafe { CStr::from_ptr(ifaddr.adapter_name) } in get_if_addrs()
/dports/multimedia/librav1e/rav1e-0.5.1/src/
H A Dcapi.rs22 use std::ffi::CStr;
655 let key = CStr::from_ptr(key).to_str().map_err(|_| ())?; in option_match()
656 let value = CStr::from_ptr(value).to_str().map_err(|_| ())?; in option_match()
/dports/multimedia/rav1e/rav1e-0.5.1/src/
H A Dcapi.rs22 use std::ffi::CStr;
655 let key = CStr::from_ptr(key).to_str().map_err(|_| ())?; in option_match()
656 let value = CStr::from_ptr(value).to_str().map_err(|_| ())?; in option_match()
/dports/math/gap/gap-4.11.0/pkg/PolymakeInterface-2019.09.02/src/
H A Dpolymake_fktn.cpp18 coneobj->give(polymake::CStr(prop)) >> i; in REAL_OBJECT_HAS_PROPERTY()
43 coneobj->give(polymake::CStr(prop)) >> i; in REAL_OBJECT_HAS_INT_PROPERTY()
86 coneobj->take(polymake::CStr(prop)) << true; in REAL_SET_PROPERTY_TRUE()
139 visual_options[ polymake::CStr(CSTR_STRING( description )) ] << CSTR_STRING( content ); in REAL_POLYMAKE_SKETCH_WITH_OPTIONS()
151 visual_options[ polymake::CStr(CSTR_STRING( description )) ] << cont; in REAL_POLYMAKE_SKETCH_WITH_OPTIONS()
/dports/lang/rust/rustc-1.58.1-src/library/std/src/sys/unix/
H A Dos.rs11 use crate::ffi::{CStr, CString, OsStr, OsString};
128 str::from_utf8(CStr::from_ptr(p).to_bytes()).unwrap().to_owned() in error_string()
344 let argv0 = CStr::from_ptr(argv[0]).to_bytes(); in current_exe()
395 let filename = CStr::from_ptr(path).to_bytes(); in current_exe()
422 let name = CStr::from_ptr((*info.as_ptr()).name.as_ptr()).to_bytes(); in current_exe()
505 if let Some(key_value) = parse(CStr::from_ptr(*environ).to_bytes()) { in env()
542 Some(OsStringExt::from_vec(CStr::from_ptr(s).to_bytes().to_vec())) in getenv()
620 let bytes = CStr::from_ptr(ptr).to_bytes().to_vec(); in home_dir()
642 if let Some(Ok(version_str)) = glibc_version_cstr().map(CStr::to_str) { in glibc_version()
650 fn glibc_version_cstr() -> Option<&'static CStr> { in glibc_version_cstr()
[all …]
/dports/graphics/wings/wings-8d019ebe48/plugins_src/commands/
H A Dwpc_constraints.erl569 CStr = wings_util:nice_float(Current),
573 {none,wings_util:format(Str, [AxStr1,OStr,AxStr2,CStr,PStr,RStr])}
586 CStr = wings_util:nice_float(Current),
591 {none,wings_util:format(Str,[AxStr1,OStr,AxStr2,CStr,DStr])}
603 CStr = axis_to_string({center,Current}),
607 {none,wings_util:format(Str,[OStr,CStr,DStr,AxStr1])}
625 CStr = wings_util:nice_float(Current),
629 {none,wings_util:format(Str, [AxStr1,OStr,AxStr2,CStr,PStr,RStr])}
/dports/graphics/viu/viu-1.1/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/games/genact/genact-0.10.0/cargo-crates/nix-0.17.0/src/sys/
H A Dstatfs.rs5 use std::ffi::CStr;
107 let c_str = unsafe { CStr::from_ptr(self.0.f_fstypename.as_ptr()) }; in filesystem_type_name()
/dports/games/aquaria/Aquaria-OSE-v1.002-22-g84366ad/Aquaria/
H A DContinuity.cpp2700 const char* xmlstr = printer.CStr(); in saveFile()
/dports/games/dose-response/dose-response-179c326/cargo-crates/winit-0.19.4/src/platform/linux/x11/
H A Dmod.rs19 use std::ffi::CStr;
1450 let name = unsafe { CStr::from_ptr(info.name).to_string_lossy() }; in new()
/dports/games/0ad/0ad-0.0.23b-alpha/source/scriptinterface/
H A DScriptStats.cpp55 CStr CScriptStatsTable::GetName() in GetName()
60 CStr CScriptStatsTable::GetTitle() in GetTitle()
79 CStr CScriptStatsTable::GetCellText(size_t row, size_t col) in GetCellText()
88 return CStr::FromUInt(n); in GetCellText()
95 return CStr::FromUInt(n); in GetCellText()
102 return CStr::FromUInt(n); in GetCellText()
109 return CStr::FromUInt(n); in GetCellText()
H A DScriptStats.h34 virtual CStr GetName();
35 virtual CStr GetTitle();
38 virtual CStr GetCellText(size_t row, size_t col);

12345678910>>...208