HomeSort by: relevance | last modified time | path
    Searched refs:Array (Results 1 - 25 of 190) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/
arraytypes.h 13 #include "root/array.h"
16 typedef Array<class TemplateParameter *> TemplateParameters;
18 typedef Array<class Expression *> Expressions;
20 typedef Array<class Statement *> Statements;
22 typedef Array<struct BaseClass *> BaseClasses;
24 typedef Array<class ClassDeclaration *> ClassDeclarations;
26 typedef Array<class Dsymbol *> Dsymbols;
28 typedef Array<class RootObject *> Objects;
30 typedef Array<class DtorDeclaration *> DtorDeclarations;
32 typedef Array<class FuncDeclaration *> FuncDeclarations
    [all...]
arraytypes.d 24 import dmd.root.array;
28 alias Strings = Array!(const(char)*);
29 alias Identifiers = Array!(Identifier);
30 alias TemplateParameters = Array!(TemplateParameter);
31 alias Expressions = Array!(Expression);
32 alias Statements = Array!(Statement);
33 alias BaseClasses = Array!(BaseClass*);
34 alias ClassDeclarations = Array!(ClassDeclaration);
35 alias Dsymbols = Array!(Dsymbol);
36 alias Objects = Array!(RootObject)
    [all...]
compiler.h 13 #include "root/array.h"
26 // array of module patterns used to include/exclude imported modules
27 extern Array<const char*> includeModulePatterns;
28 extern Array<Module *> compiledImports;
globals.h 20 template <typename TYPE> struct Array;
39 // The state of array bounds checking
171 CHECKENABLE useArrayBounds; // when to generate code for array bounds checks
181 Array<const char *> modFileAliasStrings; // array of char*'s of -I module filename alias strings
182 Array<const char *> *imppath; // array of char*'s of where to look for import modules
183 Array<const char *> *fileImppath; // array of char*'s of where to look for file import modules
191 Array<const char *> ddocfiles; // macro include files for Ddo
    [all...]
globals.d 15 import dmd.root.array;
193 CHECKENABLE useArrayBounds = CHECKENABLE._default; // when to generate code for array bounds checks
203 Array!(const(char)*) modFileAliasStrings; // array of char*'s of -I module filename alias strings
204 Array!(const(char)*)* imppath; // array of char*'s of where to look for import modules
205 Array!(const(char)*)* fileImppath; // array of char*'s of where to look for file import modules
213 Array!(const(char)*) ddocfiles; // macro include files for Ddoc
233 Array!(const(char)*)* debugids; // debug identifier
    [all...]
compiler.d 19 import dmd.root.array;
24 // array of module patterns used to include/exclude imported modules
25 Array!(const(char)*) includeModulePatterns;
  /src/external/apache2/llvm/dist/llvm/include/llvm/Support/
