/external/webkit/Source/JavaScriptCore/runtime/ |
JSArray.h | 105 ArrayStorage *storage = m_storage; local 106 ++storage->m_numValuesInVector; 107 if (i >= storage->m_length) 108 storage->m_length = i + 1; 116 ArrayStorage *storage = m_storage; local 118 ASSERT(storage->m_inCompactInitialization); 120 storage->m_vector[i].set(globalData, this, v); 192 ArrayStorage* storage = m_storage; local 194 unsigned usedVectorLength = std::min(storage->m_length, m_vectorLength); 195 markStack.appendValues(storage->m_vector, usedVectorLength, MayContainNullValues) [all...] |
JSGlobalData.cpp | 121 // Enough storage to fit a JSArray, JSByteArray, JSString, or JSFunction. 123 char storage[64]; local 125 COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage); 126 JSCell* jsArray = new (storage) JSArray(JSArray::VPtrStealingHack); 130 COMPILE_ASSERT(sizeof(JSByteArray) <= sizeof(storage), sizeof_JSByteArray_must_be_less_than_storage); 131 JSCell* jsByteArray = new (storage) JSByteArray(JSByteArray::VPtrStealingHack); 135 COMPILE_ASSERT(sizeof(JSString) <= sizeof(storage), sizeof_JSString_must_be_less_than_storage); 136 JSCell* jsString = new (storage) JSString(JSString::VPtrStealingHack); 140 COMPILE_ASSERT(sizeof(JSFunction) <= sizeof(storage), sizeof_JSFunction_must_be_less_than_storage); 141 JSCell* jsFunction = new (storage) JSFunction(JSCell::VPtrStealingHack) [all...] |
/external/wpa_supplicant_8/src/utils/ |
trace.c | 82 long storage, symcount; local 93 storage = bfd_get_symtab_upper_bound(abfd); 94 if (storage == 0) { 95 storage = bfd_get_dynamic_symtab_upper_bound(abfd); 98 if (storage < 0) { 103 syms = malloc(storage); 106 "(%ld bytes)", storage);
|
/frameworks/base/core/java/com/android/internal/os/storage/ |
ExternalStorageFormatter.java | 1 package com.android.internal.os.storage; 14 import android.os.storage.IMountService; 15 import android.os.storage.StorageEventListener; 16 import android.os.storage.StorageManager; 17 import android.os.storage.StorageVolume; 25 * Takes care of unmounting and formatting external storage. 31 public static final String FORMAT_ONLY = "com.android.internal.os.storage.FORMAT_ONLY"; 32 public static final String FORMAT_AND_FACTORY_RESET = "com.android.internal.os.storage.FORMAT_AND_FACTORY_RESET"; 36 // If non-null, the volume to format. Otherwise, will use the default external storage directory 57 Log.i(TAG, "Received storage state changed notification that " [all...] |
/frameworks/base/core/tests/coretests/src/android/os/storage/ |
StorageManagerIntegrationTest.java | 17 package android.os.storage;
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
MtpService.java | 32 import android.os.storage.StorageEventListener; 33 import android.os.storage.StorageManager; 34 import android.os.storage.StorageVolume; 52 // In PTP mode we support only primary storage 55 for (MtpStorage storage : mStorageMap.values()) { 56 addStorageLocked(storage); 67 // Unhide the storage units when the user has unlocked the lockscreen 84 MtpStorage storage = mStorageMap.remove(path); 85 if (storage != null) { 86 removeStorageLocked(storage); 195 MtpStorage storage = new MtpStorage(volume); local [all...] |
/frameworks/base/media/java/android/mtp/ |
MtpDatabase.java | 54 // path to primary storage 184 public void addStorage(MtpStorage storage) { 185 mStorageMap.put(storage.getPath(), storage); local 188 public void removeStorage(MtpStorage storage) { 189 mStorageMap.remove(storage.getPath()); 227 // check to see if the path is contained in one of our storage subdirectories 247 // check to see if the path matches one of our storage subdirectories [all...] |
/cts/tests/tests/os/src/android/os/storage/cts/ |
StorageManagerTest.java | 17 package android.os.storage.cts; 25 import android.os.storage.OnObbStateChangeListener; 26 import android.os.storage.StorageManager;
|
/dalvik/vm/native/ |
dalvik_system_VMDebug.cpp | 407 int* storage = (int*)(void*)countArray->contents; local 419 memcpy(storage, gDvm.executedInstrCounts, length * sizeof(int));
|
/external/chromium/base/win/ |
pe_image.cc | 50 EnumAllImportsStorage &storage = *reinterpret_cast<EnumAllImportsStorage*>( local 53 return image.EnumOneImportChunk(storage.callback, module, name_table, iat, 54 storage.cookie); 63 EnumAllImportsStorage &storage = *reinterpret_cast<EnumAllImportsStorage*>( local 66 return image.EnumOneDelayImportChunk(storage.callback, delay_descriptor, 68 unload_iat, storage.cookie);
|
/external/expat/tests/ |
runtests.c | 215 CharData *storage = (CharData *)userData; local 216 if (storage->count < 0 && atts != NULL && atts[0] != NULL) { 218 CharData_AppendXMLChars(storage, atts[1], -1); 227 CharData storage; local 229 CharData_Init(&storage); 230 XML_SetUserData(parser, &storage); 234 CharData_CheckXMLChars(&storage, expected); 244 CharData storage; local 246 CharData_Init(&storage); 247 XML_SetUserData(parser, &storage); 448 CharData *storage = (CharData *) userData; local 462 CharData *storage = (CharData *) userData; local 496 CharData storage; local 593 CharData *storage = (CharData *) userData; local 602 CharData storage; local 1139 CharData *storage = (CharData *) userData; local 1153 CharData *storage = (CharData *) userData; local 1162 CharData storage; local [all...] |
/external/opencv/cvaux/src/ |
cvcorrimages.cpp | 558 CvMemStorage* storage = 0; local 684 storage = cvCreateMemStorage(0); 685 // subdiv = cvCreateSubdivDelaunay2D( cvRect( 0, 0, size.width, size.height ), storage ); 686 subdiv = cvCreateSubdivDelaunay2D( cvRect( cvRound(minX)-5, cvRound(minY)-5, cvRound(maxX-minX)+10, cvRound(maxY-minY)+10 ), storage ); 687 seq = cvCreateSeq( 0, sizeof(*seq), sizeof(CvPoint2D32f), storage ); 748 cvReleaseMemStorage( &storage ); [all...] |
/external/opencv/ |
cvjni.cpp | 230 CvMemStorage* storage = cvCreateMemStorage( 0 ); // ???o??????s??????????
local 236 storage, // ???o??????s??????????
290 LOGV("Release storage");
291 cvReleaseMemStorage( &storage );
|
/external/skia/src/animator/ |
SkDisplayable.cpp | 553 void* storage = info->memberData(this); local 554 memcpy(storage, &displayable, sizeof(SkDisplayable*));
|
/external/skia/src/views/ |
SkView.cpp | 132 SkRect storage; local 144 storage = bounds; 145 rect = &storage;
|
/external/v8/src/ |
isolate.cc | 208 for (PreallocatedStorage* storage = free_list_.next_; 209 storage != &free_list_; 210 storage = storage->next_) { 211 if (storage->size_ == size) { 212 storage->Unlink(); 213 storage->LinkTo(&in_use_list_); 214 return reinterpret_cast<void*>(storage + 1); 218 for (PreallocatedStorage* storage = free_list_.next_; 219 storage != &free_list_ 250 PreallocatedStorage* storage = reinterpret_cast<PreallocatedStorage*>(p) - 1; local [all...] |
/frameworks/base/core/java/android/os/storage/ |
StorageManager.java | 17 package android.os.storage; 34 * StorageManager is the interface to the systems storage service. The storage 35 * manager handles storage-related items such as Opaque Binary Blobs (OBBs). 41 * a shared storage pool accessible from all programs. The system does not 218 * Message sent on a USB mass storage connection change. 312 * Registers a {@link android.os.storage.StorageEventListener StorageEventListener}. 314 * @param listener A {@link android.os.storage.StorageEventListener StorageEventListener} object. 329 * Unregisters a {@link android.os.storage.StorageEventListener StorageEventListener}. 331 * @param listener A {@link android.os.storage.StorageEventListener StorageEventListener} object [all...] |
/frameworks/base/core/jni/android/graphics/ |
BitmapFactory.cpp | 267 jbyteArray storage, // byte[] 271 SkStream* stream = CreateJavaInputStreamAdaptor(env, is, storage, 0); 404 void* storage = alloca(chunkSize); local 405 android::Res_png_9patch* chunk = static_cast<android::Res_png_9patch*>(storage);
|
/dalvik/tools/hprof-conv/ |
HprofConv.c | 99 unsigned char* storage; member in struct:__anon707 114 newBuf->storage = (unsigned char*) malloc(kInitialSize); 122 * Release the storage associated with an ExpandBuf. 127 free(pBuf->storage); 140 return pBuf->storage; 168 unsigned char* newStorage = realloc(pBuf->storage, newSize); 174 pBuf->storage = newStorage; 188 memcpy(pBuf->storage + pBuf->curLen, data, count); 209 pBuf->storage[pBuf->curLen++] = (unsigned char) ic; 228 actual = fread(pBuf->storage + pBuf->curLen, 1, count, in) [all...] |
/external/bluetooth/bluez/tools/ |
bccmd.c | 153 } storage[] = { variable in typeref:struct:__anon1905 682 for (i = 0; storage[i].pskey; i++) { 683 if (strcasecmp(storage[i].str, argv[0])) 686 pskey = storage[i].pskey; 757 for (i = 0; storage[i].pskey; i++) { 758 if (strcasecmp(storage[i].str, argv[0])) 761 pskey = storage[i].pskey; 860 for (i = 0; storage[i].pskey; i++) { 861 if (strcasecmp(storage[i].str, argv[0])) 864 pskey = storage[i].pskey [all...] |
/external/chromium/net/tools/flip_server/ |
balsa_headers.cc | 126 char* storage = Reserve(sp.size(), block_buffer_idx); local 127 memcpy(storage, sp.data(), sp.size()); 128 return base::StringPiece(storage, sp.size()); 153 char* storage = block->start_of_unused_bytes(); local 158 return storage; 354 char* storage = balsa_buffer_.Reserve(line_size, &block_buffer_idx); local 355 size_t base_idx = storage - GetPtr(block_buffer_idx); 357 char* cur_loc = storage; 389 char* storage = balsa_buffer_.Reserve(new_size, &block_buffer_idx); local 390 size_t base_idx = storage - GetPtr(block_buffer_idx) 829 char* storage = balsa_buffer_.Reserve(line_size, &firstline_buffer_base_idx_); local [all...] |
/external/freetype/src/truetype/ |
ttinterp.h | 181 FT_UShort storeSize; /* size of current storage */ 182 FT_Long* storage; /* storage area */ member in struct:TT_ExecContextRec_
|
ttobjs.h | 319 FT_UShort storage_size; /* The storage area is now part of */ 320 FT_Long* storage; /* the instance */ member in struct:TT_SizeRec_
|
/external/icu4c/test/cintltst/ |
trie2test.c | 546 uint32_t storage[10000]; local 566 utrie2_serialize(trie, storage, sizeof(storage), &errorCode); 607 length2=utrie2_serialize(trie, storage, sizeof(storage), &errorCode); 636 swappedLength=utrie2_swap(ds, storage, -1, NULL, &errorCode); 644 swappedLength=utrie2_swap(ds, storage, length2, swapped, &errorCode); 653 uprv_memset(storage, 0xaa, length2); 664 swappedLength=utrie2_swap(ds, swapped, length2, storage, &errorCode); 673 trie=utrie2_openFromSerialized(valueBits, storage, length2, &length3, &errorCode) [all...] |
/external/opencv/cv/src/ |
cvsegmentation.cpp | 64 icvAllocWSNodes( CvMemStorage* storage ) 72 int i, count = (storage->block_size - sizeof(CvMemBlock))/sizeof(*n) - 1; 74 CV_CALL( n = (CvWSNode*)cvMemStorageAlloc( storage, count*sizeof(*n) )); 91 CvMemStorage* storage = 0; local 118 CV_CALL( free_node = icvAllocWSNodes( storage ));\ 168 CV_CALL( storage = cvCreateMemStorage() ); 317 cvReleaseMemStorage( &storage );
|