/system/media/wilhelm/src/android/ |
android_StreamPlayer.cpp | 84 sp<IMemory> mem = mBuffers.itemAt(index); 85 SLAint64 length = (SLAint64) mem->size(); 91 // a new shared mem buffer is available: let's try to fill immediately 180 // we're going to change the shared mem buffer queue, so lock it 185 sp<IMemory> mem = mBuffers.itemAt(bufferId); local 186 bufferLoc = mem->pointer(); 187 buffSize = mem->size(); 196 // 3/ notify shared mem listener that new data is available
|
/dalvik/vm/ |
LinearAlloc.cpp | 100 static inline u4* getBlockHeader(void* mem) 102 return ((u4*) mem) -1; 401 void* mem = dvmLinearAlloc(classLoader, len+1); local 402 memcpy(mem, str, len+1); 404 dvmLinearSetReadOnly(classLoader, mem); 405 return (char*) mem; 417 void* dvmLinearRealloc(Object* classLoader, void* mem, size_t newSize) 420 return realloc(mem, newSize); 422 /* make sure we have the right region (and mem != NULL) */ 423 assert(mem != NULL) [all...] |
/external/bluetooth/glib/tests/ |
memchunks.c | 62 gpointer mem); 87 GMemArea *next; /* the next mem area */ 88 GMemArea *prev; /* the previous mem area */ 89 gulong index; /* the current index into the "mem" array */ 90 gulong free; /* the number of free bytes in this mem area */ 92 gulong mark; /* is this mem area marked for deletion */ 93 gchar mem[MEM_AREA_SIZE]; /* the mem array from which atoms get allocated member in struct:_GMemArea 95 * the mem chunk "area_size". ANSI says that it 111 GMemArea *mem_areas; /* a list of all the mem areas owned by this chunk * 231 gpointer mem; local 366 gpointer mem; local 426 gpointer mem; local 523 gulong mem; local [all...] |
/external/clang/test/SemaCXX/ |
member-expr.cpp | 7 static int mem; member in class:X 18 x.mem = 1; 19 xp->mem = 2;
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 143 const llvm::MemoryBuffer *mem = PPOpts.RemappedFileBuffers[i].second; local 144 OS << mem->getBuffer();
|
/external/dbus/dbus/ |
dbus-memory.c | 166 * Whether to turn off mem pools, useful for leak checking. 482 void *mem; local 483 mem = malloc (bytes); 485 if (mem) 488 return mem; 535 void *mem; local 536 mem = calloc (bytes, 1); 538 if (mem) 541 return mem; 612 void *mem; local [all...] |
/external/dbus/tools/ |
dbus-cleanup-sockets.c | 53 void *mem; local 58 mem = malloc (bytes); 60 if (mem == NULL) 67 return mem; 73 void *mem; local 81 mem = realloc (old, bytes); 83 if (mem == NULL) 90 return mem;
|
/external/doclava/src/com/google/doclava/ |
LinkReference.java | 135 String mem; local 138 mem = text.substring(1, linkend); 141 mem = text.substring(pound + 1, linkend); 144 mem = null; 151 if (mem != null) { 152 index = mem.indexOf('('); 156 len = mem.length(); 167 char c = mem.charAt(i); 177 if (mem.length() > i+2 && mem.charAt(i+1) == '.' && mem.charAt(i+2) == '.') [all...] |
/external/grub/stage2/ |
boot.c | 322 /* Check the mem= option to limit memory used for initrd. */ 324 char *mem; local 326 mem = grub_strstr (arg, "mem="); 327 if (mem) 329 char *value = mem + 4; 397 between two options and a space after a "mem=" option isn't 401 That is, copy "mem=XXX" to the end of the command-line, and 412 the "mem" option to the kernel command line. This has its 419 enough. The "mem" option is added if neither of th [all...] |
/external/icu4c/test/cintltst/ |
trietest.c | 822 int32_t mem[UTRIE_DUMMY_SIZE/4]; local 839 utrie_unserializeDummy(&trie, mem, sizeof(mem), initialValue, leadUnitValue, make16BitTrie, &errorCode);
|
/external/icu4c/tools/toolutil/ |
toolutil.cpp | 219 UToolMemory *mem; local 225 mem=(UToolMemory *)uprv_malloc(sizeof(UToolMemory)+initialCapacity*size); 226 if(mem==NULL) { 230 mem->array=mem->staticArray; 232 uprv_strcpy(mem->name, name); 233 mem->capacity=initialCapacity; 234 mem->maxCapacity=maxCapacity; 235 mem->size=size; 236 mem->idx=0 [all...] |
/external/kernel-headers/original/linux/ |
kexec.h | 49 unsigned long mem; /* User space sees this as a (void *) ... */ member in struct:kexec_segment 57 compat_ulong_t mem; /* User space sees this as a (void *) ... */ member in struct:compat_kexec_segment
|
/external/libnfc-nxp/src/ |
phFriNfc_MifStdFormat.c | 331 void *mem = NULL; local 359 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_DEF(mem); 364 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_NFCSECT_KEYA(mem); 369 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_SCRT_KEY(mem); 375 PH_FRINFC_MFSTD_FMT_AUTH_SEND_BUF_MADSECT_KEYA(mem); 515 PHNFC_UNUSED_VARIABLE(mem); 862 uint32_t mem = PH_FRINFC_MFSTD_FMT_VAL_0; local [all...] |
/external/mesa3d/src/glsl/ |
glsl_parser_extras.h | 53 void *mem = hieralloc_zero_size(ctx, size); local 54 assert(mem != NULL); 56 return mem; 61 static void operator delete(void *mem) 63 hieralloc_free(mem);
|
/external/v8/test/cctest/ |
test-mark-compact.cc | 49 byte* mem = NewArray<byte>(20*kPointerSize); local 50 Address low = reinterpret_cast<Address>(mem); 68 DeleteArray(mem);
|
/external/valgrind/main/none/tests/arm/ |
vfp.c | 55 const unsigned int mem[] = { variable 443 : "r" (out), "r" (mem) \ 461 : "r" (out), "r" (mem) \ 477 : "r" (out), "r" (mem), "r" (SDval) \ 495 : "r" (out), "r" (mem) \ 513 : "r" (out), "r" (mem) \ 533 : "r" (endout), "r" (mem) \ 553 : "r" (in), "r" (out), "r" (mem) \ 575 : "r" (in), "r" (out), "r" (mem) \ 598 : "r" (endin), "r" (out), "r" (mem) \ [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/ |
PoolAlloc.h | 45 TAllocation(size_t size, unsigned char* mem, TAllocation* prev = 0) : 46 size(size), mem(mem), prevAlloc(prev) { 81 unsigned char* preGuard() const { return mem + headerSize(); } 86 unsigned char* mem; // beginning of our allocation (pts to header) member in class:TAllocation
|
/external/webp/src/dec/ |
frame.c | 46 uint8_t* mem; local 59 mem = (uint8_t*)dec->mem_; 60 dec->intra_t_ = (uint8_t*)mem; 61 mem += intra_pred_mode_size; 63 dec->y_t_ = (uint8_t*)mem; 64 mem += 16 * mb_w; 65 dec->u_t_ = (uint8_t*)mem; 66 mem += 8 * mb_w; 67 dec->v_t_ = (uint8_t*)mem; 68 mem += 8 * mb_w [all...] |
/frameworks/base/cmds/stagefright/ |
stream.cpp | 110 sp<IMemory> mem = mBuffers.itemAt(index); local 112 ssize_t n = read(mFd, mem->pointer(), mem->size()); 219 sp<IMemory> mem = mBuffers.itemAt(mCurrentBufferIndex); local 222 if (copy + mCurrentBufferOffset > mem->size()) { 223 copy = mem->size() - mCurrentBufferOffset; 226 memcpy((uint8_t *)mem->pointer() + mCurrentBufferOffset, data, copy); 229 if (mCurrentBufferOffset == mem->size()) {
|
/frameworks/base/libs/camera/ |
ICamera.cpp | 141 void releaseRecordingFrame(const sp<IMemory>& mem) 146 data.writeStrongBinder(mem->asBinder()); 331 sp<IMemory> mem = interface_cast<IMemory>(data.readStrongBinder()); local 332 releaseRecordingFrame(mem);
|
/frameworks/base/services/camera/libcameraservice/ |
CameraHardwareStub.cpp | 242 void CameraHardwareStub::releaseRecordingFrame(const sp<IMemory>& mem) 290 sp<MemoryBase> mem = new MemoryBase(mRawHeap, 0, w * h * 3 / 2); local 293 mDataCb(CAMERA_MSG_RAW_IMAGE, mem, NULL, mCallbackCookie); 298 sp<MemoryBase> mem = new MemoryBase(heap, 0, kCannedJpegSize); local 300 mDataCb(CAMERA_MSG_COMPRESSED_IMAGE, mem, NULL, mCallbackCookie);
|
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 38 void *mem[NB_BUFFER]; member in struct:android::VideoInfo
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
ExemptionMechanismTest.java | 191 Mock_ExemptionMechanism mem = new Mock_ExemptionMechanism(null, null, "Name"); local 192 assertNotNull(mem); 193 mem = null;
|
/system/extras/procrank/ |
procrank.c | 82 long mem[] = { 0, 0, 0, 0 }; local 98 mem[i] = atoll(num); 108 mem[0], mem[1], mem[2], mem[3]);
|
/external/chromium/third_party/libjingle/source/talk/base/ |
openssladapter.cc | 635 BIO* mem = BIO_new(BIO_s_mem()); local 636 X509_print_ex(mem, certificate, XN_FLAG_SEP_CPLUS_SPC, X509_FLAG_NO_HEADER); 637 BIO_write(mem, "\0", 1); 639 BIO_get_mem_data(mem, &buffer); 641 BIO_free(mem);
|