| /external/webrtc/sdk/objc/unittests/ |
| D | nalu_rewriter_xctest.mm | 30 // clang-format off 37 // clang-format on 50 // clang-format off 60 // clang-format on 117 // clang-format off 121 // clang-format on 132 // clang-format off 138 // clang-format on 159 std::unique_ptr<uint8_t[]> buffer(new uint8_t[buffer_size]); 160 memset(buffer.get(), 0, buffer_size); [all …]
|
| /external/angle/src/common/ |
| D | android_util.cpp | 26 # pragma clang diagnostic push 27 # pragma clang diagnostic ignored "-Wzero-length-array" 34 # pragma clang diagnostic pop 62 int format; member 195 aHardwareBufferDescription.format = androidFormat; in CreateEGLClientBufferFromAHardwareBuffer() 212 void GetANativeWindowBufferProperties(const ANativeWindowBuffer *buffer, in GetANativeWindowBufferProperties() argument 219 *width = buffer->width; in GetANativeWindowBufferProperties() 220 *height = buffer->height; in GetANativeWindowBufferProperties() 221 *depth = static_cast<int>(buffer->layerCount); in GetANativeWindowBufferProperties() 222 *height = buffer->height; in GetANativeWindowBufferProperties() [all …]
|
| /external/clang/docs/ |
| D | ClangFormat.rst | 13 :program:`clang-format` is located in `clang/tools/clang-format` and can be used 14 to format C/C++/Obj-C code. 18 $ clang-format -help 19 OVERVIEW: A tool to format C/C++/Java/JavaScript/Objective-C/Protobuf code. 27 USAGE: clang-format [options] [<file> ...] 31 Clang-format options: 33 -assume-filename=<string> - When reading from stdin, clang-format assumes this 37 clang-format from an editor integration 41 fallback in case clang-format is invoked with 42 -style=file, but can not find the .clang-format [all …]
|
| /external/webrtc/test/ |
| D | mac_capturer.mm | 28 rtc::scoped_refptr<webrtc::VideoFrameBuffer> buffer = 29 rtc::make_ref_counted<webrtc::ObjCFrameBuffer>(frame.buffer); 31 .set_video_frame_buffer(buffer) 46 for (AVCaptureDeviceFormat *format in formats) { 47 CMVideoDimensions dimension = CMVideoFormatDescriptionGetDimensions(format.formatDescription); 51 selectedFormat = format; 77 AVCaptureDeviceFormat *format = SelectClosestFormat(device, width, height); 78 [capturer startCaptureWithDevice:device format:format fps:target_fps]; 89 #pragma clang diagnostic push 90 #pragma clang diagnostic ignored "-Wunused-variable" [all …]
|
| /external/cronet/third_party/protobuf/objectivec/ |
| D | GPBCodedOutputStream.m | 1 // Protocol Buffers - Google's data interchange format 62 // Internal helper that writes the current buffer to the output. The 63 // buffer position is reset to its initial value when this returns. 66 // We're writing to a single buffer. 67 [NSException raise:GPBCodedOutputStreamException_OutOfSpace format:@""]; 73 [NSException raise:GPBCodedOutputStreamException_WriteFailed format:@""]; 128 uint32_t fieldNumber, GPBWireFormat format) { 129 GPBWriteRawVarint32(state, GPBWireFormatMakeTag(fieldNumber, format)); 198 #pragma clang diagnostic push 199 #pragma clang diagnostic ignored "-Wdirect-ivar-access" [all …]
|
| D | GPBArray.m | 1 // Protocol Buffers - Google's data interchange format 38 #pragma clang diagnostic push 39 #pragma clang diagnostic ignored "-Wdirect-ivar-access" 41 // Mutable arrays use an internal buffer that can always hold a multiple of this elements. 53 //% format:@"Index (%lu) beyond bounds (%lu)", 123 //% format:@"Failed to allocate %lu bytes", 261 //% format:@"Failed to allocate %lu bytes", 298 // clang-format off 351 format:@"Failed to allocate %lu bytes", 433 format:@"Index (%lu) beyond bounds (%lu)", [all …]
|
| /external/protobuf/objectivec/ |
| D | GPBCodedOutputStream.m | 1 // Protocol Buffers - Google's data interchange format 62 // Internal helper that writes the current buffer to the output. The 63 // buffer position is reset to its initial value when this returns. 66 // We're writing to a single buffer. 67 [NSException raise:GPBCodedOutputStreamException_OutOfSpace format:@""]; 73 [NSException raise:GPBCodedOutputStreamException_WriteFailed format:@""]; 128 uint32_t fieldNumber, GPBWireFormat format) { 129 GPBWriteRawVarint32(state, GPBWireFormatMakeTag(fieldNumber, format)); 198 #pragma clang diagnostic push 199 #pragma clang diagnostic ignored "-Wdirect-ivar-access" [all …]
|
| D | GPBArray.m | 1 // Protocol Buffers - Google's data interchange format 38 #pragma clang diagnostic push 39 #pragma clang diagnostic ignored "-Wdirect-ivar-access" 41 // Mutable arrays use an internal buffer that can always hold a multiple of this elements. 53 //% format:@"Index (%lu) beyond bounds (%lu)", 123 //% format:@"Failed to allocate %lu bytes", 261 //% format:@"Failed to allocate %lu bytes", 298 // clang-format off 351 format:@"Failed to allocate %lu bytes", 433 format:@"Index (%lu) beyond bounds (%lu)", [all …]
|
| /external/webrtc/third_party/crc32c/src/ |
| D | README.md | 6 New file format authors should consider 27 const std::uint8_t buffer[] = {0, 0, 0, 0}; 30 // Process a raw buffer. 31 result = crc32c::Crc32c(buffer, 4); 62 apm install autocomplete-clang build build-cmake clang-format language-cmake \ 63 linter linter-clang 67 `autocomplete-clang` and `linter-clang` with `you-complete-me`. This requires 71 apm install autocomplete-plus build build-cmake clang-format language-cmake \ 104 -DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION=clang \
|
| /external/curl/lib/ |
| D | mprintf.c | 167 char *buffer; member 229 static int dprintf_Pass1(const char *format, struct va_stack *vto, in dprintf_Pass1() argument 232 char *fmt = (char *)format; in dprintf_Pass1() 574 const char *format, /* %-formatted string */ in dprintf_formatf() argument 601 if(dprintf_Pass1(format, vto, endpos, ap_save)) in dprintf_formatf() 607 f = (char *)format; in dprintf_formatf() 967 #pragma clang diagnostic push in dprintf_formatf() 968 #pragma clang diagnostic ignored "-Wformat-nonliteral" in dprintf_formatf() 978 #pragma clang diagnostic pop in dprintf_formatf() 1018 infop->buffer[0] = outc; /* store */ in addbyter() [all …]
|
| /external/angle/src/libANGLE/renderer/metal/ |
| D | IOSurfaceSurfaceMtl.mm | 44 // clang-format off 56 // clang-format on 76 EGLClientBuffer buffer, 78 : OffscreenSurfaceMtl(display, state, attribs), mIOSurface((__bridge IOSurfaceRef)(buffer)) 104 EGLint buffer) 112 return OffscreenSurfaceMtl::bindTexImage(context, texture, buffer); 115 egl::Error IOSurfaceSurfaceMtl::releaseTexImage(const gl::Context *context, EGLint buffer) 117 egl::Error re = OffscreenSurfaceMtl::releaseTexImage(context, buffer); 171 // This format has emulated alpha channel. Initialize texture's alpha channel to 1.0. 187 bool IOSurfaceSurfaceMtl::ValidateAttributes(EGLClientBuffer buffer, [all …]
|
| /external/llvm/test/DebugInfo/Sparc/ |
| D | gnu-window-save.ll | 7 ; SPARC64: file format ELF64-sparc 23 ; SPARC32: file format ELF32-sparc 51 …af" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-… 52 …af" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "unsafe-… 58 …inct !DICompileUnit(language: DW_LANG_C99, producer: "clang version 3.5 (http://llvm.org/git/clang… 68 !11 = !{!"clang version 3.5 (http://llvm.org/git/clang.git 6a0714fee07fb7c4e32d3972b4fe2ce2f5678cf4…
|
| /external/angle/src/libANGLE/renderer/vulkan/mac/ |
| D | IOSurfaceSurfaceVkMac.mm | 39 // clang-format off 51 // clang-format on 69 EGLClientBuffer buffer, 75 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer); 119 const vk::Format &format = 122 // Swiftshader will use the raw pointer to the buffer referenced by the IOSurfaceRef 123 ANGLE_TRY(mColorAttachment.initialize(displayVk, mWidth, mHeight, format, samples, 160 EGLint buffer) 181 const vk::Format &format = 188 reinterpret_cast<uint8_t *>(source), format, vk::ImageAccess::Renderable); [all …]
|
| /external/angle/src/libANGLE/renderer/gl/eagl/ |
| D | IOSurfaceSurfaceEAGL.mm | 43 // clang-format off 54 // clang-format on 74 EGLClientBuffer buffer, 91 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer); 188 const auto &format = kIOSurfaceFormats[mFormatIndex]; 193 internalFormat:format.nativeInternalFormat 196 format:format.nativeFormat 197 type:format.nativeType 215 // pixel unpack buffer to 0 when using ES 3.0 contexts. 226 functions->texImage2D(GL_TEXTURE_2D, 0, format.nativeInternalFormat, mWidth, mHeight, 0, [all …]
|
| /external/fmtlib/test/ |
| D | posix-mock-test.cc | 290 char buffer[SIZE]; in TEST() local 292 EXPECT_RETRY(count = read_end.read(buffer, SIZE), read, in TEST() 307 char buffer[SIZE + 1]; in TEST() local 308 read_end.read(buffer, SIZE); in TEST() 309 buffer[SIZE] = '\0'; in TEST() 310 EXPECT_STREQ("test", buffer); in TEST() 347 fmt::format("cannot duplicate file descriptor {}", stdout_fd)); in TEST() 355 fmt::format("cannot duplicate file descriptor {} to {}", in TEST() 472 # pragma clang diagnostic push 473 # pragma clang diagnostic ignored "-Winconsistent-dllimport" [all …]
|
| /external/selinux/libselinux/utils/ |
| D | Makefile | 10 COMPILER ?= clang 25 -Wmissing-declarations -Wmissing-noreturn -Wmissing-format-attribute \ 33 …-Wno-format-nonliteral -Wframe-larger-than=$(MAX_STACK_SIZE) -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2… 34 -fstack-protector-all --param=ssp-buffer-size=4 -fexceptions \
|
| /external/angle/src/libANGLE/renderer/metal/shaders/ |
| D | blit.metal | 6 // blit.metal: Implements blitting texture content to current frame buffer. 47 vertex BlitVSOut blitVS(unsigned int vid [[vertex_id]], constant BlitParams &options [[buffer(0)]]) 95 // clang-format off 105 constant BlitParams &options [[buffer(0)]] 106 // clang-format on 238 constant BlitParams &options [[buffer(0)]]) 281 // Write stencil to a buffer 304 constant BlitStencilToBufferParams &options [[buffer(0)]], 305 device uchar *buffer [[buffer(1)]]) 323 buffer[bufferOffset + sample] = static_cast<uchar>(stencilPerSample); [all …]
|
| /external/tensorflow/third_party/absl/abseil-cpp/absl/debugging/internal/ |
| D | stacktrace_emscripten-inl.inc | 33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer, 55 // clang-format off 59 // clang-format on
|
| /external/webrtc/third_party/abseil-cpp/absl/debugging/internal/ |
| D | stacktrace_emscripten-inl.inc | 33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer, 55 // clang-format off 59 // clang-format on
|
| /external/angle/third_party/abseil-cpp/absl/debugging/internal/ |
| D | stacktrace_emscripten-inl.inc | 33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer, 55 // clang-format off 59 // clang-format on
|
| /external/abseil-cpp/absl/debugging/internal/ |
| D | stacktrace_emscripten-inl.inc | 33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer, 55 // clang-format off 59 // clang-format on
|
| /external/cronet/third_party/abseil-cpp/absl/debugging/internal/ |
| D | stacktrace_emscripten-inl.inc | 33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer, 55 // clang-format off 59 // clang-format on
|
| /external/compiler-rt/test/BlocksRuntime/ |
| D | testfilerunner.m | 29 static bool readErrorFile(char *buffer, const char *from); 98 bool lookforIn(char *lookfor, const char *format, pid_t child) { 99 char buffer[512]; 101 sprintf(buffer, format, child); 102 bool gotOutput = readErrorFile(got, buffer); 104 printf("**** didn't get an output file %s to analyze!!??\n", buffer); 109 printf("didn't find '%s' in output file %s\n", lookfor, buffer); 112 unlink(buffer); 127 char buffer[512]; 130 sprintf(buffer, "/tmp/errorfile_%d", getpid()); [all …]
|
| /external/pigweed/docs/ |
| D | index.rst | 93 The ``pw_presubmit`` module includes ``pw format``, a tool that provides a 95 With ``pw format``, you can format C, C++, Python, GN, and Go code according to 96 configurations defined by your project. ``pw format`` leverages existing tools 97 like ``clang-format``, and it’s simple to add support for new languages. 112 - A code formatting program like clang-format 174 - :ref:`module-pw_protobuf` - An early preview of our wire-format-oriented 175 protocol buffer implementation. This protobuf compiler makes a different set 176 of implementation tradeoffs than the most popular protocol buffer library in
|
| /external/OpenCSD/decoder/tests/auto-fdo/ |
| D | autofdo.md | 51 * FIFOs: buffer data to smooth out bursts 55 * ETB: A small circular buffer (64-128 kilobytes) that stores the most 57 * ETR: A larger (several megabytes) buffer that uses system RAM to 67 periodically draining the buffer to a file. 69 Even though we have a large capture buffer, the ETM can still generate a 100 format-patch`). 113 git format-patch --output-directory /output/dir v4.9..coresight-4.9-etr-etm_strobe 127 git format-patch --output-directory /output/dir v4.14..coresight-4.14-etm_strobe 234 instruction profiles to source profiles for the GCC and clang/llvm 245 options. For clang/llvm, also add the `-fdebug-info-for-profiling` option. [all …]
|