/external/protobuf/src/google/protobuf/stubs/ |
H A D | stringprintf.cc | 1 // Protocol Buffers - Google's data interchange format 55 void StringAppendV(string* dst, const char* format, va_list ap) { argument 65 int result = vsnprintf(space, kSpaceLength, format, backup_ap); 79 result = vsnprintf(NULL, 0, format, backup_ap); 96 result = vsnprintf(buf, length, format, backup_ap); 107 string StringPrintf(const char* format, ...) { argument 109 va_start(ap, format); 111 StringAppendV(&result, format, ap); 116 const string& SStringPrintf(string* dst, const char* format, ...) { argument 118 va_start(ap, format); 125 StringAppendF(string* dst, const char* format, ...) argument 140 StringPrintfVector(const char* format, const vector<string>& v) argument [all...] |
/external/sfntly/cpp/src/sfntly/table/bitmap/ |
H A D | composite_bitmap_glyph.cc | 24 int32_t format) 25 : BitmapGlyph(data, format) { 26 Initialize(format); 46 void CompositeBitmapGlyph::Initialize(int32_t format) { argument 47 if (format == 8) { 50 } else if (format == 9) { 56 "with a non-composite format."); 92 CompositeBitmapGlyph::Builder::Builder(ReadableFontData* data, int32_t format) argument 93 : BitmapGlyph::Builder(data, format) { 96 CompositeBitmapGlyph::Builder::Builder(WritableFontData* data, int32_t format) argument 23 CompositeBitmapGlyph(ReadableFontData* data, int32_t format) argument [all...] |
/external/mesa3d/src/amd/vulkan/ |
H A D | vk_format.h | 121 VkFormat format; member in struct:vk_format_description 142 const struct vk_format_description *vk_format_description(VkFormat format); 145 * Return total bits needed for the pixel format per block. 148 vk_format_get_blocksizebits(VkFormat format) argument 150 const struct vk_format_description *desc = vk_format_description(format); 161 * Return bytes per block (not pixel) for the given format. 164 vk_format_get_blocksize(VkFormat format) argument 166 unsigned bits = vk_format_get_blocksizebits(format); 179 vk_format_get_blockwidth(VkFormat format) argument 181 const struct vk_format_description *desc = vk_format_description(format); 192 vk_format_get_blockheight(VkFormat format) argument 209 vk_format_get_first_non_void_channel(VkFormat format) argument 236 vk_format_aspects(VkFormat format) argument 308 vk_format_is_compressed(VkFormat format) argument 345 vk_format_is_depth_or_stencil(VkFormat format) argument 359 vk_format_is_depth(VkFormat format) argument 372 vk_format_is_color(VkFormat format) argument 378 vk_format_depth_only(VkFormat format) argument 393 vk_format_is_int(VkFormat format) argument 402 vk_format_stencil_only(VkFormat format) argument 408 vk_format_get_component_bits(VkFormat format, enum vk_format_colorspace colorspace, unsigned component) argument [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/ |
H A D | Preconditions.java | 42 if (opcode.format != expectedFormat) { 44 String.format("Invalid opcode %s for %s", opcode.name, expectedFormat.name())); 51 String.format("Invalid register: v%d. Must be between v0 and v15, inclusive.", register)); 59 String.format("Invalid register: v%d. Must be between v0 and v255, inclusive.", register)); 67 String.format("Invalid register: v%d. Must be between v0 and v65535, inclusive.", register)); 75 String.format("Invalid literal value: %d. Must be between -8 and 7, inclusive.", literal)); 83 String.format("Invalid literal value: %d. Must be between -128 and 127, inclusive.", literal)); 91 String.format("Invalid literal value: %d. Must be between -32768 and 32767, inclusive.", literal)); 99 String.format("Invalid literal value: %d. Low 16 bits must be zeroed out.", literal)); 107 String.format("Invali [all...] |
/external/libcups/cups/ |
H A D | debug.c | 87 _cups_debug_printf(const char *format, /* I - Printf-style format string */ argument 112 if (isdigit(format[0])) 113 level = *format++ - '0'; 125 result = regexec(debug_filter, format, 0, NULL, 0); 142 va_start(ap, format); 143 bytes = _cups_safe_vsnprintf(buffer + 19, sizeof(buffer) - 20, format, ap) + 19; 333 const char *format, /* I - printf-style format string */ 342 char tformat[100], /* Temporary format strin 330 _cups_safe_vsnprintf( char *buffer, size_t bufsize, const char *format, va_list ap) argument [all...] |
/external/clang/test/CodeGen/Inputs/ |
H A D | stdio.h | 2 extern int vfprintf(struct FILE *s, const char *format, __builtin_va_list arg); 3 extern int vprintf(const char *format, __builtin_va_list arg);
|
/external/clang/test/Lexer/ |
H A D | gnu-flags.c | 26 #define efoo(format, args...) foo(format , ##args)
|
/external/clang/tools/clang-format/fuzzer/ |
H A D | ClangFormatFuzzer.cpp | 1 //===-- ClangFormatFuzzer.cpp - Fuzz the Clang format tool ----------------===// 11 /// \brief This file implements a function that runs Clang format on a single 21 auto Style = getGoogleStyle(clang::format::FormatStyle::LK_Cpp); 23 applyAllReplacements(s, clang::format::reformat(
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
H A D | Formatter.java | 33 public abstract String format(T object); method in class:Formatter 38 * to {@link #format(Object)}. 40 * @deprecated Call {@link #format(T)} instead. This method exists to make 46 return format(object);
|
/external/deqp/framework/common/ |
H A D | tcuRenderTarget.cpp | 39 RenderTarget::RenderTarget (int width, int height, const PixelFormat& format, int depthBits, int stencilBits, int numSamples) argument 42 , m_pixelFormat (format)
|
/external/e2fsprogs/intl/ |
H A D | vasnwprintf.h | 39 extern wchar_t * asnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, ...); 40 extern wchar_t * vasnwprintf (wchar_t *resultbuf, size_t *lengthp, const wchar_t *format, va_list args);
|
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
H A D | Platform.java | 33 static String format(String template, Object... args) { method in class:Platform 34 return String.format(template, args);
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/duration/ |
H A D | DateFormatter.java | 29 String format(Date date); method in interface:DateFormatter 37 String format(long date); method in interface:DateFormatter
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/duration/ |
H A D | DateFormatter.java | 27 String format(Date date); method in interface:DateFormatter 35 String format(long date); method in interface:DateFormatter
|
/external/libcxxabi/src/ |
H A D | abort_message.h | 22 void abort_message(const char* format, ...) 23 __attribute__((format(printf, 1, 2)));
|
/external/libexif/libexif/ |
H A D | exif-format.h | 1 /*! \file exif-format.h 49 * \param[in] format EXIF data format 52 const char *exif_format_get_name (ExifFormat format); 56 * \param[in] format EXIF data format 59 unsigned char exif_format_get_size (ExifFormat format);
|
/external/mesa3d/src/gallium/auxiliary/translate/ |
H A D | translate.c | 52 boolean translate_is_output_format_supported(enum pipe_format format) argument 54 return translate_generic_is_output_format_supported(format);
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | HttpDate.java | 34 * Most websites serve cookies in the blessed format. Eagerly create the parser to ensure such 40 // RFC 2616 specified: RFC 822, updated by RFC 1123 format with fixed GMT. 48 /** If we fail to parse a date in a non-standard format, try each of these formats in sequence. */ 53 "EEE MMM d HH:mm:ss yyyy", // ANSI C's asctime() format 67 /* RI bug 6641315 claims a cookie of this format was once served by www.yahoo.com */ 89 DateFormat format = BROWSER_COMPATIBLE_DATE_FORMATS[i]; 90 if (format == null) { 91 format = new SimpleDateFormat(BROWSER_COMPATIBLE_DATE_FORMAT_STRINGS[i], Locale.US); 94 format.setTimeZone(GMT); 95 BROWSER_COMPATIBLE_DATE_FORMATS[i] = format; 113 public static String format(Date value) { method in class:HttpDate [all...] |
/external/selinux/libsepol/cil/src/ |
H A D | cil_log.h | 38 __attribute__ ((format(printf, 2, 0))) void cil_vlog(enum cil_log_level lvl, const char *msg, va_list args); 39 __attribute__ ((format(printf, 2, 3))) void cil_log(enum cil_log_level lvl, const char *msg, ...);
|
/external/slf4j/slf4j-android/src/main/java/org/slf4j/impl/ |
H A D | AndroidLoggerAdapter.java | 113 * Log a message at level VERBOSE according to the specified format and 121 * @param format 122 * the format string 126 public void trace(String format, Object arg) { argument 127 formatAndLog(Log.VERBOSE, format, arg); 131 * Log a message at level VERBOSE according to the specified format and 139 * @param format 140 * the format string 146 public void trace(String format, Object arg1, Object arg2) { argument 147 formatAndLog(Log.VERBOSE, format, arg 164 trace(String format, Object... argArray) argument 212 debug(String format, Object arg) argument 232 debug(String format, Object arg1, Object arg2) argument 250 debug(String format, Object... argArray) argument 298 info(String format, Object arg) argument 318 info(String format, Object arg1, Object arg2) argument 336 info(String format, Object... argArray) argument 387 warn(String format, Object arg) argument 407 warn(String format, Object arg1, Object arg2) argument 425 warn(String format, Object... argArray) argument 475 error(String format, Object arg) argument 495 error(String format, Object arg1, Object arg2) argument 513 error(String format, Object... argArray) argument 530 formatAndLog(int priority, String format, Object... argArray) argument [all...] |
/external/deqp/framework/qphelper/ |
H A D | qpDebugOut.c | 48 void qpPrintf (const char* format, ...) argument 51 va_start(args, format); 52 printFmt(MESSAGETYPE_INFO, format, args); 56 void qpPrintv (const char* format, va_list args) argument 58 printFmt(MESSAGETYPE_INFO, format, args); 61 void qpDief (const char* format, ...) argument 64 va_start(args, format); 65 printFmt(MESSAGETYPE_ERROR, format, args); 71 void qpDiev (const char* format, va_list args) argument 73 printFmt(MESSAGETYPE_ERROR, format, arg 97 printFmt(MessageType type, const char* format, va_list args) argument 99 __android_log_vprint(getLogPriority(type), "dEQP", format, args); local 128 printFmt(MessageType type, const char* format, va_list args) argument [all...] |
/external/devlib/devlib/module/ |
H A D | cpufreq.py | 56 cpu = 'cpu{}'.format(cpu) 57 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_available_governors'.format(cpu) 64 cpu = 'cpu{}'.format(cpu) 65 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_governor'.format(cpu) 90 cpu = 'cpu{}'.format(cpu) 93 raise TargetError('Governor {} not supported for cpu {}'.format(governor, cpu)) 94 sysfile = '/sys/devices/system/cpu/{}/cpufreq/scaling_governor'.format(cpu) 101 cpu = 'cpu{}'.format(cpu) 105 tunables_path = '/sys/devices/system/cpu/{}/cpufreq/{}'.format(cpu, governor) 109 tunables_path = '/sys/devices/system/cpu/cpufreq/{}'.format(governo [all...] |
/external/bison/lib/ |
H A D | obstack_printf.c | 36 obstack_printf (struct obstack *obs, const char *format, ...) argument 41 va_start (args, format); 42 result = obstack_vprintf (obs, format, args); 54 obstack_vprintf (struct obstack *obs, const char *format, va_list args) argument 71 str = vasnprintf (base, &len, format, args);
|
/external/icu/icu4c/source/tools/tzcode/ |
H A D | scheck.c | 11 scheck(const char *const string, const char *const format) argument 21 if (string == NULL || format == NULL) 23 fbuf = malloc(2 * strlen(format) + 4); 26 fp = format; 61 result = format;
|
/external/junit/src/main/java/org/junit/experimental/theories/ |
H A D | PotentialAssignment.java | 3 import static java.lang.String.format; 26 return format("[%s]", value); 37 valueString = format("\"%s\"", value); 39 valueString = format("[toString() threw %s: %s]", 44 return format("%s <from %s>", valueString, name);
|