/development/ndk/platforms/android-9/arch-mips/include/asm/ |
bootinfo.h | 61 phys_t size; member in struct:boot_mem_map::boot_mem_map_entry
|
/development/ndk/platforms/android-9/arch-x86/include/asm/ |
desc_32.h | 31 unsigned short size; member in struct:Xgt_desc_struct
|
desc_defs.h | 71 unsigned short size; member in struct:desc_ptr
|
/development/perftests/panorama/feature_mos/src/mosaic/ |
Pyramid.cpp | 31 int lines, size = calcStorage(width, height, border2, levels, &lines); local 35 + sizeof(short) * size, 1); 98 int size; local 100 *lines = size = 0; 103 size += (width + border2) * (height + border2); 109 return size;
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
QuickContactsDemo.java | 80 int size = cache.nameBuffer.sizeCopied; local 81 cache.nameView.setText(cache.nameBuffer.data, 0, size);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
Grid.java | 45 int size = w * h; local 48 mVertexBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 3) 50 mTexCoordBuffer = ByteBuffer.allocateDirect(FLOAT_SIZE * size * 2)
|
/device/asus/fugu/libaudio/ |
AudioHardwareInput.cpp | 85 size_t size; local 88 size = (kPeriodMsec * outputSampleRate) / 1000; 89 size = ((size + 15) / 16) * 16; 91 return size * channelCount * audio_bytes_per_sample(format); 96 size_t size = calculateInputBufferSize(config->sample_rate, local 99 return size; 133 for (size_t i = 0; i < mInputStreams.size(); i++) { 145 while (mInputStreams.size() != 0) { 155 for (size_t i = 0; i < mInputStreams.size(); i++) [all...] |
/device/generic/goldfish/libqemu/ |
test_guest_2.c | 42 " -size <size> Specify packet size\n" 93 } else if (!strcmp(arg, "-size")) { 127 int size = atoi(packetSize); local 128 if (size <= 0) { 129 fprintf(stderr, "Invalid byte size: %s\n", packetSize); 132 bufferSize = size;
|
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/ |
GLSharedGroup.h | 42 BufferData(GLsizeiptr size, void * data); 51 GLint size; member in struct:ProgramData::_IndexInfo 75 void setIndexInfo(GLuint index, GLint base, GLint size, GLenum type); 90 size_t getNumShaders() const { return m_shaders.size(); } 115 void addBufferData(GLuint bufferId, GLsizeiptr size, void * data); 116 void updateBufferData(GLuint bufferId, GLsizeiptr size, void * data); 117 GLenum subUpdateBufferData(GLuint bufferId, GLintptr offset, GLsizeiptr size, void * data); 127 void setProgramIndexInfo(GLuint program, GLuint index, GLint base, GLint size, GLenum type, const char* name);
|
/device/google/contexthub/firmware/src/ |
heap.c | 24 #define TIDX_HEAP_EXTRA 2 // must be >= 0; best if > 0, don't make it > 7, since it unnecessarily limits max heap size we can manage 38 uint32_t size: MAX_HEAP_ORDER; member in struct:HeapNode 64 static volatile uint8_t gNeedFreeMerge = false; /* cannot be bool since its size is ill defined */ 69 return (gHeapTail == node) ? NULL : (struct HeapNode*)(node->data + node->size); 74 uint32_t size = REAL_HEAP_SIZE; local 79 if (size < sizeof(struct HeapNode)) 86 node->size = size - sizeof(struct HeapNode); 101 node->size += sizeof(struct HeapNode) + next->size; [all...] |
/device/google/dragon/recovery/updater/ |
update_fw.cpp | 57 size_t size; local 61 content = fmap_read_section(src, name, &size, &offset); 68 res = flash_erase(dst, offset, size); 74 res = flash_write(dst, offset, content, size); 173 size_t size; local 186 fwid = reinterpret_cast<char*>(fmap_read_section(img, "RW_FWID_A", &size, NULL)); 194 if (!strncmp(version, fwid, size) && !force) {
|
/device/google/dragon/sensor_hub/ |
cros_ec_sensors.cpp | 389 int size = read(fd, output, IIO_MAX_NAME_LENGTH); local 391 if (size == 0) 393 if (output[size - 1] == '\n') 394 output[size - 1] = 0; 396 output[size] = 0;
|
/device/htc/flounder/thermal/ |
thermal.c | 95 static ssize_t get_temperatures(thermal_module_t *module, temperature_t *list, size_t size) { 104 if (current_index < size) { 112 if (current_index < size) { 120 if (current_index < size) { 131 if (current_index < size) { 149 size_t size = 0; local 180 if (vals != 5 || size == CPU_NUM) { 212 list[size] = (cpu_usage_t) { 213 .name = CPU_LABEL[size], 219 size++ [all...] |
/device/linaro/hikey/gralloc/ |
alloc_device.cpp | 99 static int gralloc_alloc_buffer(alloc_device_t *dev, size_t size, int usage, buffer_handle_t *pHandle) 109 ret = ion_alloc(m->ion_client, size, 0, ION_HEAP_SYSTEM_MASK, 0, &(ion_hnd)); 131 cpu_ptr = (unsigned char *)mmap(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, shared_fd, 0); 146 private_handle_t *hnd = new private_handle_t(private_handle_t::PRIV_FLAGS_USES_ION, usage, size, cpu_ptr, private_handle_t::LOCK_STATE_MAPPED); 161 ret = munmap(cpu_ptr, size); 165 AERR("munmap failed for base:%p size: %lu", cpu_ptr, (unsigned long)size); 187 size = round_up_to_page_size(size); 208 ump_mem_handle = ump_ref_drv_allocate(size, constraints) 364 size_t size; local [all...] |
/external/ImageMagick/MagickCore/ |
vision.c | 170 size; 203 size=image->columns*image->rows; 204 if (image->columns != (size/image->rows)) 209 equivalences=AcquireMatrixInfo(size,1,sizeof(ssize_t),exception); 168 size; local
|
/external/ImageMagick/coders/ |
ipl.c | 74 size, member in struct:_IPLInfo 245 ipl_info.size=ReadBlobLong(image); 324 printf("Length: %.20g, Memory size: %.20g\n", (double) length,(double) 584 ipl_info.size = (unsigned int) (28 + 605 (void) WriteBlobLong(image, ipl_info.size);
|
/external/aac/libAACdec/src/ |
aacdec_tns.cpp | 216 static void CTns_Filter (FIXP_DBL *spec, int size, int inc, FIXP_TCC coeff [], int order) 225 // - An input vector of "size" samples is processed and the index increment 237 for (i=0; i<size; i++) { 250 pSpec = &spec[size - 1]; 283 for (i = size ; i != 0 ; i--) 299 for (i = size ; i != 0 ; i--) 313 for (i = size ; i != 0 ; i--) 341 int window,index,start,stop,size; local 397 size = stop - start; 399 if (size > 0) [all...] |
/external/aac/libAACenc/src/ |
pnsparam.cpp | 192 int hUsePns=0, size, i; local 197 size = sizeof(levelTable_lowComplexity); 201 size = (numChan > 1) ? sizeof(levelTable_stereo) : sizeof(levelTable_mono); 204 for(i = 0; i < (int) (size/sizeof(AUTO_PNS_TAB)); i++) {
|
/external/aac/libSYS/src/ |
wav_file.cpp | 133 /* Read RIFF size. Ignored. */ 253 * \nBits sample size in bits to be used for the buffer 388 UINT size = 0; local 425 size = sizeof(WAV_HEADER); 426 if (FDKfwrite(&wav->header, 1, size, wav->fp) != size) 459 * \param nBufBits size in bits of each audio sample in sampleBuffer 494 /* Adapt sample size */ 529 UINT size = 0; local 544 size = sizeof(WAV_HEADER) [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
SimpleXYSeries.java | 69 * For this format x values are autogenerated using values of 0 through n-1 where n is the size of the model.
83 if(xVals.size() != yVals.size()) {
84 throw new IllegalArgumentException("xVals and yVals List parameters must be of the same size.");
107 * For this format x values are autogenerated using values of 0 through n-1 where n is the size of the model.
119 if (model == null || model.size() == 0) {
130 /*for (int i = 0; i < model.size(); i++) {
141 if (model.size() % 2 != 0) {
145 int sz = model.size() / 2;
220 if (size() <= 0) { 270 public int size() { method in class:SimpleXYSeries [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3input.h | 3 * streams from any input source. Any character size and encoding 144 void (*reuse) (struct ANTLR3_INPUT_STREAM_struct * input, pANTLR3_UINT8 inString, ANTLR3_UINT32 size, pANTLR3_UINT8 name); 160 /** Pointer to function to return the total size of the input buffer. For streams 165 ANTLR3_UINT32 (*size) (struct ANTLR3_INPUT_STREAM_struct * input); member in struct:ANTLR3_INPUT_STREAM_struct 224 /// Indicates the size, in 8 bit units, of a single character. Note that
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3rewritestreams.c | 55 static ANTLR3_UINT32 size (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream); 233 stream->size = size; 563 /// an exception unless size()==1. If size is 1, then return elements[0]. 565 /// size==1. If we've already used the element, dup (dirty bit set). 573 n = stream->size(stream); 577 // if out of elements and size is 1, dup 583 // test size above then fetch 598 /// an exception unless size()==1. If size is 1, then return elements[0] 811 size (pANTLR3_REWRITE_RULE_ELEMENT_STREAM stream) function [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/ |
ANTLRStringStream.java | 146 public int size() { method in class:ANTLRStringStream 157 if ( markDepth>=markers.size() ) {
|
DFA.java | 187 int size = 0; local 189 size += encodedString.charAt(i); 191 short[] data = new short[size]; 207 int size = 0; local 209 size += encodedString.charAt(i); 211 char[] data = new char[size];
|
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugTokenStream.java | 133 public int size() { method in class:DebugTokenStream 134 return input.size();
|