Home
last modified time | relevance | path

Searched refs:fmt_string (Results 1 – 13 of 13) sorted by relevance

/aosp_15_r20/external/pytorch/torch/distributions/
H A Dconstraints.py303 fmt_string = self.__class__.__name__[1:]
304 fmt_string += (
307 return fmt_string
325 fmt_string = self.__class__.__name__[1:]
326 fmt_string += f"(upper_bound={self.upper_bound})"
327 return fmt_string
345 fmt_string = self.__class__.__name__[1:]
346 fmt_string += f"(lower_bound={self.lower_bound})"
347 return fmt_string
372 fmt_string = self.__class__.__name__[1:]
[all …]
H A Dtransforms.py393 fmt_string = self.__class__.__name__ + "(\n "
394 fmt_string += ",\n ".join([p.__repr__() for p in self.parts])
395 fmt_string += "\n)"
396 return fmt_string
/aosp_15_r20/external/mesa3d/src/gfxstream/guest/vulkan/
H A Dgfxstream_vk_fuchsia.cpp74 char fmt_string[kFormatStringLength]; in gfxstream_fuchsia_log() local
75 fmt_string[kFormatStringLength - 1] = 0; in gfxstream_fuchsia_log()
79 int count = vsnprintf(fmt_string, n, format, va) + 1; in gfxstream_fuchsia_log()
89 snprintf(fmt_string + kFormatStringLength - 1 - kEllipsisSize, kEllipsisSize, kEllipsis); in gfxstream_fuchsia_log()
95 buffer.BeginRecord(severity, CStringToStringView(file), line, fmt_string, g_log_socket.borrow(), in gfxstream_fuchsia_log()
/aosp_15_r20/external/pytorch/torch/
H A Dquasirandom.py212 fmt_string = [f"dimension={self.dimension}"]
214 fmt_string += ["scramble=True"]
216 fmt_string += [f"seed={self.seed}"]
217 return self.__class__.__name__ + "(" + ", ".join(fmt_string) + ")"
/aosp_15_r20/external/clang/tools/scan-build-py/libscanbuild/
H A D__init__.py49 fmt_string = '{0}: %(levelname)s: %(message)s'
51 fmt_string = '{0}: %(levelname)s: %(funcName)s: %(message)s'
54 logging.basicConfig(format=fmt_string.format(program), level=level)
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/lib/libscanbuild/
D__init__.py100 fmt_string = "%(name)s: %(levelname)s: %(message)s"
102 fmt_string = "%(name)s: %(levelname)s: %(funcName)s: %(message)s"
104 handler.setFormatter(logging.Formatter(fmt=fmt_string))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/lib/libscanbuild/
D__init__.py100 fmt_string = "%(name)s: %(levelname)s: %(message)s"
102 fmt_string = "%(name)s: %(levelname)s: %(funcName)s: %(message)s"
104 handler.setFormatter(logging.Formatter(fmt=fmt_string))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/lib/libscanbuild/
D__init__.py100 fmt_string = "%(name)s: %(levelname)s: %(message)s"
102 fmt_string = "%(name)s: %(levelname)s: %(funcName)s: %(message)s"
104 handler.setFormatter(logging.Formatter(fmt=fmt_string))
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/lib/libscanbuild/
D__init__.py100 fmt_string = "%(name)s: %(levelname)s: %(message)s"
102 fmt_string = "%(name)s: %(levelname)s: %(funcName)s: %(message)s"
104 handler.setFormatter(logging.Formatter(fmt=fmt_string))
/aosp_15_r20/external/autotest/client/common_lib/
H A Dtime_utils.py58 def epoch_time_to_date_string(epoch_time, fmt_string=TIME_FMT): argument
70 int(epoch_time)).strftime(fmt_string)
/aosp_15_r20/external/rust/android-crates-io/crates/darling/examples/
Dconsume_fields.rs70 let fmt_string = fields in to_tokens() localVariable
120 write!(writer, #fmt_string, #(#field_list),*) in to_tokens()
/aosp_15_r20/external/e2fsprogs/e2fsck/
H A De2fsck.h665 extern void fatal_error(e2fsck_t ctx, const char * fmt_string);
/aosp_15_r20/bionic/tests/
H A Dstdio_test.cpp578 const T* fmt_string, const T* fmt, const T* fmt_plus, in CheckInfNan() argument
629 snprintf_fn(buf, sizeof(buf), fmt_string, "[InFiNiTy]"); in CheckInfNan()
632 snprintf_fn(buf, sizeof(buf), fmt_string, "[NaN]"); in CheckInfNan()