/third_party/selinux/libsepol/cil/src/ |
D | cil_write_ast.c | 22 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 46 return datum ? datum->fqn : str; in datum_or_str() 51 return datum ? datum->fqn : "<?DATUM>"; in datum_to_str() 54 static void write_expr(FILE *out, struct cil_list *expr) in write_expr() argument 59 fprintf(out, "("); in write_expr() 62 fprintf(out, " "); in write_expr() 65 switch (curr->flavor) { in write_expr() 67 write_expr(out, curr->data); in write_expr() 70 fprintf(out, "%s", (char *)curr->data); in write_expr() 82 fprintf(out, "%s", datum_to_str(curr->data)); in write_expr() [all …]
|
D | cil_policy.c | 22 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 82 switch (node->flavor) { in __cil_gather_statements_helper() 84 struct cil_block *blk = node->data; in __cil_gather_statements_helper() 85 if (blk->is_abstract == CIL_TRUE) { in __cil_gather_statements_helper() 127 struct cil_typeattribute *attr = node->data; in __cil_gather_statements_helper() 128 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 134 struct cil_roleattribute *attr = node->data; in __cil_gather_statements_helper() 135 if (strcmp(attr->datum.fqn, "cil_gen_require") != 0) { in __cil_gather_statements_helper() 150 struct cil_role *role = node->data; in __cil_gather_statements_helper() 151 if (strcmp(role->datum.fqn, "object_r") != 0) { in __cil_gather_statements_helper() [all …]
|
/third_party/glslang/Test/baseResults/ |
D | glsl.460.subgroup.mesh.out | 112 0:3 Function Definition: undeclared_errors(vf4; ( global 4-component vector of float) 114 0:3 'f4' ( in 4-component vector of float) 133 0:19 'f4' ( in 4-component vector of float) 134 0:21 'gl_SubgroupEqMask' ( in 4-component vector of uint SubgroupEqMask) 135 0:22 'gl_SubgroupGeMask' ( in 4-component vector of uint SubgroupGeMask) 136 0:23 'gl_SubgroupGtMask' ( in 4-component vector of uint SubgroupGtMask) 137 0:24 'gl_SubgroupLeMask' ( in 4-component vector of uint SubgroupLeMask) 138 0:25 'gl_SubgroupLtMask' ( in 4-component vector of uint SubgroupLtMask) 139 0:26 subgroupBroadcast ( global 4-component vector of float) 140 0:26 'f4' ( in 4-component vector of float) [all …]
|
D | 440.vert.out | 21 ERROR: 0:66: 'component' : doubles cannot start on an odd-numbered component 42 ERROR: 0:159: 'xfb_offset' : type contains double or 64-bit integer; xfb_offset must be a multiple … 44 ERROR: 0:162: 'xfb_offset' : type contains double or 64-bit integer; xfb_offset must be a multiple … 55 ERROR: 0:193: 'assign' : l-value required "gl_BaseVertexARB" (can't modify shader input) 56 ERROR: 0:194: 'assign' : l-value required "gl_BaseInstanceARB" (can't modify shader input) 57 ERROR: 0:195: 'assign' : l-value required "gl_DrawIDARB" (can't modify shader input) 98 0:? 'a' (layout( location=2 component=2) in 2-component vector of float) 100 0:? 'c' (layout( location=3 component=2) in 3-component vector of float) 101 0:? 'd' (layout( location=0 component=3) in 4-element array of float) 102 0:? 'e' (layout( location=4 component=0) in 5-element array of 3-component vector of float) [all …]
|
D | 150.vert.out | 2 ERROR: 0:26: 'a' : cannot redeclare a user-block member array 5 ERROR: 0:28: 'vertex-shader `double` type input' : not supported for this version or the enabled ex… 16 0:15 move second child to first child ( temp 4-component vector of float) 17 0:15 gl_Position: direct index for structure ( invariant gl_Position 4-component vector of f… 18 …out block{ invariant gl_Position 4-component vector of float Position gl_Position, gl_PointSize f… 21 0:15 'iv4' ( in 4-component vector of float) 24 …out block{ invariant gl_Position 4-component vector of float Position gl_Position, gl_PointSize f… 30 0:17 gl_ClipDistance: direct index for structure ( out 4-element array of float ClipDistan… 31 …out block{ invariant gl_Position 4-component vector of float Position gl_Position, gl_PointSize f… 37 0:17 'iv4' ( in 4-component vector of float) [all …]
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
D | intermOut.cpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 24 // 2. Print out a text based description of the tree. 58 stream << static_cast<int>(primarySize) << "-component vector of "; in getCompleteString() 72 sink.location(node->getLine()); in OutputTreeText() 91 sink << "'" << node->getSymbol() << "' "; in visitSymbol() 92 sink << "(" << node->getCompleteString() << ")\n"; in visitSymbol() 97 TInfoSinkBase& out = sink; in visitBinary() local 99 OutputTreeText(out, node, mDepth); in visitBinary() 101 switch (node->getOp()) { in visitBinary() 102 case EOpAssign: out << "move second child to first child"; break; in visitBinary() [all …]
|
/third_party/flutter/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 88 if (svg->containerSize().isEmpty()) { in withSVG() 102 this->withSVG([&](const SkSVGDOM& svg){ in size() 109 this->withSVG([&](const SkSVGDOM& svg){ in render() 120 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() 123 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance() 124 glyph->fAdvanceY = 0; in getAdvance() 130 rec->setHinting(SkFontHinting::kNone); in onFilterRec() 134 SkDEBUGCODE(unsigned glyphCount = this->countGlyphs()); in getGlyphToUnicodeMap() 143 info->fFontName = fName; in onGetAdvancedMetrics() [all …]
|
/third_party/skia/tools/fonts/ |
D | TestSVGTypeface.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 89 if (svg->containerSize().isEmpty()) { in withSVG() 103 this->withSVG([&](const SkSVGDOM& svg){ in size() 110 this->withSVG([&](const SkSVGDOM& svg){ in render() 121 SkGlyphID glyphID = glyph->getGlyphID(); in getAdvance() 124 glyph->fAdvanceX = fGlyphs[glyphID].fAdvance; in getAdvance() 125 glyph->fAdvanceY = 0; in getAdvance() 131 rec->setHinting(SkFontHinting::kNone); in onFilterRec() 135 SkDEBUGCODE(unsigned glyphCount = this->countGlyphs()); in getGlyphToUnicodeMap() 144 info->fFontName = fName; in onGetAdvancedMetrics() [all …]
|
/third_party/glslang/Test/ |
D | runtests | 4 # 1- TargetDirectory, where to write test results and intermediary files 5 # 2- Path to glslangValidator 6 # 3- Path to spirv-remap 8 TARGETDIR=${1:-localResults} 10 EXE=${2:-../build/install/bin/glslangValidator} 11 REMAPEXE=${3:-../build/install/bin/spirv-remap} 13 mkdir -p $TARGETDIR 16 if [ -d "${LIBPATH}" ]; then 24 [0-6]) # Valid success and error codes 33 if [ -a localtestlist ] [all …]
|
/third_party/glslang/glslang/MachineIndependent/ |
D | intermOut.cpp | 2 // Copyright (C) 2002-2005 3Dlabs Inc. Ltd. 3 // Copyright (C) 2012-2016 LunarG, Inc. 35 // ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 91 // 2. Print out a text based description of the tree. 134 infoSink.debug << node->getLoc().string << ":"; in OutputTreeText() 135 if (node->getLoc().line) in OutputTreeText() 136 infoSink.debug << node->getLoc().line; in OutputTreeText() 155 TInfoSink& out = infoSink; in visitBinary() local 157 OutputTreeText(out, node, depth); in visitBinary() 159 switch (node->getOp()) { in visitBinary() [all …]
|
/third_party/openssl/crypto/aes/asm/ |
D | aesni-mb-x86_64.pl | 2 # Copyright 2013-2020 The OpenSSL Project Authors. All Rights Reserved. 17 # Multi-buffer AES-NI procedures process several independent buffers 23 # --------------------------- 32 # pre-AVX processors, where higher interleave factor incidentally 36 # --------------------------- 53 ( $xlate="${dir}x86_64-xlate.pl" and -f $xlate ) or 54 ( $xlate="${dir}../../perlasm/x86_64-xlate.pl" and -f $xlate) or 55 die "can't locate x86_64-xlate.pl"; 58 require "x86_64-support.pl"; 64 if (`$ENV{CC} -Wa,-v -c -o /dev/null -x assembler /dev/null 2>&1` [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/wgsl/ |
D | generator_impl.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 70 for (auto* decl : program_->AST().GlobalDeclarations()) { in Generate() 71 if (auto* td = decl->As<ast::TypeDecl>()) { in Generate() 75 } else if (auto* func = decl->As<ast::Function>()) { in Generate() 79 } else if (auto* var = decl->As<ast::Variable>()) { in Generate() 88 if (decl != program_->AST().GlobalDeclarations().back()) { in Generate() 97 if (auto* alias = ty->As<ast::Alias>()) { in EmitTypeDecl() 98 auto out = line(); in EmitTypeDecl() local 99 out << "type " << program_->Symbols().NameFor(alias->name) << " = "; in EmitTypeDecl() 100 if (!EmitType(out, alias->type)) { in EmitTypeDecl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | AsmWriter.cpp | 1 //===- AsmWriter.cpp - Printing LLVM as an assembly file ------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // Module, Function, Value, etc. In-memory representation of those classes is 16 //===----------------------------------------------------------------------===// 32 #include "llvm/Config/llvm-config.h" 94 //===----------------------------------------------------------------------===// 96 //===----------------------------------------------------------------------===// 111 // Explicitly sequence get-size and insert-value operations to avoid UB. in index() 124 if (C->getNumOperands() && !isa<GlobalValue>(C)) in orderValue() [all …]
|
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/ |
D | OutputHLSL.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 57 TIntermSequence *sequence = node->getSequence(); in IsDeclarationWrittenOut() 58 TIntermTyped *variable = (*sequence)[0]->getAsTyped(); in IsDeclarationWrittenOut() 59 ASSERT(sequence->size() == 1); in IsDeclarationWrittenOut() 61 return (variable->getQualifier() == EvqTemporary || variable->getQualifier() == EvqGlobal || in IsDeclarationWrittenOut() 62 variable->getQualifier() == EvqConst || variable->getQualifier() == EvqShared); in IsDeclarationWrittenOut() 67 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInStd140UniformBlock() 71 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock() 74 const TType &type = node->getType(); in IsInStd140UniformBlock() 82 return (interfaceBlock->blockStorage() == EbsStd140); in IsInStd140UniformBlock() [all …]
|
/third_party/elfutils/tests/ |
D | run-strip-g.sh | 18 . $srcdir/test-subr.sh 25 tempfiles a.out strip.out debug.out readelf.out 27 echo Create debug a.out. 28 echo "int main() { return 1; }" | ${CC} -g -xc - 30 echo strip -g to file with debug file 31 testrun ${abs_top_builddir}/src/strip -g -o strip.out -f debug.out || 32 { echo "*** failed to strip -g -o strip.out -f debug.out a.out"; exit -1; } 35 testrun ${abs_top_builddir}/src/readelf -S strip.out > readelf.out 36 grep SYMTAB readelf.out || status=$? 38 if test $status -ne 0; then [all …]
|
D | run-strip-nothing.sh | 18 . $srcdir/test-subr.sh 20 # If there is nothing to strip then -o output should be identical to input. 21 # And there should not be an (empty) -f debug file. 23 tempfiles a.out strip.out debug.out 25 # Create no-debug a.out. 26 echo "int main() { return 1; }" | ${CC} -s -xc - 29 testrun ${abs_top_builddir}/src/strip -g -o strip.out || 30 { echo "*** failed to strip -g -o strip.out a.out"; exit -1; } 32 testrun ${abs_top_builddir}/src/elfcmp a.out strip.out || 33 { echo "*** failed strip.out different from a.out"; exit -1; } [all …]
|
/third_party/libabigail/src/ |
D | abg-reporter-priv.cc | 1 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 // -*- Mode: C++ -*- 4 // Copyright (C) 2017-2022 Red Hat, Inc. 10 #include "abg-comparison-priv.h" 11 #include "abg-reporter-priv.h" 37 /// @param out the output stream to emit the numerical value to. 39 emit_num_value(uint64_t value, const diff_context& ctxt, ostream& out) in emit_num_value() argument 42 out << std::hex << std::showbase ; in emit_num_value() 44 out << std::dec; in emit_num_value() 45 out << value << std::dec << std::noshowbase; in emit_num_value() [all …]
|
D | abg-leaf-reporter.cc | 1 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 // -*- Mode: C++ -*- 4 // Copyright (C) 2017-2022 Red Hat, Inc. 14 #include "abg-comparison-priv.h" 15 #include "abg-reporter.h" 16 #include "abg-reporter-priv.h" 31 {return d && d->to_be_reported() && d->has_local_changes();} in diff_to_be_reported() 47 const corpus_diff::diff_stats& stats = const_cast<corpus_diff*>(d)-> in diff_has_net_changes() 51 return (d->architecture_changed() in diff_has_net_changes() 52 || d->soname_changed() in diff_has_net_changes() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_vectorscope.c | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 81 AVFrame *in, AVFrame *out, int pd); 82 void (*graticulef)(struct VectorscopeContext *s, AVFrame *out, 90 …{ "mode", "set vectorscope mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, MODE_NB-1, FLAGS, "m… 91 …{ "m", "set vectorscope mode", OFFSET(mode), AV_OPT_TYPE_INT, {.i64=0}, 0, MODE_NB-1, FLAGS, "m… 109 …ule", OFFSET(graticule), AV_OPT_TYPE_INT, {.i64=GRAT_NONE}, 0, NB_GRATICULES-1, FLAGS, "graticule"… 110 …ule", OFFSET(graticule), AV_OPT_TYPE_INT, {.i64=GRAT_NONE}, 0, NB_GRATICULES-1, FLAGS, "graticule"… 133 { "tint0", "set 1st tint", OFFSET(ftint[0]), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, FLAGS}, 134 { "t0", "set 1st tint", OFFSET(ftint[0]), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, FLAGS}, 135 { "tint1", "set 2nd tint", OFFSET(ftint[1]), AV_OPT_TYPE_FLOAT, {.dbl=0}, -1, 1, FLAGS}, [all …]
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | OutputHLSL.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 57 TIntermSequence *sequence = node->getSequence(); in IsDeclarationWrittenOut() 58 TIntermTyped *variable = (*sequence)[0]->getAsTyped(); in IsDeclarationWrittenOut() 59 ASSERT(sequence->size() == 1); in IsDeclarationWrittenOut() 61 return (variable->getQualifier() == EvqTemporary || variable->getQualifier() == EvqGlobal || in IsDeclarationWrittenOut() 62 variable->getQualifier() == EvqConst || variable->getQualifier() == EvqShared); in IsDeclarationWrittenOut() 67 TIntermBinary *binaryNode = node->getAsBinaryNode(); in IsInStd140UniformBlock() 71 return IsInStd140UniformBlock(binaryNode->getLeft()); in IsInStd140UniformBlock() 74 const TType &type = node->getType(); in IsInStd140UniformBlock() 82 return (interfaceBlock->blockStorage() == EbsStd140); in IsInStd140UniformBlock() [all …]
|
D | OutputGLSLBase.cpp | 3 // Use of this source code is governed by a BSD-style license that can be 25 if (node->getAsFunctionDefinition()) in isSingleStatement() 29 else if (node->getAsBlock()) in isSingleStatement() 33 else if (node->getAsIfElseNode()) in isSingleStatement() 37 else if (node->getAsLoopNode()) in isSingleStatement() 41 else if (node->getAsSwitchNode()) in isSingleStatement() 45 else if (node->getAsCaseNode()) in isSingleStatement() 49 else if (node->getAsPreprocessorDirective()) in isSingleStatement() 65 friend Stream &operator<<(Stream &out, CommaSeparatedListItemPrefixGenerator &gen); 69 Stream &operator<<(Stream &out, CommaSeparatedListItemPrefixGenerator &gen) in operator <<() argument [all …]
|
/third_party/skia/third_party/externals/zlib/contrib/optimizations/ |
D | chunkcopy.h | 1 /* chunkcopy.h -- fast chunk copy and set operations 4 * Use of this source code is governed by a BSD-style license that can be 14 #define Z_STATIC_ASSERT(name, assert) typedef char name[(assert) ? 1 : -1] 39 * chunk copy type: the z_vec128i_t type size should be exactly 128-bits 69 * Perform a memcpy-like operation, assuming that length is non-zero and that 74 * between `out` and `from` is at least CHUNKCOPY_CHUNK_SIZE, which we rely on 83 unsigned char FAR* out, in chunkcopy_core() argument 86 const int bump = (--len % CHUNKCOPY_CHUNK_SIZE) + 1; in chunkcopy_core() 87 storechunk(out, loadchunk(from)); in chunkcopy_core() 88 out += bump; in chunkcopy_core() [all …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLSPIRVCodeGenerator.cpp | 4 * Use of this source code is governed by a BSD-style license that can be 147 void SPIRVCodeGenerator::writeWord(int32_t word, OutputStream& out) { in writeWord() argument 148 out.write((const char*) &word, sizeof(word)); in writeWord() 186 void SPIRVCodeGenerator::writeOpCode(SpvOp_ opCode, int length, OutputStream& out) { in writeOpCode() argument 187 SkASSERT(opCode != SpvOpLoad || &out != &fConstantBuffer); in writeOpCode() 235 this->writeWord((length << 16) | opCode, out); in writeOpCode() 238 void SPIRVCodeGenerator::writeLabel(SpvId label, OutputStream& out) { in writeLabel() argument 240 this->writeInstruction(SpvOpLabel, label, out); in writeLabel() 243 void SPIRVCodeGenerator::writeInstruction(SpvOp_ opCode, OutputStream& out) { in writeInstruction() argument 244 this->writeOpCode(opCode, 1, out); in writeInstruction() [all …]
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
D | str_cat.cc | 7 // https://www.apache.org/licenses/LICENSE-2.0 35 absl::numbers_internal::FastHexToBufferZeroPad16(hex.value, end - 16); in AlphaNum() 37 piece_ = absl::string_view(end - real_width, real_width); in AlphaNum() 41 std::memset(end - 32, hex.fill, 16); in AlphaNum() 43 std::memset(end - real_width - 16, hex.fill, 16); in AlphaNum() 44 piece_ = absl::string_view(end - hex.width, hex.width); in AlphaNum() 51 char* const minfill = end - dec.width; in AlphaNum() 56 *--writer = '0' + (value % 10); in AlphaNum() 59 *--writer = '0' + value; in AlphaNum() 60 if (neg) *--writer = '-'; in AlphaNum() [all …]
|
/third_party/skia/third_party/externals/tint/src/writer/msl/ |
D | generator_impl.cc | 7 // http://www.apache.org/licenses/LICENSE-2.0 84 return IsAnyOf<ast::BreakStatement, ast::FallthroughStatement>(stmts->Last()); in last_is_break_or_fallthrough() 94 auto* target_vec_type = target_type->As<sem::Vector>(); in ScopedBitCast() 98 if (curr_type->is_scalar() && target_vec_type) { in ScopedBitCast() 99 target_type = target_vec_type->type(); in ScopedBitCast() 104 generator->EmitType(s, target_type, ""); in ScopedBitCast() 142 for (auto* var : in->AST().GlobalVariables()) { in Sanitize() 143 auto* global = in->Sem().Get<sem::GlobalVariable>(var); in Sanitize() 144 if (global && global->StorageClass() == ast::StorageClass::kStorage) { in Sanitize() 146 global->BindingPoint(), global->BindingPoint().binding); in Sanitize() [all …]
|