/system/core/sdcard/ |
H A D | sdcard.c | 165 char *path, buffer[PATH_BUFFER_SIZE]; local 168 path = do_node_get_path(in_node, buffer, NULL, NO_CASE_SENSITIVE_MATCH); 228 char *path, buffer[PATH_BUFFER_SIZE]; local 230 path = node_get_path(node, buffer, 0); 256 char *path, buffer[PATH_BUFFER_SIZE]; local 263 path = node_get_path(node->parent, buffer, 0); 411 char *path, buffer[PATH_BUFFER_SIZE]; local 414 path = node_get_path(parent, buffer, name); 576 char *path, buffer[PATH_BUFFER_SIZE]; local 586 path = node_get_path(node, buffer, 636 char *path, buffer[PATH_BUFFER_SIZE]; local 655 char *path, buffer[PATH_BUFFER_SIZE]; local 672 char *path, buffer[PATH_BUFFER_SIZE]; local 681 char *path, buffer[PATH_BUFFER_SIZE]; local 745 char *path, buffer[PATH_BUFFER_SIZE]; local 770 char buffer[128 * 1024]; local 846 char *path, buffer[PATH_BUFFER_SIZE]; local 870 char buffer[8192]; local [all...] |
/system/media/mca/filterfw/java/android/filterfw/core/ |
H A D | FrameFormat.java | 329 StringBuffer buffer = new StringBuffer(); 334 buffer.append("[]"); 336 buffer.append("[" + String.valueOf(dimensions[i]) + "]"); 340 return buffer.toString(); 374 StringBuffer buffer = new StringBuffer(); 375 buffer.append("{ "); 377 buffer.append(entry.getKey() + ": " + entry.getValue() + " "); 379 buffer.append("}"); 380 return buffer.toString();
|
H A D | Frame.java | 106 public abstract void setData(ByteBuffer buffer, int offset, int length); argument 108 public void setData(ByteBuffer buffer) { argument 109 setData(buffer, 0, buffer.limit());
|
H A D | VertexFrame.java | 88 public void setData(ByteBuffer buffer, int offset, int length) { argument 90 byte[] bytes = buffer.array();
|
/system/core/libctest/ |
H A D | ctest.c | 78 char buffer[512]; local 80 while ((read = fread(buffer, sizeof(char), 512, suite->out)) > 0) { 82 fwrite(buffer, sizeof(char), read, stderr);
|
/system/media/wilhelm/tests/examples/ |
H A D | slesTestFeedback.cpp | 43 // Storage area for the buffer queues 61 // Called after audio recorder fills a buffer with data 68 // We should only be called when a recording buffer is done 72 char *buffer = rxBuffers[rxFront]; local 74 // Remove buffer from record queue 79 // Enqueue the just-filled buffer for the player 80 result = (*playerBufferQueue)->Enqueue(playerBufferQueue, buffer, bufSizeInBytes); 91 txBuffers[txRear] = buffer; 96 // Here if record has a filled buffer to play, but play queue is full. 100 // We could either try again later, or discard. For now we discard and re-use buffer 131 char *buffer = txBuffers[txFront]; local 379 char *buffer = freeBuffers[freeFront]; local [all...] |
/system/core/nexus/ |
H A D | TiwlanEventListener.cpp | 46 uint32_t *spd = (uint32_t *) data->buffer;
|
H A D | VpnController.cpp | 74 int VpnController::VpnEnabledProperty::get(int idx, int *buffer) { argument 75 *buffer = mVc->mEnabled;
|
H A D | CommandListener.cpp | 100 char buffer[256]; local 103 sprintf(buffer, "%s %u %d %s %s", 106 cli->sendMsg(ResponseCode::WifiScanResult, buffer, false); 127 char buffer[256]; local 130 sprintf(buffer, "%d:%s", (*it)->getNetworkId(), (*it)->getSsid()); 131 cli->sendMsg(ResponseCode::WifiNetworkList, buffer, false);
|
H A D | PropertyManager.cpp | 156 int PropertyManager::doGet(Property *p, int idx, char *buffer, size_t max) { argument 159 if (p->get(idx, buffer, max)) { 172 snprintf(buffer, max, "%d", tmp); 180 strncpy(buffer, inet_ntoa(tmp), max); 224 const char *PropertyManager::get(const char *name, char *buffer, size_t max) { argument 241 if (doGet((*p_it), i, buffer, max)) 243 return buffer;
|
/system/extras/tests/framebuffer/ |
H A D | refresh.c | 124 uint16_t* buffer = (uint16_t*) mmap( 130 if (buffer == MAP_FAILED) 134 memset(buffer, 0, finfo.smem_len); 135 memset(buffer, 0xff, 320*(info.yres_virtual/2)*2);
|
/system/extras/tests/sdcard/ |
H A D | sdcard_perf_test.cpp | 158 char buffer[kMinKernelVersionBufferSize] = {0, }; local 159 if (kernelVersion(buffer, sizeof(buffer)) > 0) 161 printf("# Kernel: %s", buffer); 184 char buffer[kMinSchedFeaturesBufferSize] = {0, }; local 185 if (schedFeatures(buffer, sizeof(buffer)) > 0) 187 printf("# Sched features: %s", buffer); 280 // @param chunk buffer large enough where the chunk read are written.
|
/system/media/mca/filterfw/native/core/ |
H A D | gl_frame.h | 63 // Copies the frame data to the given buffer. 64 bool CopyDataTo(uint8_t* buffer, int size); 69 // Returns the size of the buffer in bytes. 141 // Copies pixels from texture or FBO to the specified buffer. 142 bool CopyPixelsTo(uint8_t* buffer); 144 // Reads the pixels from the internal texture to the given buffer. 147 // Reads the pixels from the internal FBO to the given buffer.
|
H A D | gl_frame.cpp | 166 bool GLFrame::CopyDataTo(uint8_t* buffer, int size) { argument 168 ? CopyPixelsTo(buffer) 172 bool GLFrame::CopyPixelsTo(uint8_t* buffer) { argument 176 return ReadFboPixels(buffer); 178 return ReadTexturePixels(buffer); 371 "inefficient. Please consider using your original pixel buffer " 404 // Bind the frame buffer, and check if we it is already bound 407 // Bind the texture to the frame buffer
|
/system/media/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 17 /* interactive buffer queue test program */ 175 frame_t *buffer; local 189 buffer = sine; 193 buffer = square; 197 buffer = half; 213 buffer = sawtooth; 217 result = (*playerBufferqueue)->Enqueue(playerBufferqueue, buffer, size);
|
/system/core/toolbox/ |
H A D | nandread.c | 32 void *buffer; local 138 buffer = malloc(mtdinfo.writesize + mtdinfo.oobsize + spare_size); 139 if (!buffer) { 146 oob_data = (uint32_t *)((uint8_t *)buffer + mtdinfo.writesize); 194 ret = read(fd, buffer, mtdinfo.writesize + rawmode); 242 ret = write(outfd, buffer, mtdinfo.writesize + spare_size); 261 if (test_empty(buffer, mtdinfo.writesize + mtdinfo.oobsize + spare_size))
|
/system/bluetooth/bluedroid/ |
H A D | bluetooth.c | 77 char buffer; local 89 sz = read(fd, &buffer, 1); 96 switch (buffer) { 114 const char buffer = (on ? '1' : '0'); local 126 sz = write(fd, &buffer, 1);
|
/system/core/run-as/ |
H A D | package.c | 49 /* Copy 'srclen' string bytes from 'src' into buffer 'dst' of size 'dstlen' 50 * This function always zero-terminate the destination buffer unless 79 /* check the input buffer size */ 374 static char buffer[PACKAGES_LIST_BUFFER_SIZE]; local 384 buffer_len = read_file(PACKAGES_LIST_FILE, buffer, sizeof buffer); 388 p = buffer; 389 buffer_end = buffer + buffer_len;
|
/system/extras/procrank/ |
H A D | procrank.c | 49 char buffer[1024]; local 59 const int len = read(fd, buffer, sizeof(buffer)-1); 66 buffer[len] = 0; 88 char* p = buffer; 299 * Get the process name for a given PID. Inserts the process name into buffer 300 * buf of length len. The size of the buffer must be greater than zero to get 303 * Note that fgets(3) only declares length as an int, so our buffer size is
|
/system/core/libusbhost/ |
H A D | usbhost.c | 341 __u16 buffer[128]; local 357 memset(buffer, 0, sizeof(buffer)); 361 (USB_DT_STRING << 8) | id, languages[i], buffer, sizeof(buffer), 0); 367 string[i - 1] = buffer[i]; 454 void* buffer, 470 ctrl.data = buffer; 477 void* buffer, 490 ctrl.data = buffer; 449 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument 475 usb_device_bulk_transfer(struct usb_device *device, int endpoint, void* buffer, int length, unsigned int timeout) argument [all...] |
/system/media/mca/filterpacks/imageproc/java/ |
H A D | BlackWhiteFilter.java | 147 int[] buffer = new int[mWidth * mHeight]; 149 buffer[i] = mRandom.nextInt(255); 155 mNoiseFrame.setInts(buffer);
|
H A D | DocumentaryFilter.java | 127 int[] buffer = new int[mWidth * mHeight]; 129 buffer[i] = mRandom.nextInt(255); 138 mNoiseFrame.setInts(buffer);
|
H A D | GrainFilter.java | 157 int[] buffer = new int[mWidth * mHeight]; 159 buffer[i] = (mRandom.nextInt(256) < RAND_THRESHOLD) ? 169 mNoiseFrame.setInts(buffer);
|
H A D | LomoishFilter.java | 184 int[] buffer = new int[mWidth * mHeight]; 186 buffer[i] = mRandom.nextInt(255); 195 mNoiseFrame.setInts(buffer);
|
/system/core/fastboot/ |
H A D | usb_linux.c | 134 __u16 buffer[128]; local 137 memset(buffer, 0, sizeof(buffer)); 143 ctrl.wLength = sizeof(buffer); 144 ctrl.data = buffer; 153 info.serial_number[i - 1] = buffer[i];
|