| /cts/tests/tests/hardware/src/android/hardware/cts/ | 
| HardwareBufferTest.java | 104         HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1,  local 106         assertTrue(buffer != null);
 107         assertEquals(2, buffer.getWidth());
 108         assertEquals(4, buffer.getHeight());
 109         assertEquals(HardwareBuffer.RGBA_8888, buffer.getFormat());
 110         assertEquals(1, buffer.getLayers());
 111         assertEquals(HardwareBuffer.USAGE_CPU_READ_RARELY, buffer.getUsage());
 113         buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBX_8888, 1,
 115         assertEquals(HardwareBuffer.RGBX_8888, buffer.getFormat());
 116         buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGB_888, 1
 139  HardwareBuffer buffer = null;  local
 184  HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1,  local
 [all...]
 | 
| /cts/tests/tests/media/src/android/media/cts/ | 
| EncoderTest.java | 182         ByteBuffer buffer = inputBuffers[index];  local 183         buffer.rewind();
 184         int size = buffer.limit();
 187             while (buffer.hasRemaining()) {
 193                     buffer.put((byte) next);
 201                 buffer.putInt(0);
 202                 buffer.putInt(0);
 203                 buffer.putInt(0);
 204                 buffer.putInt(0);
 209                     buffer.putInt(random.nextInt())
 371  ByteBuffer buffer = codec.getOutputBuffer(index);  local
 [all...]
 | 
| /dalvik/dx/src/com/android/dex/ | 
| ClassDef.java | 24     private final Dex buffer;  field in class:ClassDef 35     public ClassDef(Dex buffer, int offset, int typeIndex, int accessFlags,
 38         this.buffer = buffer;
 67         return buffer.readTypeList(interfacesOffset).getTypes();
 92         if (buffer == null) {
 97         result.append(buffer.typeNames().get(typeIndex));
 99             result.append(" extends ").append(buffer.typeNames().get(supertypeIndex));
 
 | 
| /device/generic/goldfish/lights/ | 
| lights_qemu.c | 85     char buffer[64];  local 86     snprintf( buffer, sizeof(buffer), "power:light:brightness:lcd_backlight:%d", brightness );
 87     D( "%s: lcd_backlight command: %s", __FUNCTION__, buffer );
 90     if (qemud_channel_send( fd, buffer, -1 ) < 0) {
 
 | 
| /device/generic/goldfish/wifi/wifi_hal/ | 
| netlink.cpp | 185     char buffer[8 * 1024];  local 187         int bytesReceived = ::recv(fd, buffer, sizeof(buffer), 0);
 196         char* data = buffer;
 229     char buffer[32];  local
 233                                    buffer,
 234                                    sizeof(buffer),
 
 | 
| /device/google/contexthub/firmware/os/inc/ | 
| hostIntf.h | 67         uint8_t buffer[sizeof(uint64_t) + HOSTINTF_SENSOR_DATA_MAX];  member in union:HostIntfDataBuffer::__anon1913 84 void hostIntfTxAck(void *buffer, uint8_t len);
 
 | 
| /device/google/contexthub/util/nanotool/ | 
| nanomessage.cpp | 32 bool HardwareVersionInfo::Populate(const std::vector<uint8_t>& buffer) { 33     if (buffer.size() != sizeof(VersionInfo)) {
 37     const uint8_t *data = buffer.data();
 51     char buffer[1024];  local
 52     snprintf(buffer, sizeof(buffer), format_string,
 58     return std::string(buffer);
 66     char buffer[128];  local
 67     snprintf(buffer, sizeof(buffer), format_string
 98  char buffer[128];  local
 107  char buffer[32];  local
 224  char buffer[1024];  local
 [all...]
 | 
| /device/google/cuttlefish_common/common/vsoc/shm/ | 
| screen_layout.h | 66   // The index of the buffer containing the current frame. 69   uint8_t buffer[0];  member in struct:vsoc::layout::screen::ScreenLayout
 
 | 
| /device/google/cuttlefish_common/guest/hals/gps/ | 
| gps_thread.h | 53   char buffer[GPS_DATA_BUFFER_MAX_SIZE + 1];  member in struct:__anon2008 
 | 
| /device/google/marlin/dataservices/rmnetctl/cli/ | 
| rmnetcli.c | 81 	"ERROR: Could not allocate buffer for Egress device\n" 319 		char buffer[32];  local
 320 		memset(buffer, 0, 32);
 323 			           &error_number, buffer, 32);
 325 			printf("VND name: %s\n", buffer);
 
 | 
| /device/google/marlin/health/ | 
| HealthService.cpp | 92     std::string buffer, version;  local 114     if (!android::base::ReadFileToString(std::string(kUFSHealthFile), &buffer)) {
 118     lines = android::base::Split(buffer, "\n");
 155     std::string buffer;  local
 156     if (!android::base::ReadFileToString(std::string(kDiskStatsFile), &buffer)) {
 162     std::stringstream ss(buffer);
 
 | 
| /device/google/wahoo/health/ | 
| HealthService.cpp | 92     std::string buffer, version;  local 114     if (!android::base::ReadFileToString(std::string(kUFSHealthFile), &buffer)) {
 118     lines = android::base::Split(buffer, "\n");
 159     std::string buffer;  local
 160     if (!android::base::ReadFileToString(std::string(kDiskStatsFile), &buffer)) {
 166     std::stringstream ss(buffer);
 
 | 
| /device/linaro/bootloader/arm-trusted-firmware/tools/fiptool/ | 
| fiptool.h | 45 	void                *buffer;  member in struct:image 
 | 
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ | 
| test_StringIO.py | 132     # Jython doesn't have a buffer object, so we just do a useless 133     # fake of the buffer tests.
 134     buffer = str
  variable
 137     constructor = buffer
 140     constructor = buffer
 145     with test_support.check_py3k_warnings(("buffer.. not supported",
 
 | 
| /device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/h/ | 
| ATokenBuffer.h | 61 	int k;                          // Need at least this many tokens in buffer 62 	_ANTLRTokenPtr *buffer;	// buffer used for arbitrary lookahead
  member in class:ANTLRTokenBuffer
 63 	_ANTLRTokenPtr *tp;        // pts into buffer; current token ptr
 64 	_ANTLRTokenPtr *last;      // pts to last valid token in buffer
 68 	   set, then move k-1 tokens back to the beginning of the buffer.
 69 	   We want to stay away from the end of the buffer because we have
 71 	   move tokens to the beginning of the buffer in this case).
 
 | 
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Other/Maintained/Tools/Pccts/h/ | 
| ATokenBuffer.h | 61   int k;                          // Need at least this many tokens in buffer 62   _ANTLRTokenPtr *buffer;  // buffer used for arbitrary lookahead
  member in class:ANTLRTokenBuffer
 63   _ANTLRTokenPtr *tp;        // pts into buffer; current token ptr
 64   _ANTLRTokenPtr *last;      // pts to last valid token in buffer
 68      set, then move k-1 tokens back to the beginning of the buffer.
 69      We want to stay away from the end of the buffer because we have
 71      move tokens to the beginning of the buffer in this case).
 
 | 
| /device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/SetStamp/ | 
| SetStamp.c | 83   char      buffer[LINE_MAXLEN];
  local 87   if (fgets (buffer, LINE_MAXLEN, fp) == NULL) {
 94   if (strncmp (buffer, "NOW NOW", 7) == 0) {
 106     if (strftime (buffer, LINE_MAXLEN, "%Y-%m-%d %H:%M:%S", now) == 0) {
 118     if (fputs (buffer, fp) == EOF) {
 128   // get the date and time from buffer
 131             buffer,
 180   void      *buffer,
 190   buffer          - buffer used to store data
 [all...]
 | 
| /device/linaro/hikey/bluetooth/ | 
| async_fd_watcher.cc | 107   uint8_t buffer[] = {0};  local 108   if (TEMP_FAILURE_RETRY(write(notification_write_fd_, &buffer, 1)) < 0) {
 154       char buffer[] = {0};  local
 155       TEMP_FAILURE_RETRY(read(notification_listen_fd_, buffer, 1));
 
 | 
| /external/ImageMagick/coders/ | 
| flif.c | 421     *buffer; 536   flif_status=flif_encoder_encode_memory(flifenc,&buffer,&length);
 538     WriteBlob(image,length,buffer);
 541   buffer=RelinquishMagickMemory(buffer);
 416  *buffer;  local
 
 | 
| magick.c | 13214  buffer[MagickPathExtent];  local [all...]
 | 
| sfw.c | 234     *buffer, 255     Read image into a buffer.
 259   buffer=(unsigned char *) AcquireQuantumMemory((size_t) GetBlobSize(image),
 260     sizeof(*buffer));
 261   if (buffer == (unsigned char *) NULL)
 263   count=ReadBlob(image,(size_t) GetBlobSize(image),buffer);
 265       (LocaleNCompare((char *) buffer,"SFW",3) != 0))
 271   header=SFWScan(buffer,buffer+count-1,(const unsigned char *)
 275       buffer=(unsigned char *) RelinquishMagickMemory(buffer)
 231  *buffer,  local
 [all...]
 | 
| uil.c | 170     buffer[MagickPathExtent], 299   (void) FormatLocaleString(buffer,MagickPathExtent,
 301   (void) WriteBlobString(image,buffer);
 329       (void) FormatLocaleString(buffer,MagickPathExtent,
 332       (void) FormatLocaleString(buffer,MagickPathExtent,
 336     (void) WriteBlobString(image,buffer);
 337     (void) FormatLocaleString(buffer,MagickPathExtent,"%s",
 339     (void) WriteBlobString(image,buffer);
 345   (void) FormatLocaleString(buffer,MagickPathExtent,
 347   (void) WriteBlobString(image,buffer);
 165  buffer[MagickPathExtent],  local
 [all...]
 | 
| wbmp.c | 334     buffer[5], 348     buffer[4-i]=octet | (i && (flag || octet))*(0x01 << 7);
 351   (void) WriteBlob(image,(size_t) n,buffer+5-n);
 329  buffer[5],  local
 
 | 
| /external/apache-http/src/org/apache/http/ | 
| HttpHost.java | 162         CharArrayBuffer buffer = new CharArrayBuffer(32);          local 163         buffer.append(this.schemeName);
 164         buffer.append("://");
 165         buffer.append(this.hostname);
 167             buffer.append(':');
 168             buffer.append(Integer.toString(this.port));
 170         return buffer.toString();
 180         CharArrayBuffer buffer = new CharArrayBuffer(32);          local
 181         buffer.append(this.hostname);
 183             buffer.append(':')
 [all...]
 | 
| ProtocolVersion.java | 279         CharArrayBuffer buffer = new CharArrayBuffer(16);  local 280         buffer.append(this.protocol);
 281         buffer.append('/');
 282         buffer.append(Integer.toString(this.major));
 283         buffer.append('.');
 284         buffer.append(Integer.toString(this.minor));
 285         return buffer.toString();
 
 |