Home
last modified time | relevance | path

Searched +full:unused +full:- +full:private +full:- +full:field (Results 1 – 25 of 530) sorted by relevance

12345678910>>...22

/third_party/skia/third_party/externals/abseil-cpp/absl/copts/
DGENERATED_AbseilCopts.cmake16 "-Wno-c99-extensions"
17 "-Wno-deprecated-declarations"
18 "-Wno-missing-noreturn"
19 "-Wno-missing-prototypes"
20 "-Wno-missing-variable-declarations"
21 "-Wno-null-conversion"
22 "-Wno-shadow"
23 "-Wno-shift-sign-overflow"
24 "-Wno-sign-compare"
25 "-Wno-unused-function"
[all …]
DGENERATED_copts.bzl17 "-Wno-c99-extensions",
18 "-Wno-deprecated-declarations",
19 "-Wno-missing-noreturn",
20 "-Wno-missing-prototypes",
21 "-Wno-missing-variable-declarations",
22 "-Wno-null-conversion",
23 "-Wno-shadow",
24 "-Wno-shift-sign-overflow",
25 "-Wno-sign-compare",
26 "-Wno-unused-function",
[all …]
Dcopts.py20 "-Wno-c99-extensions",
21 "-Wno-deprecated-declarations",
22 "-Wno-missing-noreturn",
23 "-Wno-missing-prototypes",
24 "-Wno-missing-variable-declarations",
25 "-Wno-null-conversion",
26 "-Wno-shadow",
27 "-Wno-shift-sign-overflow",
28 "-Wno-sign-compare",
29 "-Wno-unused-function",
[all …]
/third_party/protobuf/java/core/src/main/java/com/google/protobuf/
DMessageReflection.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
58 for (final FieldDescriptor field : message.getDescriptorForType().getFields()) { in writeMessageTo()
59 if (field.isRequired() && !fields.containsKey(field)) { in writeMessageTo()
60 fields.put(field, message.getField(field)); in writeMessageTo()
65 final Descriptors.FieldDescriptor field = entry.getKey(); in writeMessageTo() local
68 && field.isExtension() in writeMessageTo()
69 && field.getType() == Descriptors.FieldDescriptor.Type.MESSAGE in writeMessageTo()
70 && !field.isRepeated()) { in writeMessageTo()
71 output.writeMessageSetExtension(field.getNumber(), (Message) value); in writeMessageTo()
[all …]
DCodedOutputStream.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
52 * constructs and field types (e.g. {@link #writeTag} and {@link #writeInt32}) and methods that
53 * write low-level values (e.g. {@link #writeRawVarint32} and {@link #writeRawBytes}). If you are
60 private static final Logger logger = Logger.getLogger(CodedOutputStream.class.getName());
61 private static final boolean HAS_UNSAFE_ARRAY_OPERATIONS = UnsafeUtil.hasUnsafeArrayOperations();
139 throw new IllegalArgumentException("ByteBuffer is read-only"); in newInstance()
189 private boolean serializationDeterministic;
200 ByteBuffer byteBuffer, @SuppressWarnings("unused") int unused) { in newInstance() argument
224 private CodedOutputStream() {} in CodedOutputStream()
[all …]
DGeneratedMessageV3.java1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
50 // interoperate (e.g., a GeneratedMessageV3V3 object has a message extension field whose class
81 private static final long serialVersionUID = 1L;
84 * For testing. Allows a test to disable the optimization that avoids using field builders for
86 * reused to test the field builders.
115 * For testing. Allows a test to disable/re-enable the optimization that avoids
116 * using field builders for nested messages until they are requested. By disabling
117 * this optimization, existing tests can be reused to test the field builders.
162 private Map<FieldDescriptor, Object> getAllFieldsMutable( in getAllFieldsMutable()
[all …]
/third_party/protobuf/src/google/protobuf/util/
Dfield_comparator.h1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
31 // Defines classes for field comparison.
77 // Compares the values of a field in two protocol buffer messages.
81 // In case the given FieldDescriptor points to a repeated field, the indices
89 const FieldDescriptor* field, int index_1,
93 private:
117 const FieldDescriptor* field, int index_1,
136 // Sets the fraction and margin for the float comparison of a given field.
139 // REQUIRES: field->cpp_type == FieldDescriptor::CPPTYPE_DOUBLE or
[all …]
/third_party/ffmpeg/libavcodec/
Davcodec.h18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
97 * - Set up and open the AVCodecContext as usual.
98 * - Send valid input:
99 * - For decoding, call avcodec_send_packet() to give the decoder raw
101 * - For encoding, call avcodec_send_frame() to give the encoder an AVFrame
108 * - Receive output in a loop. Periodically call one of the avcodec_receive_*()
110 * - For decoding, call avcodec_receive_frame(). On success, it will return
112 * - For encoding, call avcodec_receive_packet(). On success, it will return
126 * In theory, sending input can result in EAGAIN - this should happen only if
134 * performance or out of necessity (consider B-frames).
[all …]
/third_party/ffmpeg/libavformat/
Doggparsecelt.c19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 struct ogg *ogg = s->priv_data; in celt_header()
36 struct ogg_stream *os = ogg->streams + idx; in celt_header()
37 AVStream *st = s->streams[idx]; in celt_header()
38 struct oggcelt_private *priv = os->private; in celt_header()
39 uint8_t *p = os->buf + os->pstart; in celt_header()
42 if (os->psize == 60 && in celt_header()
52 ret = ff_alloc_extradata(st->codecpar, 2 * sizeof(uint32_t)); in celt_header()
58 /* unused header size field skipped */ in celt_header()
62 /* unused bytes per packet field skipped */ in celt_header()
[all …]
Davformat.h18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
35 * formats. Its main two purposes are demuxing - i.e. splitting a media file
36 * into component streams, and the reverse process of muxing - writing supplied
69 * mechanism. Generic (format-independent) libavformat options are provided by
72 * from avformat_get_class()). Private (format-specific) options are provided by
74 * AVOutputFormat.priv_class of the corresponding format struct is non-NULL.
76 * if its AVClass is non-NULL, and the protocols layer. See the discussion on
124 * your reading callbacks to it. Then set the @em pb field of your
128 * avformat_open_input() has returned, it is not possible to set demuxer private
140 * This code passes the private options 'video_size' and 'pixel_format' to the
[all …]
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/common/
DBUILD.gn77 "-Wno-ignored-qualifiers",
78 "-Wunused-private-field",
79 "-Wno-unused-private-field",
80 "-Wno-inconsistent-missing-override",
81 "-Wno-macro-redefined",
82 "-Wno-constant-conversion",
/third_party/flatbuffers/include/flatbuffers/
Didl.h8 * http://www.apache.org/licenses/LICENSE-2.0
46 // clang-format off
62 …TD(STRING, "string", Offset<void>, int, int, StringOffset, int, unused, Int, Offset<String>, 1…
63 …TD(VECTOR, "", Offset<void>, int, int, VectorOffset, int, unused, Int, Offset<UOffset>, …
64 …TD(VECTOR64, "", Offset64<void>, int, int, VectorOffset, int, unused, Int, Offset<UOffset>, …
65 …TD(STRUCT, "", Offset<void>, int, int, int, int, unused, Int, Offset<UOffset>, …
66 …TD(UNION, "", Offset<void>, int, int, int, int, unused, Int, Offset<UOffset>, …
68 …TD(ARRAY, "", int, int, int, int, int, unused, Int, Offset<UOffset>, …
70 // - enum
71 // - FlatBuffers schema type.
[all …]
/third_party/ffmpeg/libavutil/
Dhwcontext.h16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
45 * This struct aggregates all the (hardware/vendor-specific) "high-level" state,
47 * E.g., in an API that supports hardware-accelerated encoding and decoding,
52 * This struct is reference-counted with the AVBuffer mechanism. The
53 * av_hwdevice_ctx_alloc() constructor yields a reference, whose data field
58 * optionally invoking a user-specified callback for uninitializing the hardware
68 * Private data used internally by libavutil. Must not be accessed in any
74 * This field identifies the underlying API used for hardware access.
76 * This field is set when this struct is allocated and never changed
82 * The format-specific data, allocated and freed by libavutil along with
[all …]
/third_party/skia/gn/
Doh_skia.gni6 # http://www.apache.org/licenses/LICENSE-2.0
46 "-Wno-deprecated-declarations",
47 "-Wno-pessimizing-move",
48 "-Wno-return-type",
49 "-Wno-sign-compare",
50 "-Wno-sometimes-uninitialized",
51 "-Wno-unknown-pragmas",
52 "-Wno-unused-function",
53 "-Wno-unused-private-field",
54 "-Wno-unused-variable",
[all …]
/third_party/flatbuffers/src/
Didl_gen_rust.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
42 /*variables=*/Case::kUnknown, // Unused. in RustDefaultConfig()
61 // https://doc.rust-lang.org/book/second-edition/appendix-01-keywords.html in RustKeywords()
144 // Encapsulate all logical field types in this enum. This allows us to write
145 // field logic based on type switches, instead of branches on the properties
148 // declaration here. could we use the `-Wswitch-enum` warning to
187 if (type.struct_def->fixed) { in GetFullType()
242 if (type.enum_def->is_union) { in GetFullType()
248 FLATBUFFERS_ASSERT(false && "unknown union field type"); in GetFullType()
275 // TableArgs make required non-scalars "Option<_>".
[all …]
/third_party/skia/third_party/externals/abseil-cpp/absl/meta/
DBUILD.gn2 # Use of this source code is governed by a BSD-style license that can be
5 import("${skia_third_party_dir}/abseil-cpp/absl.gni")
9 deps = [ "${skia_third_party_dir}/abseil-cpp/absl/base:config" ]
16 cflags_cc = [ "-Wno-unused-private-field" ]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DRemoveUnreferencedVariables.cpp3 // Use of this source code is governed by a BSD-style license that can be
35 private:
42 // calls and function return values since there's a compiler option not to prune unused
63 for (const auto &field : block->fields()) in incrementStructTypeRefCount() local
65 ASSERT(!field->type()->isInterfaceBlock()); in incrementStructTypeRefCount()
66 incrementStructTypeRefCount(*field->type()); in incrementStructTypeRefCount()
74 auto structIter = mStructIdRefCounts.find(structure->uniqueId().get()); in incrementStructTypeRefCount()
77 mStructIdRefCounts[structure->uniqueId().get()] = 1u; in incrementStructTypeRefCount()
79 for (const auto &field : structure->fields()) in incrementStructTypeRefCount() local
81 incrementStructTypeRefCount(*field->type()); in incrementStructTypeRefCount()
[all …]
/third_party/flatbuffers/tests/swift/tests/Tests/FlatBuffers.Test.SwiftTests/
Dunion_vector_generated.swift22 case unused = 6
24 public static var max: Character { return .unused }
38 case .unused: try container.encode("Unused") in encode()
50 public func pack(builder: inout FlatBufferBuilder) -> Offset { in pack()
67 case .unused: in pack()
109 public func pack(builder: inout FlatBufferBuilder) -> Offset { in pack()
125 private var _hairLength: Int32
168 private var _accessor: Struct
173 …@discardableResult public func mutate(hairLength: Int32) -> Bool { return _accessor.mutate(hairLen… in mutate()
176 public mutating func unpack() -> Rapunzel { in unpack()
[all …]
/third_party/astc-encoder/Source/
Dcmake_core.cmake1 # SPDX-License-Identifier: Apache-2.0
2 # ----------------------------------------------------------------------------
3 # Copyright 2020-2023 Arm Limited
9 # http://www.apache.org/licenses/LICENSE-2.0
16 # ----------------------------------------------------------------------------
18 set(ASTCENC_TARGET astc${ASTCENC_CODEC}-${ASTCENC_ISA_SIMD})
27 # Compiler accepts MSVC-style command line options
29 # Compiler accepts GNU-style command line options
31 # Compiler accepts AppleClang-style command line options, which is also GNU-style
33 # Compiler accepts GNU-style command line options
[all …]
/third_party/protobuf/src/google/protobuf/
Dgenerated_message_reflection.h1 // Protocol Buffers - Google's data interchange format
3 // https://developers.google.com/protocol-buffers/
36 // from protocol-compiler-generated code, which may reside in other components.
81 // sub-message has not been initialized yet. (Thus, all
82 // embedded message fields *must* have non-null pointers
85 // For each oneof or weak field, the offset is relative to the
89 // macro. For each none oneof field, the offset is related to
94 // offsets for oneof unions. The offset of the i-th oneof union
95 // is offsets[descriptor->field_count() + i].
96 // has_bit_indices: Mapping from field indexes to their index in the has
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Dformattedval_impl.h42 * Represents that the field category is constrained.
46 * FormattedValue implementations should not change the field category
54 * Represents that the field and field category are constrained.
58 * FormattedValue implementations should not change the field or field category
73 * TODO(ICU-20897): This class is unused. If it is not needed when fixing ICU-20897,
91 // Additional methods used during construction phase only (non-const):
114 private:
152 FormattedValueStringBuilderImpl(FormattedStringBuilder::Field numericField);
176 * category: the category to use for the span field.
177 * spanValue: the value of the span field: index of the list item, for example.
[all …]
/third_party/icu/icu4c/source/i18n/
Dformattedval_impl.h42 * Represents that the field category is constrained.
46 * FormattedValue implementations should not change the field category
54 * Represents that the field and field category are constrained.
58 * FormattedValue implementations should not change the field or field category
73 * TODO(ICU-20897): This class is unused. If it is not needed when fixing ICU-20897,
91 // Additional methods used during construction phase only (non-const):
114 private:
152 FormattedValueStringBuilderImpl(FormattedStringBuilder::Field numericField);
177 * category: the category to use for the span field.
178 * spanValue: the value of the span field: index of the list item, for example.
[all …]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/number/
DNumberRangeFormatterImpl.java43 // TODO: Clean up to make this field actually final.
51 // Helper function for 2-dimensional switch statement
56 private static final class NumberRangeDataSink extends UResource.Sink {
59 // Note: approximatelyPattern is unused since ICU 69.
78 // Note: approximatelyPattern is unused since ICU 69. in put()
87 private boolean hasRangeData() { in hasRangeData()
92 // Note: approximatelyPattern is unused since ICU 69.
93 private boolean hasApproxData() {
114 private static void getNumberRangeData( in getNumberRangeData()
244private void formatSingleValue(DecimalQuantity quantity1, DecimalQuantity quantity2, FormattedStri… in formatSingleValue()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java6 * Copyright (C) 2001-2016, International Business Machines Corporation and
50 logln("DecimalFormat API test---"); in TestAPI()
78 @SuppressWarnings("unused") in TestAPI()
100 // final double d = -10456.0037; // this appears as -10456.003700000001 on NT in TestAPI()
101 // final double d = -1.04560037e-4; // this appears as -1.0456003700000002E-4 on NT in TestAPI()
102 final double d = -10456.00370000000000; // this works! in TestAPI()
131 String text = new String("-10,456.0037"); in TestAPI()
159 pat.setNegativePrefix("-"); in TestAPI()
161 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
162 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DIntlTestDecimalFormatAPIC.java5 * Copyright (C) 2001-2016, International Business Machines Corporation and
47 logln("DecimalFormat API test---"); in TestAPI()
75 @SuppressWarnings("unused") in TestAPI()
97 // final double d = -10456.0037; // this appears as -10456.003700000001 on NT in TestAPI()
98 // final double d = -1.04560037e-4; // this appears as -1.0456003700000002E-4 on NT in TestAPI()
99 final double d = -10456.00370000000000; // this works! in TestAPI()
128 String text = new String("-10,456.0037"); in TestAPI()
156 pat.setNegativePrefix("-"); in TestAPI()
158 logln("Negative prefix (should be -): " + negPrefix); in TestAPI()
159 assertEquals("ERROR: setNegativePrefix() failed", "-", negPrefix); in TestAPI()
[all …]

12345678910>>...22