Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 10 of 10) sorted by relevance

/libCEED/backends/sycl/
H A Donline_compiler.hpp81 online_compiler(compiled_code_format fmt = compiled_code_format::spir_v) in online_compiler() argument
82 : OutputFormat(fmt), in online_compiler()
94 …online_compiler(sycl::info::device_type dev_type, device_arch arch, compiled_code_format fmt = com… in online_compiler() argument
95 …: OutputFormat(fmt), OutputFormatVersion({0, 0}), DeviceType(dev_type), DeviceArch(arch), Is64Bit(… in online_compiler()
119 online_compiler<Lang> &setOutputFormat(compiled_code_format fmt) { in setOutputFormat() argument
120 OutputFormat = fmt; in setOutputFormat()
/libCEED/rust/libceed/src/
H A Dvector.rs206 impl<'a> fmt::Display for Vector<'a> {
225 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
236 cstring.to_string_lossy().fmt(f) in fmt()
829 impl<'a> fmt::Display for VectorView<'a> {
830 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
885 impl<'a> fmt::Display for VectorViewMut<'a> {
886 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
H A Dqfunction.rs376 impl<'a> fmt::Display for QFunctionCore<'a> {
377 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
386 cstring.to_string_lossy().fmt(f) in fmt()
415 impl<'a> fmt::Display for QFunction<'a> {
416 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
417 self.qf_core.fmt(f) in fmt()
432 impl<'a> fmt::Display for QFunctionByName<'a> {
433 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
434 self.qf_core.fmt(f) in fmt()
H A Doperator.rs332 impl<'a> fmt::Display for OperatorCore<'a> {
333 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
342 cstring.to_string_lossy().fmt(f) in fmt()
380 impl<'a> fmt::Display for Operator<'a> {
381 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
382 self.op_core.fmt(f) in fmt()
436 impl<'a> fmt::Display for CompositeOperator<'a> {
437 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
438 self.op_core.fmt(f) in fmt()
H A Dlib.rs25 pub(crate) use std::fmt;
142 impl fmt::Display for Error {
143 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
241 impl fmt::Display for Ceed {
248 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
257 cstring.to_string_lossy().fmt(f) in fmt()
H A Dbasis.rs107 impl<'a> fmt::Display for Basis<'a> {
119 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
128 cstring.to_string_lossy().fmt(f) in fmt()
H A Delem_restriction.rs120 impl<'a> fmt::Display for ElemRestriction<'a> {
138 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
147 cstring.to_string_lossy().fmt(f) in fmt()
/libCEED/python/
H A Dceed_qfunctioncontext.py48 fmt = ffi.new("char[]", "%f".encode('ascii'))
H A Dceed_vector.py48 fmt = ffi.new("char[]", "%f".encode('ascii'))
53 err_code = lib.CeedVectorView(self._pointer[0], fmt, stream)
/libCEED/interface/
H A Dceed-vector.c1081 char fmt[1024]; in CeedVectorViewRange() local
1104 snprintf(fmt, sizeof fmt, "%s %s\n", tabs, fp_fmt ? fp_fmt : "%g"); in CeedVectorViewRange()
1106 …for (CeedSize i = start; step > 0 ? (i < stop) : (i > stop); i += step) fprintf(stream, fmt, x[i]); in CeedVectorViewRange()