Home
last modified time | relevance | path

Searched refs:format_ (Results 1 – 25 of 71) sorted by relevance

123

/external/tensorflow/tensorflow/core/kernels/
Das_string_op.cc68 format_ = "%"; in AsStringOp()
70 strings::Appendf(&format_, "%s%d", fill_string.c_str(), width); in AsStringOp()
73 strings::Appendf(&format_, ".%d", precision); in AsStringOp()
79 strings::Appendf(&format_, "d"); in AsStringOp()
82 strings::Appendf(&format_, "lld"); in AsStringOp()
89 strings::Appendf(&format_, "g"); in AsStringOp()
91 strings::Appendf(&format_, "e"); in AsStringOp()
93 strings::Appendf(&format_, "f"); in AsStringOp()
106 format_ = strings::Printf("(%s,%s)", format_.c_str(), format_.c_str()); in AsStringOp()
130 ENCODE_TYPE(DT_INT32, int32, format_); in Compute()
[all …]
Dencode_jpeg_op.cc35 OP_REQUIRES_OK(context, context->GetAttr("format", &format_)); in EncodeJpegOp()
36 if (format_.empty()) { in EncodeJpegOp()
38 } else if (format_ == "grayscale") { in EncodeJpegOp()
40 } else if (format_ == "rgb") { in EncodeJpegOp()
45 "format must be '', grayscale or rgb, got ", format_)); in EncodeJpegOp()
116 errors::InvalidArgument("format ", format_, " expects ", in Compute()
132 string format_; member in tensorflow::EncodeJpegOp
Ddecode_image_op.cc73 format_ = kJpgFormat; in DecodeImageOp()
75 format_ = kJpgFormat; in DecodeImageOp()
78 format_ = kPngFormat; in DecodeImageOp()
80 format_ = kGifFormat; in DecodeImageOp()
86 if (format_ == kGifFormat) { in DecodeImageOp()
99 if (format_ == kPngFormat) { in DecodeImageOp()
116 if (format_ == kJpgFormat) { in DecodeImageOp()
219 format_ == kGifFormat in DecodeJpeg()
265 format_ == kGifFormat ? TensorShape({1, height, width, decode.channels}) in DecodePng()
304 if (format_ == kGifFormat) { in DecodeGif()
[all …]
/external/python/oauth2client/tests/
Dtest_jwt.py53 self.format_ = 'p12'
58 self._check_sign_and_verify('privatekey.' + self.format_)
63 if self.format_ == 'pem':
95 private_key = datafile('privatekey.' + self.format_)
156 private_key = datafile('privatekey.' + self.format_)
222 self.format_ = 'pem'
230 self.format_ = 'pem'
238 self.format_ = 'p12'
242 private_key = datafile('privatekey.' + self.format_)
248 if self.format_ == 'pem':
[all …]
/external/sfntly/cpp/src/sfntly/table/bitmap/
Dbitmap_glyph_info.cc31 format_(format) { in BitmapGlyphInfo()
43 format_(format) { in BitmapGlyphInfo()
47 return (format_ == rhs.format_ && in operator ==()
57 return (format_ == rhs->format() && in operator ==()
Dbitmap_glyph.h85 int32_t format() { return format_; } in format()
95 int32_t format_;
102 int32_t format() { return format_; } in format()
110 int32_t format_;
Dbitmap_glyph.cc40 : SubTable(data), format_(format) { in BitmapGlyph()
72 : SubTable::Builder(data), format_(format) { in Builder()
76 : SubTable::Builder(data), format_(format) { in Builder()
Dbitmap_glyph_info.h60 int32_t format() const { return format_; } in format()
72 int32_t format_; variable
/external/bsdiff/
Dbsdiff_arguments.h23 BsdiffArguments() : format_(BsdiffFormat::kLegacy), brotli_quality_(-1) { in BsdiffArguments()
30 : format_(format), in BsdiffArguments()
38 BsdiffFormat format() const { return format_; } in format()
71 BsdiffFormat format_; variable
Dbsdiff_arguments.cc60 if (format_ == BsdiffFormat::kLegacy) { in IsValid()
63 } else if (format_ == BsdiffFormat::kBsdf2) { in IsValid()
69 } else if (format_ == BsdiffFormat::kEndsley) { in IsValid()
86 if (!ParseBsdiffFormat(optarg, &format_)) { in ParseCommandLine()
109 if (format_ != BsdiffFormat::kLegacy && in ParseCommandLine()
Dpatch_writer.cc32 format_(BsdiffFormat::kLegacy), in BsdiffPatchWriter()
42 format_(BsdiffFormat::kBsdf2), in BsdiffPatchWriter()
229 if (format_ == BsdiffFormat::kLegacy) { in WriteHeader()
232 } else if (format_ == BsdiffFormat::kBsdf2) { in WriteHeader()
/external/libchrome/device/bluetooth/
Dbluetooth_uuid.cc77 GetCanonicalUuid(uuid, &value_, &canonical_value_, &format_); in BluetoothUUID()
91 &value_, &canonical_value_, &format_); in BluetoothUUID()
92 DCHECK_EQ(kFormat128Bit, format_); in BluetoothUUID()
96 BluetoothUUID::BluetoothUUID() : format_(kFormatInvalid) { in BluetoothUUID()
113 return format_ != kFormatInvalid; in IsValid()
Dbluetooth_uuid.h75 Format format() const { return format_; } in format()
105 Format format_;
/external/libaom/libaom/test/
Dcoding_path_sync.cc61 format_ = fmts[rnd_.PseudoUniform(NELEMENTS(fmts))]; in CompressedSource()
67 if (format_ == AOM_IMG_FMT_I420) in CompressedSource()
69 else if (format_ == AOM_IMG_FMT_I444) in CompressedSource()
71 else if (format_ == AOM_IMG_FMT_I422) in CompressedSource()
93 aom_img_wrap(&img, format_, width_, height_, 0, buf); in ReadFrame()
112 aom_img_fmt_t format_; member in __anone3dc8f3f0111::CompressedSource
Dvideo_source.h139 format_(AOM_IMG_FMT_I420) { in DummyVideoSource()
182 if (format_ != format) { in SetImageFormat()
183 format_ = format; in SetImageFormat()
195 img_ = aom_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
205 aom_img_fmt_t format_; variable
Dyuv_video_source.h33 format_(AOM_IMG_FMT_NONE), framerate_numerator_(rate_numerator), in YUVVideoSource()
79 if (width != width_ || height != height_ || format != format_) { in SetSize()
85 format_ = format; in SetSize()
116 aom_img_fmt format_; variable
/external/tensorflow/tensorflow/compiler/xla/
Dlayout.h83 : format_(DENSE), in Layout()
90 : format_(DENSE), in format_() function
146 Format format() const { return format_; } in format()
148 format_ = value; in set_format()
203 format_ = INVALID_FORMAT; in Clear()
211 Format format_ = INVALID_FORMAT;
/external/libvpx/libvpx/test/
Dvideo_source.h137 format_(VPX_IMG_FMT_I420) { in DummyVideoSource()
180 if (format_ != format) { in SetImageFormat()
181 format_ = format; in SetImageFormat()
193 img_ = vpx_img_alloc(NULL, format_, width_, height_, 32); in ReallocImage()
203 vpx_img_fmt_t format_; variable
Dyuv_video_source.h32 format_(VPX_IMG_FMT_NONE), framerate_numerator_(rate_numerator), in YUVVideoSource()
79 if (width != width_ || height != height_ || format != format_) { in SetSize()
85 format_ = format; in SetSize()
118 vpx_img_fmt format_; variable
/external/freetype/src/sfnt/
Dttcmap.h70 format_, \ argument
88 format_, \
/external/webrtc/talk/app/webrtc/
Dvideosource.cc354 channel_manager_->StopVideoCapture(video_capturer_.get(), format_); in ~VideoSource()
408 format_ = GetBestCaptureFormat(formats); in Initialize()
414 if (!channel_manager_->StartVideoCapture(video_capturer_.get(), format_)) { in Initialize()
431 channel_manager_->StopVideoCapture(video_capturer_.get(), format_); in Stop()
435 if (!channel_manager_->StartVideoCapture(video_capturer_.get(), format_)) { in Restart()
/external/deqp/external/vulkancts/modules/vulkan/multiview/
DvktMultiViewRenderPassUtil.cpp37 VkFormat format_, in AttachmentDescription1() argument
51 format = format_; in AttachmentDescription1()
63 VkFormat format_, in AttachmentDescription2() argument
75 format = format_; in AttachmentDescription2()
/external/deqp/framework/opengl/
DgluTextureUtil.hpp53 TransferFormat (deUint32 format_, deUint32 dataType_) in TransferFormat()
54 : format (format_) in TransferFormat()
/external/protobuf/src/google/protobuf/io/
Dgzip_stream.cc51 : format_(format), sub_stream_(sub_stream), zerror_(Z_OK), byte_count_(0) { in GzipInputStream()
104 int error = internalInflateInit2(&zcontext_, format_); in Inflate()
142 zerror_ = internalInflateInit2(&zcontext_, format_); in Next()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dtypes.cpp333 format_(f), in Image()
342 ms_ == it->ms_ && sampled_ == it->sampled_ && format_ == it->format_ && in IsSameImpl()
351 << ", " << arrayed_ << ", " << ms_ << ", " << sampled_ << ", " << format_ in str()
364 words->push_back(format_); in GetExtraHashWords()

123