/external/mesa3d/src/mesa/drivers/dri/intel/ |
intel_tex_image.c | 111 check_pbo_format(GLenum format, GLenum type, 116 return (format == GL_BGRA && (type == GL_UNSIGNED_BYTE || 119 return (format == GL_RGB && type == GL_UNSIGNED_SHORT_5_6_5); 121 return (format == GL_LUMINANCE && type == GL_UNSIGNED_BYTE); 136 GLenum format, GLenum type, const void *pixels) 156 if (!check_pbo_format(format, type, intelImage->base.Base.TexFormat)) { 157 DBG("%s: format mismatch (upload to %s with format 0x%x, type 0x%x)\n", 159 format, type); 206 GLenum format, GLenum type, const void *pixels [all...] |
/external/llvm/tools/llvm-readobj/ |
ARMEHABIPrinter.h | 21 #include "llvm/Support/Format.h" 97 SW.startLine() << format("0x%02X ; vsp = vsp + %u\n", Opcode, 102 SW.startLine() << format("0x%02X ; vsp = vsp - %u\n", Opcode, 112 << format("0x%02X 0x%02X ; %s", 120 SW.startLine() << format("0x%02X ; reserved (ARM MOVrr)\n", Opcode); 124 SW.startLine() << format("0x%02X ; reserved (WiMMX MOVrr)\n", Opcode); 128 SW.startLine() << format("0x%02X ; vsp = r%u\n", Opcode, (Opcode & 0x0f)); 132 SW.startLine() << format("0x%02X ; pop ", Opcode); 138 SW.startLine() << format("0x%02X ; pop ", Opcode); 144 SW.startLine() << format("0x%02X ; finish\n", Opcode) [all...] |
/hardware/qcom/display/msm8084/liboverlay/ |
overlayUtils.h | 125 * The compound format passed to the overlay is 126 * ABCCC where A is the input 3D format 127 * B is the output 3D format 128 * CCC is the color format e.g YCbCr420SP YCrCb420SP etc */ 197 Whf() : w(0), h(0), format(0), size(0) {} 199 w(wi), h(he), format(f), size(0) {} 201 w(wi), h(he), format(f), size(s) {} 205 whf.format == format; 213 uint32_t format; member in struct:overlay::utils::Whf [all...] |
/bionic/libc/tzcode/ |
strftime.c | 88 ** C99 requires this format. 96 ** C99 requires this format. 135 strftime(char * const s, const size_t maxsize, const char *const format, 146 p = _fmt(((format == NULL) ? "%c" : format), t, s, s + maxsize, &warn); 150 if (format == NULL) 151 (void) fprintf(stderr, "NULL strftime format "); 152 else (void) fprintf(stderr, "strftime format \"%s\" ", 153 format); 186 _fmt(const char *format, const struct tm *const t, char * pt [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/code/ |
OutputFinisher.java | 276 * No need to call this.set(), since the format and other info 359 * the format out of each instruction into a separate array, to be 382 * @param formats {@code non-null;} array of per-instruction format selections 411 * No need to call this.set() since the format and 431 * @param formats {@code non-null;} array of per-instruction format selections 472 * Attempts to fit the given instruction into a format, returning 473 * either a format that the instruction fits into or {@code null} 475 * fitting process starts with the given format as a first "best 479 * @param format {@code null-ok;} the current guess as to the best instruction 480 * format to use; {@code null} means that no simple format fit 546 InsnFormat format = formats[i]; local 673 InsnFormat format = dop.getFormat(); local [all...] |
/external/chromium_org/third_party/WebKit/Source/modules/crypto/ |
SubtleCrypto.cpp | 252 WebCryptoKeyFormat format; 253 if (!CryptoKey::parseFormat(rawFormat, format, result.get())) 256 if (format == WebCryptoKeyFormatJwk) { 269 Platform::current()->crypto()->importKey(format, keyData.bytes(), keyData.byteLength(), algorithm, extractable, keyUsages, result->result()); 281 WebCryptoKeyFormat format; 282 if (!CryptoKey::parseFormat(rawFormat, format, result.get())) 289 if (format != WebCryptoKeyFormatJwk) { 302 Platform::current()->crypto()->importKey(format, reinterpret_cast<const unsigned char*>(jsonUtf8.data()), jsonUtf8.length(), algorithm, extractable, keyUsages, result->result()); 317 WebCryptoKeyFormat format; 318 if (!CryptoKey::parseFormat(rawFormat, format, result.get()) [all...] |
/external/chromium_org/ui/base/clipboard/ |
clipboard_android.cc | 22 // The Android clipboard system used to only support text format. So we used the 51 std::string Get(const std::string& format); 52 bool HasFormat(const std::string& format); 53 void Set(const std::string& format, const std::string& data); 80 std::string ClipboardMap::Get(const std::string& format) { 83 std::map<std::string, std::string>::const_iterator it = map_.find(format); 87 bool ClipboardMap::HasFormat(const std::string& format) { 90 return ContainsKey(map_, format); 93 void ClipboardMap::Set(const std::string& format, const std::string& data) { 98 map_[format] = data [all...] |
/external/qemu/distrib/sdl-1.2.15/test/ |
testvidinfo.c | 100 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b)); 108 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b)); 116 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, r, g, b)); 129 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0)); 144 bmp->w, bmp->h, bmp->format->BitsPerPixel); 158 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0)); 173 bmpcc->w, bmpcc->h, bmpcc->format->BitsPerPixel); 189 SDL_FillRect(screen, NULL, SDL_MapRGB(screen->format, 0, 0, 0)); 205 printf("Running display format blit test: %dx%d at %d bpp, flags: ", 206 bmp->w, bmp->h, bmp->format->BitsPerPixel) [all...] |
/frameworks/base/core/java/android/text/format/ |
DateFormat.java | 17 package android.text.format; 41 * <p>Most callers should avoid supplying their own format strings to this 42 * class' {@code format} methods and rely on the correctly localized ones 46 * of format strings, see {@link java.text.SimpleDateFormat}. 51 * <p>The {@code format} methods in this class implement a subset of Unicode 53 * The subset currently supported by this class includes the following format characters: 60 * Note that the non-{@code format} methods in this class are implemented by 165 * Returns true if user preference is set to 24-hour format. 167 * @return true if 24 hour time format is selected, false otherwise. 174 * Returns true if user preference with the given user handle is set to 24-hour format 309 String format = getDateFormatStringForSetting(context, value); local 397 public static CharSequence format(CharSequence inFormat, long inTimeInMillis) { method in class:DateFormat 408 public static CharSequence format(CharSequence inFormat, Date inDate) { method in class:DateFormat 493 public static CharSequence format(CharSequence inFormat, Calendar inDate) { method in class:DateFormat [all...] |
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderVP9HWR.cpp | 206 paramPortDefinitionInput->format.video.cMIMEType = (OMX_STRING)VP9_MIME_TYPE; 207 paramPortDefinitionInput->format.video.eCompressionFormat = OMX_VIDEO_CodingVP9; 278 int32_t format = VA_RT_FORMAT_YUV420; local 310 format, 506 if (widthCropped == paramPortDefinitionOutput.format.video.nFrameWidth && 507 heightCropped == paramPortDefinitionOutput.format.video.nFrameHeight) { 514 paramPortDefinitionInput.format.video.nFrameWidth = width; 515 paramPortDefinitionInput.format.video.nFrameHeight = height; 516 paramPortDefinitionInput.format.video.nStride = stride; 517 paramPortDefinitionInput.format.video.nSliceHeight = sliceHeight [all...] |
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/helpers/ |
AssertHelpers.java | 68 String msg = String.format( 87 String.format("%s: (%s should be greater than than %s; item index %d in %s)", 103 String.format("%s: (%s should be less than than %s; item index %d in %s)", 114 String.format("Value %s must be greater or equal to %s, but was lower", value, low), 117 String.format("Value %s must be less than or equal to %s, but was higher", 192 fail(String.format("%s : No elements from %s in %s", message,
|
/external/chromium_org/chromecast/media/cma/ipc_streamer/ |
video_decoder_config_marshaller.cc | 61 CHECK(msg->WritePod(config.format())); 76 ::media::VideoFrame::Format format; local 86 CHECK(msg->ReadPod(&format)); 97 CHECK_GE(format, ::media::VideoFrame::UNKNOWN); 98 CHECK_LE(format, ::media::VideoFrame::FORMAT_MAX); 106 codec, profile, format,
|
/external/chromium_org/content/renderer/pepper/ |
ppb_image_data_impl.h | 40 PP_ImageDataFormat format, 64 bool Init(PP_ImageDataFormat format, 71 PP_ImageDataFormat format, 78 // Returns the image format. 79 PP_ImageDataFormat format() const { return format_; } function in class:content::PPB_ImageData_Impl 120 PP_ImageDataFormat format, 155 PP_ImageDataFormat format,
|
/external/chromium_org/native_client_sdk/src/examples/api/websocket/ |
example.js | 20 // Send a request message. See also websocket.cc for the request format. 27 // Send a request message. See also websocket.cc for the request format. 35 // Send a request message. See also websocket.cc for the request format.
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/ |
malloc-tree | 43 format = ' %4d ' 47 format = '%8.1fG' 50 format = '%8.1fM' 53 format = '%8.1fK' 56 return format % val 144 description='Format malloc_history output as a nested tree', 154 default=False, help='output in HotSpotFinder format, implies -b');
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/wayland/ |
native_shm.c | 86 enum wl_shm_format format; local 99 format = WL_SHM_FORMAT_ARGB8888; 102 format = WL_SHM_FORMAT_XRGB8888; 111 wsh.stride, format); 118 shm_handle_format(void *data, struct wl_shm *shm, uint32_t format) 122 switch (format) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/intel/ |
intel_tex_subimage.c | 48 GLenum format, GLenum type, const void *pixels, 88 format, type, pixels, packing, 124 format, type, pixels, packing)) { 157 GLenum format, GLenum type, 165 format, type, pixels, packing)) { 169 format, type, pixels, packing);
|
/external/chromium_org/tools/grit/grit/node/ |
include.py | 11 import grit.format.html_inline namespace 12 import grit.format.rc_header namespace 13 import grit.format.rc namespace 37 grit.format.html_inline.InlineToString(filename, self, 78 # to grit.format.data_pack? 79 from grit.format import rc_header 112 return grit.format.html_inline.GetResourceFilenames(
|
/external/chromium_org/ui/base/dragdrop/ |
os_exchange_data.cc | 55 void OSExchangeData::SetPickledData(const CustomFormat& format, 57 provider_->SetPickledData(format, data); 79 bool OSExchangeData::GetPickledData(const CustomFormat& format, 81 return provider_->GetPickledData(format, data); 96 bool OSExchangeData::HasCustomFormat(const CustomFormat& format) const { 97 return provider_->HasCustomFormat(format);
|
os_exchange_data.h | 58 enum Format { 102 virtual void SetPickledData(const CustomFormat& format, 112 virtual bool GetPickledData(const CustomFormat& format, 118 virtual bool HasCustomFormat(const CustomFormat& format) const = 0; 167 // a format suitable for exchange with the OS. 183 // Adds pickled data of the specified format. 184 void SetPickledData(const CustomFormat& format, const Pickle& data); 198 bool GetPickledData(const CustomFormat& format, Pickle* data) const; 205 bool HasCustomFormat(const CustomFormat& format) const; 208 // |formats| or any custom format in |custom_formats| [all...] |
os_exchange_data_provider_aura.cc | 76 const OSExchangeData::CustomFormat& format, 78 pickle_data_[format] = data; 124 const OSExchangeData::CustomFormat& format, 126 PickleData::const_iterator i = pickle_data_.find(format); 153 const OSExchangeData::CustomFormat& format) const { 154 return pickle_data_.find(format) != pickle_data_.end();
|
/external/chromium_org/v8/src/ |
string-stream.cc | 52 // A control character is one that configures a format element. For 65 void StringStream::Add(Vector<const char> format, Vector<FmtElm> elms) { 70 while (offset < format.length()) { 71 if (format[offset] != '%' || elm == elms.length()) { 72 Put(format[offset]); 80 // format element type 81 temp[format_length++] = format[offset++]; 82 while (offset < format.length() && IsControlChar(format[offset])) 83 temp[format_length++] = format[offset++] [all...] |
/external/chromium_org/v8/tools/ |
v8-info.sh | 56 Output format: [Git hash] [SVN revision] [V8 version] 60 Output format: [V8 version] 64 Output format: [V8 version] [SVN revision] [SVN patch merged]*. 68 Output format: [SVN patch merged]* 76 git for-each-ref --format="%(objectname) %(refname:short)" refs/remotes/svn 84 git log --format="%h %ci %ce %s" -1 $1
|
/external/clang/unittests/Format/ |
FormatTestJS.cpp | 1 //===- unittest/Format/FormatTestJS.cpp - Formatting unit tests for JS ----===// 11 #include "clang/Format/Format.h" 15 #define DEBUG_TYPE "format-test" 18 namespace format { namespace in namespace:clang 22 static std::string format(llvm::StringRef Code, unsigned Offset, function in class:clang::format::FormatTestJS 34 static std::string format( function in class:clang::format::FormatTestJS 37 return format(Code, 0, Code.size(), Style); 49 EXPECT_EQ(Code.str(), format(test::messUp(Code), Style)); 163 format("abc=xyz?function(){return 1;}:function(){return -1;};")) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 124 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format); 125 tcu::TextureFormat getFramebufferReadFormat (const tcu::TextureFormat& format); 127 const char* getFormatName (deUint32 format); 129 void clearColorBuffer (sglr::Context& ctx, const tcu::TextureFormat& format, const tcu::Vec4& value); 130 void readPixels (sglr::Context& ctx, tcu::Surface& dst, int x, int y, int width, int height, const tcu::TextureFormat& format, const tcu::Vec4& scale, const tcu::Vec4& bias); 132 tcu::RGBA getFormatThreshold (const tcu::TextureFormat& format);
|