BinaryStreamArray.h 1 //===- BinaryStreamArray.h - Array backed by an arbitrary stream *- C++ -*-===//
11 /// provides two different array implementations.
19 /// elements of the array need not be laid out in contiguous memory.
54 /// VarStreamArray represents an array of variable length records backed by a
128 /// given an offset into the array's underlying stream, return an
161 VarStreamArrayIterator(const ArrayType &Array, const Extractor &E,
163 : IterRef(Array.Stream.drop_front(Offset)), Extract(E),
164 Array(&Array), AbsOffset(Offset), HadError(HadError) {
181 if (Array && R.Array)
    [all...]
BinaryStreamWriter.h 144 /// Writes an array of objects of type T to the underlying stream, as if by
151 template <typename T> Error writeArray(ArrayRef<T> Array) {
152 if (Array.empty())
154 if (Array.size() > UINT32_MAX / sizeof(T))
159 ArrayRef<uint8_t>(reinterpret_cast<const uint8_t *>(Array.data()),
160 Array.size() * sizeof(T)));
163 /// Writes all data from the array \p Array to the underlying stream.
168 Error writeArray(VarStreamArray<T, U> Array) {
169 return writeStreamRef(Array.getUnderlyingStream())
    [all...]
BinaryStreamReader.h 177 /// Get a reference to a \p NumElements element array of objects of type T
178 /// from the underlying stream as if by memcpy, and store the resulting array
179 /// slice into \p array. It is up to the caller to ensure that objects of
187 Error readArray(ArrayRef<T> &Array, uint32_t NumElements) {
190 Array = ArrayRef<T>();
204 Array = ArrayRef<T>(reinterpret_cast<const T *>(Bytes.data()), NumElements);
209 /// \p Array. Updates the stream's offset to point after the newly read
210 /// array. Never causes a copy (although iterating the elements of the
217 Error readArray(VarStreamArray<T, U> &Array, uint32_t Size,
222 Array.setUnderlyingStream(S, Skew)
    [all...]
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/tests/unit/
segmented_array_test.cc 27 using AllocatorType = typename Array<TestData>::AllocatorType;
29 Array<TestData> Data(A);
34 using AllocatorType = typename Array<TestData>::AllocatorType;
36 Array<TestData> data(A);
43 using AllocatorType = typename Array<TestData>::AllocatorType;
45 Array<TestData> data(A);
53 using AllocatorType = typename Array<TestData>::AllocatorType;
55 Array<TestData> data(A);
68 using AllocatorType = typename Array<TestData>::AllocatorType;
70 Array<TestData> data(A)
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-cov/
CoverageExporterJson.cpp 17 // -- Data: array => Homogeneous array of one or more export objects
19 // -- Files: array => List of objects describing coverage for files
21 // -- Branches: array => List of Branches in the file
23 // -- Segments: array => List of Segments contained in the file
25 // -- Expansions: array => List of expansion records
28 // -- TargetRegions: array => List of Regions in the expansion
30 // -- Branches: array => List of Branches in the expansion
37 // -- Functions: array => List of objects describing coverage for functions
39 // -- Filenames: array => List of filenames that the function relates t
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/src/std/container/
array.d 2 * This module provides an `Array` type with deterministic memory usage not
7 * Source: $(PHOBOSSRC std/container/array.d)
19 module std.container.array;
29 // We test multiple array lengths in order to ensure that the "a1.capacity == a0.length" test is meaningful
37 import std.array;
39 a0 = iota (0, n).map!(i => i * 1.1f).array;
42 auto a1 = Array!float(a0);
49 // but the compiler complains: "Error: incompatible types for `(a1.opSlice()) == (a0[])`: `RangeT!(Array!float)` and `float[]`".
61 // To avoid bad performance, we check that an Array constructed from an empty range
65 Array!float a1
    [all...]
util.d 31 // constructing an std.container.Array without arguments,
34 // by passing an empty array to its constructor.
60 auto arr = make!(Array!int)([4, 2, 3, 1]);
76 auto arr1 = make!(Array!dchar)();
78 auto arr2 = make!(Array!dchar)("hello"d);
128 import std.container.array : Array;
131 static assert(__traits(compiles, { auto arr = make!Array(only(5)); }));
132 static assert(!__traits(compiles, { auto arr = make!Array(repeat(5)); }));
139 import std.container.array, std.container.rbtree, std.container.slist
    [all...]
  /src/external/gpl2/gettext/dist/gettext-tools/gnulib-lib/
argmatch.h 30 # define ARRAY_CARDINALITY(Array) (sizeof (Array) / sizeof *(Array))
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/internal/container/
array.d 2 * Array container for internal usage.
8 module core.internal.container.array;
14 struct Array(T)
123 void swap(ref Array other)
145 Array!size_t ary;
178 static assert(!__traits(compiles, { Array!size_t ary2 = ary; }));
179 Array!size_t ary2;
181 static void foo(Array!size_t copy) {}
195 Array!RC ary;
217 auto ary = Array!size_t(cast(size_t*)0xdeadbeef, -1)
    [all...]
  /src/external/gpl3/gcc.old/dist/gcc/d/dmd/root/
array.h 6 * https://github.com/dlang/dmd/blob/master/src/dmd/root/array.h
16 struct Array
25 Array(const Array&);
28 Array()
35 ~Array()
74 void append(Array *a)
81 //printf("Array::reserve: length = %d, data.length = %d, nentries = %d\n", (int)length, (int)data.length, (int)nentries);
124 void insert(d_size_t index, Array *a)
182 Array *copy(
    [all...]
filename.h 12 #include "array.h"
15 typedef Array<const char *> Strings;
  /src/sys/external/bsd/compiler_rt/dist/lib/xray/
xray_segmented_array.h 12 // Defines the implementation of a segmented array, with fixed-size segments
28 /// The Array type provides an interface similar to std::vector<...> but does
32 /// is destroyed. When an Array is destroyed, it will destroy elements in the
34 template <class T> class Array {
42 // Each segment of the array will be laid out with the following assumptions:
297 explicit Array(AllocatorType &A) XRAY_NEVER_INSTRUMENT
304 Array() XRAY_NEVER_INSTRUMENT : Alloc(nullptr),
310 Array(const Array &) = delete;
311 Array &operator=(const Array &) = delete
    [all...]
  /src/external/mit/xorg/lib/libXdmcp/
Makefile 9 SRCS= Array.c \
  /src/external/apache2/llvm/dist/llvm/lib/BinaryFormat/
MsgPackDocument.cpp 23 // Convert this DocNode into an empty array.
65 /// Array element access. This extends the array if necessary.
69 Array->resize(Index + 1, getDocument()->getEmptyNode());
71 return (*Array)[Index];
122 // If Multi, then this sets root to an array and adds top-level objects to it.
134 // Create the array for multiple top-level objects.
173 case Type::Array:
184 else if (Stack.back().Node.getKind() == Type::Array) {
185 // Reading an array entry
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/llvm-mca/Views/
InstructionView.cpp 32 json::Array SourceInfo;
39 json::Array Resources;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
SarifDiagnostics.cpp 126 {"roles", json::Array{"resultFile"}},
132 json::Array &Artifacts) {
135 // See if the Artifacts array contains this URI already. If it does not,
136 // create a new artifact object to add to the array.
147 // Calculate the index within the artifact array so it can be stored in
201 json::Array &Artifacts) {
258 json::Array &Artifacts) {
260 json::Array Locations;
276 json::Array &Artifacts) {
278 {"threadFlows", json::Array{createThreadFlow(LO, Pieces, Artifacts)}}}
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Support/
SmallPtrSet.cpp 33 // Install the new array. Clear all the buckets to empty.
42 // If more than 3/4 of the array is full, grow.
45 // If fewer of 1/8 of the array is empty (meaning that many are filled with
69 const void *const *Array = CurArray;
75 if (LLVM_LIKELY(Array[Bucket] == getEmptyMarker()))
76 return Tombstone ? Tombstone : Array+Bucket;
79 if (LLVM_LIKELY(Array[Bucket] == Ptr))
80 return Array+Bucket;
84 if (Array[Bucket] == getTombstoneMarker() && !Tombstone)
85 Tombstone = Array+Bucket; // Remember the first tombstone found
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/TableGen/
JSONBackend.cpp 53 json::Array array; local
55 array.push_back(translateInit(*Bits->getBit(i)));
56 return std::move(array);
62 json::Array array; local
64 array.push_back(translateInit(*val));
65 return std::move(array);
96 json::Array args;
98 json::Array arg
    [all...]
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/
macho.d 34 import core.internal.container.array;
88 Array!(void[]) _gcRanges;
92 Array!(void[]) _codeSegments; // array of code segments
93 Array!(DSO*) _deps; // D libraries needed by this DSO
127 * Called once per thread; returns array of thread local storage ranges
129 Array!(ThreadDSO)* initTLSRanges() @nogc nothrow
134 void finiTLSRanges(Array!(ThreadDSO)* tdsos) @nogc nothrow
138 // The memory for the array contents was already reclaimed in
142 void scanTLSRanges(Array!(ThreadDSO)* tdsos, scope ScanDG dg) nothro
    [all...]

Completed in 27 milliseconds

1 2 3 4 5 6 7 8