Home
last modified time | relevance | path

Searched refs:NumShorts (Results 1 – 5 of 5) sorted by relevance

/external/llvm/unittests/Support/
DTrailingObjectsTest.cpp22 unsigned NumShorts; member in __anon66f92f250111::Class1
25 size_t numTrailingObjects(OverloadToken<short>) const { return NumShorts; } in numTrailingObjects()
27 Class1(int *ShortArray, unsigned NumShorts) : NumShorts(NumShorts) { in Class1() argument
28 std::uninitialized_copy(ShortArray, ShortArray + NumShorts, in Class1()
33 static Class1 *create(int *ShortArray, unsigned NumShorts) { in create() argument
34 void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts)); in create()
35 return new (Mem) Class1(ShortArray, NumShorts); in create()
41 unsigned numShorts() const { return NumShorts; } in numShorts()
/external/llvm-project/llvm/unittests/Support/
DTrailingObjectsTest.cpp21 unsigned NumShorts; member in __anon3b787c530111::Class1
24 size_t numTrailingObjects(OverloadToken<short>) const { return NumShorts; } in numTrailingObjects()
26 Class1(int *ShortArray, unsigned NumShorts) : NumShorts(NumShorts) { in Class1() argument
27 std::uninitialized_copy(ShortArray, ShortArray + NumShorts, in Class1()
32 static Class1 *create(int *ShortArray, unsigned NumShorts) { in create() argument
33 void *Mem = ::operator new(totalSizeToAlloc<short>(NumShorts)); in create()
34 return new (Mem) Class1(ShortArray, NumShorts); in create()
40 unsigned numShorts() const { return NumShorts; } in numShorts()
/external/fonttools/Tests/varLib/
Dbuilder_test.py22 assert data.NumShorts == expected_num_shorts
58 assert data.NumShorts == expected_num_shorts
/external/fonttools/Lib/fontTools/varLib/
Dbuilder.py58 self.NumShorts = count - len(narrows)
61 self.NumShorts = 1+max(wides) if wides else 0
/external/fonttools/
DNEWS.rst1445 ``NumShorts``, i.e. the number of deltas in ItemVariationData's delta sets