Searched refs:format (Results 76 - 100 of 6114) sorted by relevance

1234567891011>>

/external/chromium_org/base/strings/
H A Dstringprintf.cc25 const char* format,
27 return base::vsnprintf(buffer, buf_size, format, argptr);
33 const wchar_t* format,
35 return base::vswprintf(buffer, buf_size, format, argptr);
43 const typename StringType::value_type* format,
56 int result = vsnprintfT(stack_buf, arraysize(stack_buf), format, ap_copy);
98 result = vsnprintfT(&mem_buf[0], mem_length, format, ap_copy);
111 std::string StringPrintf(const char* format, ...) { argument
113 va_start(ap, format);
115 StringAppendV(&result, format, a
23 vsnprintfT(char* buffer, size_t buf_size, const char* format, va_list argptr) argument
31 vsnprintfT(wchar_t* buffer, size_t buf_size, const wchar_t* format, va_list argptr) argument
42 StringAppendVT(StringType* dst, const typename StringType::value_type* format, va_list ap) argument
121 StringPrintf(const wchar_t* format, ...) argument
131 StringPrintV(const char* format, va_list ap) argument
137 SStringPrintf(std::string* dst, const char* format, ...) argument
147 SStringPrintf(std::wstring* dst, const wchar_t* format, ...) argument
158 StringAppendF(std::string* dst, const char* format, ...) argument
166 StringAppendF(std::wstring* dst, const wchar_t* format, ...) argument
174 StringAppendV(std::string* dst, const char* format, va_list ap) argument
179 StringAppendV(std::wstring* dst, const wchar_t* format, va_list ap) argument
[all...]
/external/bison/lib/
H A Dasnprintf.c25 asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) argument
30 va_start (args, format);
31 result = vasnprintf (resultbuf, lengthp, format, args);
H A Dprintf.c30 printf (const char *format, ...) argument
35 va_start (args, format);
36 retval = vfprintf (stdout, format, args);
/external/chromium_org/base/allocator/
H A Dunittest_utils.cc10 inline int snprintf(char* buffer, size_t count, const char* format, ...) { argument
13 va_start(args, format);
14 result = _vsnprintf(buffer, count, format, args);
/external/chromium_org/skia/ext/
H A Dgoogle_logging.cc14 const char* format, ...) {
16 va_start(ap, format);
19 base::StringAppendV(&msg, format, ap);
13 SkDebugf_FileLine(const char* file, int line, bool fatal, const char* format, ...) argument
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_tile_image.h36 enum pipe_format format,
45 enum pipe_format format,
52 enum pipe_format format,
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/
H A Dsvga_format.h41 enum pipe_format format,
46 SVGA3dSurfaceFormat format,
50 svga_format_size(SVGA3dSurfaceFormat format,
/external/chromium_org/third_party/re2/util/
H A Dstringprintf.cc9 static void StringAppendV(string* dst, const char* format, va_list ap) { argument
18 int result = vsnprintf(space, sizeof(space), format, backup_ap);
41 result = vsnprintf(buf, length, format, backup_ap);
54 string StringPrintf(const char* format, ...) { argument
56 va_start(ap, format);
58 StringAppendV(&result, format, ap);
63 void SStringPrintf(string* dst, const char* format, ...) { argument
65 va_start(ap, format);
67 StringAppendV(dst, format, ap);
71 void StringAppendF(string* dst, const char* format, argument
[all...]
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbitmap_glyph.cc29 int32_t format) {
32 builder.Attach(Builder::CreateGlyphBuilder(data, format));
39 BitmapGlyph::BitmapGlyph(ReadableFontData* data, int32_t format) argument
40 : SubTable(data), format_(format) {
51 int32_t format) {
53 switch (format) {
61 builder = new SimpleBitmapGlyph::Builder(data, format);
65 builder = new CompositeBitmapGlyph::Builder(data, format);
71 BitmapGlyph::Builder::Builder(WritableFontData* data, int32_t format) argument
72 : SubTable::Builder(data), format_(format) {
28 CreateGlyph(ReadableFontData* data, int32_t format) argument
50 CreateGlyphBuilder(ReadableFontData* data, int32_t format) argument
75 Builder(ReadableFontData* data, int32_t format) argument
[all...]
/external/libunwind/src/ptrace/
H A D_UPT_create.c40 ui->edi.di_cache.format = -1;
41 ui->edi.di_debug.format = -1;
43 ui->edi.ktab.format = -1;
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_tile_image.h36 enum pipe_format format,
45 enum pipe_format format,
52 enum pipe_format format,
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_format.h41 enum pipe_format format,
46 SVGA3dSurfaceFormat format,
50 svga_format_size(SVGA3dSurfaceFormat format,
/external/regex-re2/util/
H A Dstringprintf.cc9 static void StringAppendV(string* dst, const char* format, va_list ap) { argument
18 int result = vsnprintf(space, sizeof(space), format, backup_ap);
41 result = vsnprintf(buf, length, format, backup_ap);
54 string StringPrintf(const char* format, ...) { argument
56 va_start(ap, format);
58 StringAppendV(&result, format, ap);
63 void SStringPrintf(string* dst, const char* format, ...) { argument
65 va_start(ap, format);
67 StringAppendV(dst, format, ap);
71 void StringAppendF(string* dst, const char* format, argument
[all...]
/external/sfntly/cpp/src/sfntly/table/bitmap/
H A Dbitmap_glyph.cc29 int32_t format) {
32 builder.Attach(Builder::CreateGlyphBuilder(data, format));
39 BitmapGlyph::BitmapGlyph(ReadableFontData* data, int32_t format) argument
40 : SubTable(data), format_(format) {
51 int32_t format) {
53 switch (format) {
61 builder = new SimpleBitmapGlyph::Builder(data, format);
65 builder = new CompositeBitmapGlyph::Builder(data, format);
71 BitmapGlyph::Builder::Builder(WritableFontData* data, int32_t format) argument
72 : SubTable::Builder(data), format_(format) {
28 CreateGlyph(ReadableFontData* data, int32_t format) argument
50 CreateGlyphBuilder(ReadableFontData* data, int32_t format) argument
75 Builder(ReadableFontData* data, int32_t format) argument
[all...]
/external/deqp/modules/gles3/functional/
H A Des3fCompressedTextureTests.cpp45 static const string getASTCFormatShortName (CompressedTexture::Format format) argument
47 DE_ASSERT(tcu::isASTCFormat(format));
48 const IVec3 blockSize = tcu::getASTCBlockSize(format);
51 return de::toString(blockSize.x()) + "x" + de::toString(blockSize.y()) + (tcu::isASTCSRGBFormat(format) ? "_srgb" : "");
80 const CompressedTexture::Format format = (CompressedTexture::Format)formatI; local
82 if (!tcu::isASTCFormat(format))
84 if (tcu::isASTCSRGBFormat(format) && isBlockTestTypeHDROnly(astcTestType))
87 testTypeGroup->addChild(new ASTCBlockCase2D(m_context, getASTCFormatShortName(format).c_str(), glu::getCompressedTexFormatName(glu::getGLFormat(format)), astcTestType, format));
99 const CompressedTexture::Format format = (CompressedTexture::Format)formatI; local
[all...]
/external/chromium_org/cc/resources/
H A Dplatform_color.h28 // Returns the most efficient texture format for this platform.
40 // Return true if the given texture format has the same component order
42 static bool SameComponentOrder(ResourceFormat format) { argument
45 return format == RGBA_8888 || format == RGBA_4444;
47 return format == BGRA_8888 || format == RGBA_4444;
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dlog.c14 void nacl_io_log(const char* format, ...) { argument
26 va_start(args, format);
27 int len = vsnprintf(NULL, 0, format, args);
31 va_start(args, format);
32 vsnprintf(output, len + 1, format, args);
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/
H A Dstringprintf.h1 // Protocol Buffers - Google's data interchange format
53 LIBPROTOBUF_EXPORT extern string StringPrintf(const char* format, ...);
56 LIBPROTOBUF_EXPORT extern const string& SStringPrintf(string* dst, const char* format, ...);
59 LIBPROTOBUF_EXPORT extern void StringAppendF(string* dst, const char* format, ...);
63 LIBPROTOBUF_EXPORT extern void StringAppendV(string* dst, const char* format, va_list ap);
71 LIBPROTOBUF_EXPORT extern string StringPrintfVector(const char* format, const vector<string>& v);
/external/chromium_org/v8/src/arm64/
H A Ddisasm-arm64.h34 void Format(Instruction* instr, const char* mnemonic, const char* format);
36 int SubstituteField(Instruction* instr, const char* format);
37 int SubstituteRegisterField(Instruction* instr, const char* format);
38 int SubstituteImmediateField(Instruction* instr, const char* format);
39 int SubstituteLiteralField(Instruction* instr, const char* format);
40 int SubstituteBitfieldImmediateField(Instruction* instr, const char* format);
41 int SubstituteShiftField(Instruction* instr, const char* format);
42 int SubstituteExtendField(Instruction* instr, const char* format);
43 int SubstituteConditionField(Instruction* instr, const char* format);
44 int SubstitutePCRelAddressField(Instruction* instr, const char* format);
[all...]
/external/vixl/src/a64/
H A Ddisasm-a64.h53 void Format(Instruction* instr, const char* mnemonic, const char* format);
55 int SubstituteField(Instruction* instr, const char* format);
56 int SubstituteRegisterField(Instruction* instr, const char* format);
57 int SubstituteImmediateField(Instruction* instr, const char* format);
58 int SubstituteLiteralField(Instruction* instr, const char* format);
59 int SubstituteBitfieldImmediateField(Instruction* instr, const char* format);
60 int SubstituteShiftField(Instruction* instr, const char* format);
61 int SubstituteExtendField(Instruction* instr, const char* format);
62 int SubstituteConditionField(Instruction* instr, const char* format);
63 int SubstitutePCRelAddressField(Instruction* instr, const char* format);
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/
H A Du_format.h42 * Describe how to pack/unpack pixels into/from the prescribed format.
137 enum pipe_format format; member in struct:util_format_description
164 * Whether the pixel format can be described as a bitfield structure.
389 util_format_description(enum pipe_format format);
397 util_format_name(enum pipe_format format) argument
399 const struct util_format_description *desc = util_format_description(format);
410 util_format_short_name(enum pipe_format format) argument
412 const struct util_format_description *desc = util_format_description(format);
423 * Whether this format is plain, see UTIL_FORMAT_LAYOUT_PLAIN for more info.
426 util_format_is_plain(enum pipe_format format) argument
438 util_format_is_compressed(enum pipe_format format) argument
458 util_format_is_s3tc(enum pipe_format format) argument
471 util_format_is_srgb(enum pipe_format format) argument
492 util_format_is_depth_or_stencil(enum pipe_format format) argument
506 util_format_is_depth_and_stencil(enum pipe_format format) argument
649 util_format_get_blocksizebits(enum pipe_format format) argument
665 util_format_get_blocksize(enum pipe_format format) argument
675 util_format_get_blockwidth(enum pipe_format format) argument
688 util_format_get_blockheight(enum pipe_format format) argument
701 util_format_get_nblocksx(enum pipe_format format, unsigned x) argument
709 util_format_get_nblocksy(enum pipe_format format, unsigned y) argument
717 util_format_get_nblocks(enum pipe_format format, unsigned width, unsigned height) argument
725 util_format_get_stride(enum pipe_format format, unsigned width) argument
732 util_format_get_2d_size(enum pipe_format format, size_t stride, unsigned height) argument
740 util_format_get_component_bits(enum pipe_format format, enum util_format_colorspace colorspace, uint component) argument
783 util_format_has_alpha(enum pipe_format format) argument
811 util_format_srgb(enum pipe_format format) argument
850 util_format_linear(enum pipe_format format) argument
889 util_format_stencil_only(enum pipe_format format) argument
918 util_format_get_nr_components(enum pipe_format format) argument
929 util_format_get_first_non_void_channel(enum pipe_format format) argument
[all...]
/external/mesa3d/src/gallium/auxiliary/util/
H A Du_format.h42 * Describe how to pack/unpack pixels into/from the prescribed format.
137 enum pipe_format format; member in struct:util_format_description
164 * Whether the pixel format can be described as a bitfield structure.
389 util_format_description(enum pipe_format format);
397 util_format_name(enum pipe_format format) argument
399 const struct util_format_description *desc = util_format_description(format);
410 util_format_short_name(enum pipe_format format) argument
412 const struct util_format_description *desc = util_format_description(format);
423 * Whether this format is plain, see UTIL_FORMAT_LAYOUT_PLAIN for more info.
426 util_format_is_plain(enum pipe_format format) argument
438 util_format_is_compressed(enum pipe_format format) argument
458 util_format_is_s3tc(enum pipe_format format) argument
471 util_format_is_srgb(enum pipe_format format) argument
492 util_format_is_depth_or_stencil(enum pipe_format format) argument
506 util_format_is_depth_and_stencil(enum pipe_format format) argument
649 util_format_get_blocksizebits(enum pipe_format format) argument
665 util_format_get_blocksize(enum pipe_format format) argument
675 util_format_get_blockwidth(enum pipe_format format) argument
688 util_format_get_blockheight(enum pipe_format format) argument
701 util_format_get_nblocksx(enum pipe_format format, unsigned x) argument
709 util_format_get_nblocksy(enum pipe_format format, unsigned y) argument
717 util_format_get_nblocks(enum pipe_format format, unsigned width, unsigned height) argument
725 util_format_get_stride(enum pipe_format format, unsigned width) argument
732 util_format_get_2d_size(enum pipe_format format, size_t stride, unsigned height) argument
740 util_format_get_component_bits(enum pipe_format format, enum util_format_colorspace colorspace, uint component) argument
783 util_format_has_alpha(enum pipe_format format) argument
811 util_format_srgb(enum pipe_format format) argument
850 util_format_linear(enum pipe_format format) argument
889 util_format_stencil_only(enum pipe_format format) argument
918 util_format_get_nr_components(enum pipe_format format) argument
929 util_format_get_first_non_void_channel(enum pipe_format format) argument
[all...]
/external/chromium_org/tools/grit/grit/
H A Dtest_suite_all.py34 import grit.format.android_xml_unittest namespace
35 import grit.format.c_format_unittest namespace
36 import grit.format.chrome_messages_json_unittest namespace
37 import grit.format.data_pack_unittest namespace
38 import grit.format.html_inline_unittest namespace
39 import grit.format.js_map_format_unittest namespace
40 import grit.format.rc_header_unittest namespace
41 import grit.format.rc_unittest namespace
42 import grit.format.resource_map_unittest namespace
43 import grit.format namespace
44 import grit.format.policy_templates.writers.adm_writer_unittest namespace
45 import grit.format.policy_templates.writers.adml_writer_unittest namespace
46 import grit.format.policy_templates.writers.admx_writer_unittest namespace
47 import grit.format.policy_templates.writers.doc_writer_unittest namespace
48 import grit.format.policy_templates.writers.ios_plist_writer_unittest namespace
49 import grit.format.policy_templates.writers.json_writer_unittest namespace
50 import grit.format.policy_templates.writers.plist_strings_writer_unittest namespace
51 import grit.format.policy_templates.writers.plist_writer_unittest namespace
52 import grit.format.policy_templates.writers.reg_writer_unittest namespace
53 import grit.format.policy_templates.writers.template_writer_unittest namespace
54 import grit.format.policy_templates.writers.xml_writer_base_unittest namespace
[all...]
/external/clang/unittests/Format/
H A DFormatTest.cpp15 #define DEBUG_TYPE "format-test"
18 namespace format { namespace in namespace:clang
26 std::string format(llvm::StringRef Code, unsigned Offset, unsigned Length, function in class:clang::format::FormatTest
40 format(llvm::StringRef Code, const FormatStyle &Style = getLLVMStyle()) { function in class:clang::format::FormatTest
41 return format(Code, 0, Code.size(), Style);
58 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style));
86 EXPECT_EQ(";", format(";"));
90 EXPECT_EQ("int i;", format(" int i;"));
91 EXPECT_EQ("\nint i;", format(" \n\t \v \f int i;"));
92 EXPECT_EQ("int i;\nint j;", format(" in
[all...]
/external/llvm/utils/testgen/
H A Dmc-bundling-x86-gen.py30 '''.format(BUNDLE_SIZE_POW2).lstrip()
36 print(' .bundle_lock{0}'.format(' align_to_end' if align_to_end else ''))
37 print(' .rept {0}'.format(len))
50 print(ALIGNTO.format(2 * BUNDLE_SIZE))
51 print('INSTRLEN_{0}_OFFSET_{1}:'.format(instlen, offset))
53 print(NOPFILL.format(offset))
62 print('# CHECK: {0:x}: nop'.format(inst_orig_offset))
64 print('# CHECK: {0:x}: nop'.format(nop_split_offset))
65 print('# CHECK: {0:x}: incl'.format(adjusted_offset))
67 print('# CHECK: {0:x}: incl'.format(inst_orig_offse
[all...]

Completed in 642 milliseconds

1234567891011>>