/external/chromium_org/ppapi/shared_impl/ |
H A D | flash_clipboard_format_registry.cc | 23 // The first custom format ID will be the ID after that max value in 27 // Checks the validity of the given format name. 53 uint32_t format) { 54 custom_formats_[format] = format_name; 57 bool FlashClipboardFormatRegistry::IsFormatRegistered(uint32_t format) const { 58 return custom_formats_.find(format) != custom_formats_.end(); 61 std::string FlashClipboardFormatRegistry::GetFormatName(uint32_t format) const { 62 FormatMap::const_iterator it = custom_formats_.find(format); 80 bool FlashClipboardFormatRegistry::IsValidPredefinedFormat(uint32_t format) { argument 81 if (format 51 SetRegisteredFormat( const std::string& format_name, uint32_t format) argument [all...] |
H A D | flash_clipboard_format_registry.h | 20 // have been registered but format registration is tracked on the plugin 27 // Registers a custom format with the given string. The ID of the format is 29 // PP_FLASH_CLIPBOARD_FORMAT_INVALID is returned. If a format with a 31 // will be returned. The format name is checked for validity. 34 // This sets the name of a particular format in the registry. This is only 35 // used on the plugin side in order to track format IDs that are returned 37 void SetRegisteredFormat(const std::string& format_name, uint32_t format); 39 // Checks whether the given custom format ID has been registered. 40 bool IsFormatRegistered(uint32_t format) cons [all...] |
H A D | ppb_image_data_shared.cc | 40 PP_ImageDataFormat format) { 41 return PP_FromBool(format == PP_IMAGEDATAFORMAT_BGRA_PREMUL || 42 format == PP_IMAGEDATAFORMAT_RGBA_PREMUL); 48 return PP_FromBool(IsImageDataFormatSupported(desc.format) && 39 IsImageDataFormatSupported( PP_ImageDataFormat format) argument
|
/external/chromium_org/remoting/host/ |
H A D | mouse_clamping_filter.cc | 25 if (video_packet->format().has_screen_width() && 26 video_packet->format().has_screen_height()) { 28 webrtc::DesktopSize(video_packet->format().screen_width(), 29 video_packet->format().screen_height());
|
/external/chromium_org/third_party/WebKit/Source/core/css/resolver/ |
H A D | StyleResolverStats.cpp | 64 output.append(String::format(" %u elements were added to the sharing candidate list.\n", sharedStyleCandidates)); 65 output.append(String::format(" %u calls were made to findSharedStyle, %u found a candidate to share with (%.2f%%).\n", sharedStyleLookups, sharedStyleFound, PERCENT(sharedStyleFound, sharedStyleLookups))); 67 output.append(String::format(" %u candidates could have matched but were not in the list when searching (%.2f%%).\n", sharedStyleMissed, PERCENT(sharedStyleMissed, sharedStyleLookups))); 68 output.append(String::format(" %u of found styles were rejected (%.2f%%), %.2f%% by uncommon attribute rules, %.2f%% by sibling rules and %.2f%% by parents disabling sharing.\n", 74 output.append(String::format(" %u of found styles were used for sharing (%.2f%%).\n", sharedStylesUsed, PERCENT(sharedStylesUsed, sharedStyleFound))); 75 output.append(String::format(" %.2f%% of calls to findSharedStyle returned a shared style.\n", PERCENT(sharedStylesUsed, sharedStyleLookups))); 80 output.append(String::format(" %u calls to applyMatchedProperties, %u hit the cache (%.2f%%).\n", matchedPropertyApply, matchedPropertyCacheHit, PERCENT(matchedPropertyCacheHit, matchedPropertyApply))); 81 output.append(String::format(" %u cache hits also shared the inherited style (%.2f%%).\n", matchedPropertyCacheInheritedHit, PERCENT(matchedPropertyCacheInheritedHit, matchedPropertyCacheHit))); 82 output.append(String::format(" %u styles created in applyMatchedProperties were added to the cache (%.2f%%).\n", matchedPropertyCacheAdded, PERCENT(matchedPropertyCacheAdded, matchedPropertyApply)));
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/common/ |
H A D | UIString.js | 53 * @param {string} format 55 WebInspector.UIStringFormat = function(format) 58 this._localizedFormat = WebInspector.localize(format); 78 format: function(vararg) 80 return String.format(this._localizedFormat, arguments,
|
/external/chromium_org/third_party/angle/src/common/ |
H A D | debug.cpp | 26 static void output(bool traceFileDebugOnly, PerfOutputFunction perfFunc, const char *format, va_list vararg) argument 29 std::string formattedMessage = FormatString(format, vararg); 66 void trace(bool traceFileDebugOnly, const char *format, ...) argument 69 va_start(vararg, format); 71 output(traceFileDebugOnly, D3DPERF_SetMarker, format, vararg); 73 output(traceFileDebugOnly, NULL, format, vararg); 88 ScopedPerfEventHelper::ScopedPerfEventHelper(const char* format, ...) argument 98 va_start(vararg, format); 99 output(true, reinterpret_cast<PerfOutputFunction>(D3DPERF_BeginEvent), format, vararg);
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_debug.h | 61 lp_build_name(LLVMValueRef val, const char *format, ...) argument 66 va_start(ap, format); 67 util_vsnprintf(name, sizeof name, format, ap); 72 (void)format;
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/util/ |
H A D | u_sampler.c | 40 enum pipe_format format, 45 /* XXX: Check if format is compatible with texture->format. 48 view->format = format; 72 if (format != PIPE_FORMAT_A8_UNORM) { 73 const struct util_format_description *desc = util_format_description(format); 90 enum pipe_format format) 95 format, 102 enum pipe_format format) 38 default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format, unsigned expand_green_blue) argument 88 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument 100 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-null/ |
H A D | graw_null.c | 11 enum pipe_format format, 7 graw_create_window_and_screen( int x, int y, unsigned width, unsigned height, enum pipe_format format, void **handle) argument
|
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/fbdev/ |
H A D | fbdev_sw_winsys.h | 37 enum pipe_format format; member in struct:fbdev_sw_drawable
|
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_texfetch.h | 33 _mesa_get_texel_fetch_func(gl_format format, GLuint dims);
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/stubs/ |
H A D | substitute.cc | 1 // Protocol Buffers - Google's data interchange format 54 const char* format, 61 SubstituteAndAppend(&result, format, arg0, arg1, arg2, arg3, arg4, 67 string* output, const char* format, 79 for (int i = 0; format[i] != '\0'; i++) { 80 if (format[i] == '$') { 81 if (ascii_isdigit(format[i+1])) { 82 int index = format[i+1] - '0'; 85 << "strings::Substitute format string invalid: asked for \"$" 87 << " args were given. Full format strin 53 Substitute( const char* format, const SubstituteArg& arg0, const SubstituteArg& arg1, const SubstituteArg& arg2, const SubstituteArg& arg3, const SubstituteArg& arg4, const SubstituteArg& arg5, const SubstituteArg& arg6, const SubstituteArg& arg7, const SubstituteArg& arg8, const SubstituteArg& arg9) argument 66 SubstituteAndAppend( string* output, const char* format, const SubstituteArg& arg0, const SubstituteArg& arg1, const SubstituteArg& arg2, const SubstituteArg& arg3, const SubstituteArg& arg4, const SubstituteArg& arg5, const SubstituteArg& arg6, const SubstituteArg& arg7, const SubstituteArg& arg8, const SubstituteArg& arg9) argument [all...] |
/external/chromium_org/tools/gyp/test/custom-generator/ |
H A D | gyptest-custom-generator.py | 6 """Test that custom generators can be passed to --format 11 test = TestGyp.TestGypCustom(format='mygenerator.py')
|
/external/chromium_org/v8/test/intl/date-format/ |
H A D | timezone-name.js | 46 assertTrue(dfs.format(winter).indexOf('PST') !== -1); 47 assertTrue(dfs.format(summer).indexOf('PDT') !== -1); 52 assertTrue(dfl.format(winter).indexOf('Pacific Standard Time') !== -1); 53 assertTrue(dfl.format(summer).indexOf('Pacific Daylight Time') !== -1);
|
/external/chromium_org/v8/test/intl/overrides/ |
H A D | date.js | 40 assertEquals(dtfAll.format(date), date.toLocaleString()); 41 assertEquals(dtfDate.format(date), date.toLocaleDateString()); 42 assertEquals(dtfTime.format(date), date.toLocaleTimeString()); 53 assertEquals(dtfAll.format(date), date.toLocaleString(locale)); 54 assertEquals(dtfDate.format(date), date.toLocaleDateString(locale)); 55 assertEquals(dtfTime.format(date), date.toLocaleTimeString(locale)); 63 assertEquals(dtf.format(date), date.toLocaleString(locale, options)); 64 assertEquals(dtf.format(date), date.toLocaleDateString(locale, options)); 65 assertEquals(dtf.format(date), date.toLocaleTimeString(locale, options));
|
/external/clang/test/CodeGen/ |
H A D | 2002-06-25-FWriteInterfaceFailure.c | 5 int fprintf(FILE * restrict stream, const char * restrict format, ...);
|
H A D | 2003-10-02-UnionLValueError.c | 3 int sprintf(char * restrict str, const char * restrict format, ...);
|
/external/clang/test/Sema/ |
H A D | block-printf-attribute-1.c | 6 void (^b) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 1, 3))) = // expected-error {{format argument not a string type}} local 7 ^ __attribute__ ((__format__ (__printf__, 1, 3))) (int arg, const char * format, ...) {}; // expected-error {{format argument not a string type}} 9 void (^z) (int arg, const char * format, ...) __attribute__ ((__format__ (__printf__, 2, 3))) = ^ __attribute__ ((__format__ (__printf__, 2, 3))) (int arg, const char * format, ...) {}; local 11 z(1, "%s", 1); // expected-warning{{format specifies type 'char *' but the argument has type 'int'}} 16 // Handle block with multiple format attributes. 20 vprintf_scanf("%", ap, "%d"); // expected-warning {{incomplete format specifier}}, expected-warning {{more '%' conversions than data arguments}}
|
/external/eigen/doc/snippets/ |
H A D | IOFormat.cpp | 11 std::cout << m1.format(CommaInitFmt) << sep; 12 std::cout << m1.format(CleanFmt) << sep; 13 std::cout << m1.format(OctaveFmt) << sep; 14 std::cout << m1.format(HeavyFmt) << sep;
|
/external/fio/ |
H A D | gerror.h | 4 extern void gfio_report_error(struct gui_entry *ge, const char *format, ...);
|
/external/llvm/lib/Target/CppBackend/ |
H A D | Makefile | 16 CompileCommonOpts += -Wno-format
|
/external/mesa3d/src/gallium/auxiliary/gallivm/ |
H A D | lp_bld_debug.h | 61 lp_build_name(LLVMValueRef val, const char *format, ...) argument 66 va_start(ap, format); 67 util_vsnprintf(name, sizeof name, format, ap); 72 (void)format;
|
/external/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_sampler.c | 40 enum pipe_format format, 45 /* XXX: Check if format is compatible with texture->format. 48 view->format = format; 72 if (format != PIPE_FORMAT_A8_UNORM) { 73 const struct util_format_description *desc = util_format_description(format); 90 enum pipe_format format) 95 format, 102 enum pipe_format format) 38 default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format, unsigned expand_green_blue) argument 88 u_sampler_view_default_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument 100 u_sampler_view_default_dx9_template(struct pipe_sampler_view *view, const struct pipe_resource *texture, enum pipe_format format) argument [all...] |
/external/mesa3d/src/gallium/targets/graw-null/ |
H A D | graw_null.c | 11 enum pipe_format format, 7 graw_create_window_and_screen( int x, int y, unsigned width, unsigned height, enum pipe_format format, void **handle) argument
|