Home
last modified time | relevance | path

Searched +refs:clang +refs:format +refs:buffer (Results 1 – 25 of 230) sorted by relevance

12345678910

/external/mesa3d/docs/
Dcodingstyle.rst9 try following the format of existing, neighboring code.
11 ``clang-format``
14 A growing number of drivers and components are adopting ``clang-format``
17 You can re-format the code for the components that have opted-in to the
18 formatting enforcement (listed in ``.clang-format-include``) by simply
19 running ``ninja -C build/ clang-format``.
33 Add this to your ``.vimrc`` to automatically format any C & C++ file
34 (that has a .clang-format config) when you save it:
42 " Only format files that have a .clang-format in a parent folder
43 if !empty(findfile('.clang-format', '.;'))
[all …]
/external/webrtc/sdk/objc/unittests/
Dnalu_rewriter_xctest.mm30 // 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/mesa3d/src/amd/vulkan/radix_sort/shaders/
Dprefix.comp11 // clang-format off
16 // clang-format on
65 // clang-format off
70 // clang-format on
86 // Histogram buffer reference
88 layout(buffer_reference, std430) buffer buffer_rs_histograms
135 // clang-format off
138 // clang-format on
152 // Define buffer reference to read histograms
158 // NOTE(allanmac): The histogram buffer reference could be adjusted
Dfill.comp11 // clang-format off
14 // clang-format on
67 // clang-format off
71 // clang-format on
81 layout(buffer_reference, std430) buffer buffer_rs_indirect_info_fill
86 layout(buffer_reference, std430) buffer buffer_rs_dwords
Dinit.comp11 // clang-format off
14 // clang-format on
55 // clang-format off
63 // clang-format on
73 layout(buffer_reference, std430) buffer buffer_rs_count
78 layout(buffer_reference, std430) buffer buffer_rs_indirect_info
Dhistogram.comp11 // clang-format off
15 // clang-format on
82 // clang-format off
89 // clang-format on
175 layout(buffer_reference, std430) buffer buffer_rs_kv
180 layout(buffer_reference, std430) buffer buffer_rs_histograms
Dscatter.glsl10 // clang-format off
16 // clang-format on
130 // clang-format off
136 // clang-format on
141 // clang-format off
149 // clang-format on
275 // clang-format off
289 // clang-format on
299 layout(buffer_reference, std430) buffer buffer_rs_kv
304 layout(buffer_reference, std430) buffer buffer_rs_histogram // single histogram
[all …]
/external/angle/src/common/
Dandroid_util.cpp30 # pragma clang diagnostic push
31 # pragma clang diagnostic ignored "-Wzero-length-array"
38 # pragma clang diagnostic pop
66 int format; member
199 aHardwareBufferDescription.format = androidFormat; in CreateEGLClientBufferFromAHardwareBuffer()
216 void GetANativeWindowBufferProperties(const ANativeWindowBuffer *buffer, in GetANativeWindowBufferProperties() argument
223 *width = buffer->width; in GetANativeWindowBufferProperties()
224 *height = buffer->height; in GetANativeWindowBufferProperties()
225 *depth = static_cast<int>(buffer->layerCount); in GetANativeWindowBufferProperties()
226 *height = buffer->height; in GetANativeWindowBufferProperties()
[all …]
/external/clang/docs/
DClangFormat.rst13 :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/
Dmac_capturer.mm28 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/protobuf/objectivec/
DGPBCodedOutputStream.m1 // 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 …]
/external/cronet/third_party/protobuf/objectivec/
DGPBCodedOutputStream.m1 // 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 …]
/external/webrtc/third_party/crc32c/src/
DREADME.md6 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/
Dmprintf.c161 char *buffer; member
216 static int parsefmt(const char *format, in parsefmt() argument
222 char *fmt = (char *)format; in parsefmt()
657 const char *format, /* %-formatted string */ in formatf() argument
677 if(parsefmt(format, output, input, &ocount, &icount, ap_save)) in formatf()
997 #pragma clang diagnostic push in formatf()
998 #pragma clang diagnostic ignored "-Wformat-nonliteral" in formatf()
1008 #pragma clang diagnostic pop in formatf()
1044 *infop->buffer++ = (char)outc; /* store */ in addbyter()
1051 int curl_mvsnprintf(char *buffer, size_t maxlength, const char *format, in curl_mvsnprintf() argument
[all …]
/external/llvm/test/DebugInfo/Sparc/
Dgnu-window-save.ll7 ; 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/metal/
DIOSurfaceSurfaceMtl.mm44 // clang-format off
46 // or B8G8R8A8_UNORM based on the IOSurface's pixel format.
58 // clang-format on
78 EGLClientBuffer buffer,
80 : OffscreenSurfaceMtl(display, state, attribs), mIOSurface((__bridge IOSurfaceRef)(buffer))
96 // The actual angle::Format depends on the IOSurface's format.
124 EGLint buffer)
132 return OffscreenSurfaceMtl::bindTexImage(context, texture, buffer);
135 egl::Error IOSurfaceSurfaceMtl::releaseTexImage(const gl::Context *context, EGLint buffer)
137 egl::Error re = OffscreenSurfaceMtl::releaseTexImage(context, buffer);
[all …]
/external/angle/src/libANGLE/renderer/vulkan/mac/
DIOSurfaceSurfaceVkMac.mm39 // clang-format off
50 // clang-format on
68 EGLClientBuffer buffer,
74 mIOSurface = reinterpret_cast<IOSurfaceRef>(buffer);
118 const vk::Format &format =
121 // Swiftshader will use the raw pointer to the buffer referenced by the IOSurfaceRef
122 ANGLE_TRY(mColorAttachment.initialize(displayVk, mWidth, mHeight, format, samples,
159 EGLint buffer)
180 const vk::Format &format =
188 reinterpret_cast<uint8_t *>(source), format, vk::ImageAccess::Renderable,
[all …]
/external/angle/src/libANGLE/renderer/gl/eagl/
DIOSurfaceSurfaceEAGL.mm43 // 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/selinux/libselinux/utils/
DMakefile10 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/
Dblit.metal6 // blit.metal: Implements blitting texture content to current frame buffer.
46 vertex BlitVSOut blitVS(unsigned int vid [[vertex_id]], constant BlitParams &options [[buffer(0)]])
84 // clang-format off
94 constant BlitParams &options [[buffer(0)]]
95 // clang-format on
232 constant BlitParams &options [[buffer(0)]])
275 // Write stencil to a buffer
298 constant BlitStencilToBufferParams &options [[buffer(0)]],
299 device uchar *buffer [[buffer(1)]])
317 buffer[bufferOffset + sample] = static_cast<uchar>(stencilPerSample);
[all …]
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Dstacktrace_emscripten-inl.inc33 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/
Dstacktrace_emscripten-inl.inc33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer,
55 // clang-format off
59 // clang-format on
/external/tensorflow/third_party/absl/abseil-cpp/absl/debugging/internal/
Dstacktrace_emscripten-inl.inc33 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/
Dstacktrace_emscripten-inl.inc33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer,
55 // clang-format off
59 // clang-format on
/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/debugging/internal/
Dstacktrace_emscripten-inl.inc33 uint32_t emscripten_stack_unwind_buffer(uintptr_t pc, void *buffer,
55 // clang-format off
59 // clang-format on

12345678910