/external/chromium_org/third_party/angle/tests/preprocessor_tests/ |
D | input_test.cpp | 79 int maxSize = 1; in TEST() local 81 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 83 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 85 EXPECT_EQ(1u, input1.read(buf, maxSize)); in TEST() 87 EXPECT_EQ(0u, input1.read(buf, maxSize)); in TEST() 89 maxSize = 2; in TEST() 91 EXPECT_EQ(2u, input2.read(buf, maxSize)); in TEST() 93 EXPECT_EQ(1u, input2.read(buf, maxSize)); in TEST() 95 EXPECT_EQ(0u, input2.read(buf, maxSize)); in TEST() 97 maxSize = 3; in TEST() [all …]
|
/external/skia/bench/ |
D | MemsetBench.cpp | 31 MemsetBench(MemsetType type, size_t minSize, size_t maxSize) { in MemsetBench() argument 32 SkASSERT((minSize < maxSize) && (maxSize <= kBufferSize)); in MemsetBench() 34 fMaxSize = maxSize; in MemsetBench() 36 type, minSize, maxSize); in MemsetBench() 63 Memset32Bench(size_t minSize, size_t maxSize) in Memset32Bench() argument 64 : INHERITED(MEMSET32, minSize, maxSize) {} in Memset32Bench() 82 Memset16Bench(size_t minSize, size_t maxSize) in Memset16Bench() argument 83 : INHERITED(MEMSET16, minSize, maxSize) {} in Memset16Bench()
|
/external/qemu/android/utils/ |
D | system.c | 86 size_t maxSize; in _android_array_alloc() local 91 maxSize = (~(size_t)0) / itemSize; in _android_array_alloc() 92 if (count > maxSize) in _android_array_alloc() 93 AASSERT_FAIL("allocation too large (%d > %d)\n", count, maxSize); in _android_array_alloc() 110 size_t maxSize; in _android_array_realloc() local 115 maxSize = (~(size_t)0) / itemSize; in _android_array_realloc() 116 if (count > maxSize) in _android_array_realloc() 118 itemSize, count, maxSize); in _android_array_realloc()
|
/external/clang/utils/ABITest/ |
D | TypeGen.py | 320 def __init__(self, typeGen, maxSize, useIncomplete=False, useZero=False): argument 325 self.maxSize = int(maxSize) 326 self.W = useIncomplete + useZero + self.maxSize 348 def __init__(self, typeGen, useUnion, maxSize): argument 352 self.maxSize = int(maxSize) 357 if self.maxSize is aleph0: 361 for i in range(self.maxSize+1): 369 fields = map(self.typeGen.get,getNthTuple(I,self.maxSize,self.typeGen.cardinality)) 373 def __init__(self, typeGen, useReturn, maxSize): argument 377 self.maxSize = maxSize [all …]
|
D | Enumeration.py | 161 def getNthTuple(N, maxSize=aleph0, maxElement=aleph0, useDivmod=False, useLeftToRight=False): argument 172 if maxSize is aleph0: 174 bounds = [maxElement**i for i in range(1, maxSize+1)] 177 S,M = getNthPairBounded(N, maxSize, useDivmod=useDivmod) 179 def getNthTupleChecked(N, maxSize=aleph0, maxElement=aleph0, argument 182 t = GNT(N,maxSize,maxElement,useDivmod,useLeftToRight) 183 assert len(t) <= maxSize
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-319722-ArrayBuffer.js | 29 var maxSize = %MaxSmi() + 1; variable 35 ab = new ArrayBuffer(maxSize * k); 45 new constr(ab, 0, maxSize);
|
D | regress-319722-TypedArrays.js | 30 var maxSize = %MaxSmi() + 1; variable 33 new constr(maxSize);
|
/external/skia/tests/ |
D | PackBitsTest.cpp | 53 size_t maxSize = SkPackBits::ComputeMaxSize16(size); in test_pack16() local 54 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack16() 88 size_t maxSize = SkPackBits::ComputeMaxSize8(gTests[i].fCount); in test_pack8() local 91 REPORTER_ASSERT(reporter, dstSize <= maxSize); in test_pack8() 107 size_t maxSize = SkPackBits::ComputeMaxSize8(size); in test_pack8() local 108 REPORTER_ASSERT(reporter, maxSize >= dstSize); in test_pack8()
|
/external/libnfc-nxp/src/ |
D | phFriNfc_NdefMap.c | 1239 NFCSTATUS phFriNfc_NdefMap_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap,uint32_t *maxSize, ui… in phFriNfc_NdefMap_GetContainerSize() argument 1246 if( (NdefMap == NULL) || (maxSize == NULL) || (actualSize == NULL)) in phFriNfc_NdefMap_GetContainerSize() 1262 *maxSize = NdefMap->MifareULContainer.RemainingSize; in phFriNfc_NdefMap_GetContainerSize() 1280 *maxSize = NdefMap->DesfireCapContainer.NdefFileSize - 2; in phFriNfc_NdefMap_GetContainerSize() 1293 *maxSize = NdefMap->TopazContainer.RemainingSize; in phFriNfc_NdefMap_GetContainerSize() 1304 *maxSize = NdefMap->TopazContainer.NDEFRWSize; in phFriNfc_NdefMap_GetContainerSize() 1321 *maxSize = NdefMap->StdMifareContainer.remainingSize; in phFriNfc_NdefMap_GetContainerSize() 1365 *maxSize = (((30 * (16 * 3)) + (sect_index * (16 * 15))) - 4); in phFriNfc_NdefMap_GetContainerSize() 1369 *maxSize = (((actual_sect_index - 1) * (16 * 3)) - 4); in phFriNfc_NdefMap_GetContainerSize() 1373 *maxSize = (((actual_sect_index - 2) * (16 * 3)) - 4); in phFriNfc_NdefMap_GetContainerSize() [all …]
|
/external/chromium_org/third_party/angle/src/compiler/preprocessor/ |
D | Input.cpp | 32 size_t Input::read(char* buf, size_t maxSize) in read() argument 35 while ((nRead < maxSize) && (mReadLoc.sIndex < mCount)) in read() 38 size = std::min(size, maxSize); in read()
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | DiskLruCache.java | 146 private long maxSize; field in DiskLruCache 180 private DiskLruCache(File directory, int appVersion, int valueCount, long maxSize) { in DiskLruCache() argument 187 this.maxSize = maxSize; in DiskLruCache() 199 public static DiskLruCache open(File directory, int appVersion, int valueCount, long maxSize) in open() argument 201 if (maxSize <= 0) { in open() 221 DiskLruCache cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 238 cache = new DiskLruCache(directory, appVersion, valueCount, maxSize); in open() 483 return maxSize; in getMaxSize() 490 public synchronized void setMaxSize(long maxSize) { in setMaxSize() argument 491 this.maxSize = maxSize; in setMaxSize() [all …]
|
/external/lzma/CPP/Windows/ |
D | FileMapping.h | 15 WRes Create(DWORD protect, UInt64 maxSize, LPCTSTR name) in Create() argument 17 …eateFileMapping(INVALID_HANDLE_VALUE, NULL, protect, (DWORD)(maxSize >> 32), (DWORD)maxSize, name); in Create()
|
/external/chromium_org/third_party/icu/source/tools/gencmn/ |
D | gencmn.c | 51 uint32_t maxSize; in main() local 104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main() 113 maxSize, sourceTOC, verbose, NULL); in main()
|
/external/icu4c/tools/gencmn/ |
D | gencmn.c | 51 uint32_t maxSize; in main() local 104 maxSize=(uint32_t)uprv_strtoul(argv[1], NULL, 0); in main() 113 maxSize, sourceTOC, verbose, NULL); in main()
|
/external/dexmaker/src/dx/java/com/android/dx/io/instructions/ |
D | ShortArrayCodeOutput.java | 32 public ShortArrayCodeOutput(int maxSize) { in ShortArrayCodeOutput() argument 33 if (maxSize < 0) { in ShortArrayCodeOutput() 37 this.array = new short[maxSize]; in ShortArrayCodeOutput()
|
/external/eigen/test/ |
D | nomalloc.cpp | 99 const int maxSize = 16; in ctms_decompositions() local 105 maxSize, maxSize> Matrix; in ctms_decompositions() 110 maxSize, 1> Vector; in ctms_decompositions() 115 maxSize, maxSize> ComplexMatrix; in ctms_decompositions()
|
/external/proguard/src/proguard/evaluation/ |
D | Stack.java | 45 public Stack(int maxSize) in Stack() argument 47 values = new Value[maxSize]; in Stack() 77 public void reset(int maxSize) in reset() argument 80 if (maxSize > values.length) in reset() 83 values = new Value[maxSize]; in reset()
|
D | TracedStack.java | 45 public TracedStack(int maxSize) in TracedStack() argument 47 super(maxSize); in TracedStack() 49 producerStack = new Stack(maxSize); in TracedStack()
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
D | ConnectionDetachedPacketCollector.java | 59 public ConnectionDetachedPacketCollector(int maxSize) { in ConnectionDetachedPacketCollector() argument 60 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize); in ConnectionDetachedPacketCollector()
|
/external/chromium_org/third_party/WebKit/Source/core/platform/ |
D | DragImage.cpp | 207 void DragImage::fitToMaxSize(const IntSize& srcSize, const IntSize& maxSize) in fitToMaxSize() argument 214 if (srcSize.width() > maxSize.width()) { in fitToMaxSize() 215 widthResizeRatio = maxSize.width() / static_cast<float>(srcSize.width()); in fitToMaxSize() 219 if (srcSize.height() > maxSize.height()) { in fitToMaxSize() 220 heightResizeRatio = maxSize.height() / static_cast<float>(srcSize.height()); in fitToMaxSize()
|
/external/smack/src/org/jivesoftware/smack/ |
D | PacketCollector.java | 69 protected PacketCollector(Connection conection, PacketFilter packetFilter, int maxSize) { in PacketCollector() argument 72 this.resultQueue = new ArrayBlockingQueue<Packet>(maxSize); in PacketCollector()
|
/external/chromium_org/chrome/installer/util/ |
D | lzma_util.cc | 26 DWORD maxSize = *size; in LzmaReadFile() local 29 BOOL res = ReadFile(file, data, maxSize, &processedLoc, NULL); in LzmaReadFile() 31 maxSize -= processedLoc; in LzmaReadFile() 39 } while (maxSize > 0); in LzmaReadFile()
|
/external/aac/libAACenc/src/ |
D | aacEnc_ram.h | 156 #define maxSize(a,b) ( ((a)>(b)) ? (a) : (b) ) macro 177 #define BUF_SIZE_1 ( ALIGN_SIZE(maxSize(sizeof(PSY_DYNAMIC), \
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
D | FlameChart.js | 829 _prepareText: function(context, title, maxSize) argument 831 if (maxSize < this._dotsWidth) 834 if (maxSize > titleWidth) 836 maxSize -= this._dotsWidth; 840 var visiblePartSize = maxSize / titleWidth; 849 } while (context.measureText(substring).width > maxSize); 855 if (maxSize > width) 862 } while (context.measureText(title.substring(0, i)).width < maxSize);
|
/external/icu4c/test/intltest/ |
D | tscoll.cpp | 503 int32_t maxSize = 100; in getOrders() local 505 LocalArray<Order> orders(new Order[maxSize]); in getOrders() 512 if (size == maxSize) in getOrders() 514 maxSize *= 2; in getOrders() 515 Order *temp = new Order[maxSize]; in getOrders() 528 if (maxSize > size) in getOrders()
|