/external/libnfc-nxp/src/ |
phFriNfc_LlcpTransport.c | 64 (memcmp(psTransport->pCachedServiceNames[i].sServiceName.buffer, psServiceName->buffer, psServiceName->length) == 0)) 134 psServiceName->buffer); 210 && !memcmp(pServiceName->buffer, pSocket->sServiceName.buffer, pServiceName->length)) 216 if (pCachedServiceName->sServiceName.buffer != NULL) 219 (memcmp(pCachedServiceName->sServiceName.buffer, pServiceName->buffer, pServiceName->length) == 0)) 231 pCachedServiceName->sServiceName.buffer = phOsalNfc_GetMemory(pServiceName->length); 232 if (pCachedServiceName->sServiceName.buffer == NULL [all...] |
/external/harfbuzz/src/ |
harfbuzz-gsub.c | 36 HB_Buffer buffer, 266 HB_Buffer buffer, 292 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 300 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 471 HB_Buffer buffer, 500 if ( ADD_String( buffer, 1, count, s, 0xFFFF, 0xFFFF ) ) 669 HB_Buffer buffer, 697 alt_index = (gsub->altfunc)( buffer->out_pos, IN_CURGLYPH(), 704 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 946 HB_Buffer buffer, [all...] |
/external/harfbuzz_ng/src/hb-old/ |
harfbuzz-gsub.c | 36 HB_Buffer buffer, 266 HB_Buffer buffer, 292 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 300 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 471 HB_Buffer buffer, 500 if ( ADD_String( buffer, 1, count, s, 0xFFFF, 0xFFFF ) ) 669 HB_Buffer buffer, 697 alt_index = (gsub->altfunc)( buffer->out_pos, IN_CURGLYPH(), 704 if ( REPLACE_Glyph( buffer, value, nesting_level ) ) 946 HB_Buffer buffer, [all...] |
/external/clang/test/CodeGenCXX/ |
mangle.cpp | 327 template <class T> void f(T, char (&buffer)[sizeof(ovl(T()))]) {} 330 char buffer[1]; local 331 f(0.0, buffer); 337 char buffer[sizeof(int)]; local 338 f(1, buffer); 343 template <class T> void g(char (&buffer)[sizeof(T() + 5.0f)]) {} 345 char buffer[sizeof(float)]; local 346 g<float>(buffer); 350 template <class T> void h(char (&buffer)[sizeof(T() + 5.0)]) {} 352 char buffer[sizeof(double)] local 358 struct A { double buffer[128]; }; member in struct:test0::A 360 char buffer[1024]; local 367 char buffer[sizeof(float)]; local [all...] |
/external/oprofile/module/ |
oprofile.c | 89 * This will mean that approaching the end of the buffer, a number of the 91 * take long; a pathological case could cause buffer overflow. 122 struct op_sample * samples = &data->buffer[data->nextbuf]; 148 /* which buffer nr. is waiting to be read ? */ 169 /* if we reach the end of the buffer, just pin 175 printk(KERN_WARNING "note buffer overflow: restart " 176 "oprofile with a larger note buffer.\n"); 264 "You must increase the module buffer size with\n" 293 oprof_data[cpu_nr].buffer, size)) 332 * for final buffer data. If it's not set, then w [all...] |
/external/skia/legacy/src/effects/ |
SkGradientShader.cpp | 45 static SkPoint unflatten_point(SkReader32& buffer) { 47 retval.fX = buffer.readScalar(); 48 retval.fY = buffer.readScalar(); 353 Gradient_Shader::Gradient_Shader(SkFlattenableReadBuffer& buffer) : 354 INHERITED(buffer) { 357 fMapper = static_cast<SkUnitMapper*>(buffer.readFlattenable()); 363 int colorCount = fColorCount = buffer.readU32(); 370 buffer.read(fOrigColors, colorCount * sizeof(SkColor)); 372 fTileMode = (TileMode)buffer.readU8(); 379 recs[i].fPos = buffer.readS32() [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/micro/ |
CodedOutputStreamMicro.java | 52 private final byte[] buffer; field in class:CodedOutputStreamMicro 59 * The buffer size used in {@link #newInstance(OutputStream)}. 63 private CodedOutputStreamMicro(final byte[] buffer, final int offset, 66 this.buffer = buffer; 71 private CodedOutputStreamMicro(final OutputStream output, final byte[] buffer) { 73 this.buffer = buffer; 75 limit = buffer.length; 88 * {@code OutputStream} with a given buffer size [all...] |
/external/zlib/src/contrib/minizip/ |
miniunz.c | 141 char *buffer ; local 148 buffer = (char*)malloc(len+1); 149 if (buffer==NULL) 154 strcpy(buffer,newdir); 156 if (buffer[len-1] == '/') { 157 buffer[len-1] = '\0'; 159 if (mymkdir(buffer) == 0) 161 free(buffer); 165 p = buffer+1; 174 if ((mymkdir(buffer) == -1) && (errno == ENOENT) [all...] |
/frameworks/opt/net/voip/src/java/android/net/sip/ |
SimpleSessionDescription.java | 138 StringBuilder buffer = new StringBuilder(); local 139 mFields.write(buffer); 141 media.write(buffer); 143 return buffer.toString(); 368 private void write(StringBuilder buffer) { 369 buffer.append("m=").append(mType).append(' ').append(mPort); 371 buffer.append('/').append(mPortCount); 373 buffer.append(' ').append(mProtocol); 375 buffer.append(' ').append(format); 377 buffer.append("\r\n") [all...] |
/hardware/msm7k/libaudio-qsd8k/ |
AudioHardware.cpp | 968 ALOGD("Total %d bytes put to user space buffer.\n", fwimg.img_size); 1476 char buffer[SIZE]; local 1692 char buffer[SIZE]; local 1944 char buffer[SIZE]; local [all...] |
/hardware/qcom/media/mm-video/vidc/venc/inc/ |
omx_video_base.h | 215 virtual bool dev_fill_buf(void *buffer, void *,unsigned,unsigned) = 0; 224 void omx_release_meta_buffer(OMX_BUFFERHEADERTYPE *buffer); 242 OMX_BUFFERHEADERTYPE *buffer 249 OMX_BUFFERHEADERTYPE *buffer 256 OMX_BUFFERHEADERTYPE *buffer 311 OMX_U8 *buffer); 350 // First Buffer Pending 352 // Second Buffer Pending 377 //Buffer Done callbacks from the venc component thread context 381 //Buffer Done callbacks from the venc component thread contex [all...] |
/libcore/luni/src/main/java/java/net/ |
PlainSocketImpl.java | 239 @Override public int read(byte[] buffer, int offset, int byteCount) throws IOException { 240 return socketImpl.read(buffer, offset, byteCount); 268 @Override public void write(byte[] buffer, int offset, int byteCount) throws IOException { 269 socketImpl.write(buffer, offset, byteCount); 470 byte[] buffer = new byte[] { (byte) value }; 471 Libcore.os.sendto(fd, buffer, 0, 1, MSG_OOB, null, 0); 480 private int read(byte[] buffer, int offset, int byteCount) throws IOException { 484 Arrays.checkOffsetAndCount(buffer.length, offset, byteCount); 488 int readCount = IoBridge.recvfrom(true, fd, buffer, offset, byteCount, 0, null, false); 503 private void write(byte[] buffer, int offset, int byteCount) throws IOException [all...] |
/libcore/luni/src/test/java/libcore/java/text/ |
OldMessageFormatTest.java | 167 StringBuffer buffer = new StringBuffer(); local 168 format.format(new Object[] { "0", new Double(53.863) }, buffer, 170 assertEquals("Wrong result", "54", buffer.toString()); 172 format.format(new Object[] { "0", new Double(53.863) }, buffer, 175 assertEquals("Wrong result", "5454", buffer.toString()); 177 buffer = new StringBuffer(); 184 new Integer(3), date }, buffer, new FieldPosition(MessageFormat 186 assertEquals("Choice not recursive:\n" + expected + "\n" + buffer, 187 expected, buffer.toString()); 190 new Integer(3)}, buffer, null) [all...] |
/external/libxslt/libxslt/ |
numbers.c | 156 xsltNumberFormatDecimal(xmlBufferPtr buffer, 179 /* Build buffer from back */ 209 * it is. So, we generate it into the buffer temp_char, then 225 "xsltNumberFormatDecimal: Internal buffer size exceeded"); 226 xmlBufferCat(buffer, pointer); 230 xsltNumberFormatAlpha(xmlBufferPtr buffer, 240 /* Build buffer from back */ 252 xmlBufferCCat(buffer, pointer); 256 xsltNumberFormatRoman(xmlBufferPtr buffer, 264 xmlBufferCCat(buffer, (is_upper) ? "M" : "m") 949 xmlBufferPtr buffer; local [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictIOTests.java | 100 * Makes new buffer according to BUFFER_TYPE. 111 final ByteBuffer buffer = inStream.getChannel().map( local 113 return new BinaryDictInputOutput.ByteBufferWrapper(buffer); 116 Log.e(TAG, "IOException while making buffer", e); 243 String result = " : buffer type = " 244 + ((bufferType == USE_BYTE_BUFFER) ? "byte buffer" : "byte array"); 255 final FusionDictionaryBufferInterface buffer = getBuffer(file, bufferType); local 256 assertNotNull(buffer); 261 dict = BinaryDictInputOutput.readDictionaryBinary(buffer, null); 391 final FusionDictionaryBufferInterface buffer = getBuffer(file, bufferType) [all...] |
/external/openssl/crypto/sha/asm/ |
sha256-mips.S | 91 sw $8,0($29) # offload to ring buffer 143 sw $9,4($29) # offload to ring buffer 195 sw $10,8($29) # offload to ring buffer 247 sw $11,12($29) # offload to ring buffer 299 sw $12,16($29) # offload to ring buffer 351 sw $13,20($29) # offload to ring buffer 403 sw $14,24($29) # offload to ring buffer 455 sw $15,28($29) # offload to ring buffer 507 sw $16,32($29) # offload to ring buffer 559 sw $17,36($29) # offload to ring buffer [all...] |
/external/jhead/ |
jpgfile.c | 313 // Parse the marker buffer until SOS or EOI is seen; 315 int ReadJpegSectionsFromBuffer (unsigned char* buffer, unsigned int buffer_size, ReadMode_t ReadMode) 321 if (!buffer) { 329 a = (int) buffer[pos++]; 331 if (a != 0xff || buffer[pos++] != M_SOI){ 344 marker = buffer[pos++]; 356 lh = buffer[pos++]; 357 ll = buffer[pos++]; 384 memcpy(Data+2, buffer+pos, itemlen-2); // Read the whole section. 409 memcpy(Data, buffer+pos, size) [all...] |
/external/libusb_aah/libusb/ |
libusb.h | 817 /** Automatically free() transfer buffer during libusb_free_transfer() */ 910 /** Length of the data buffer */ 925 /** Data buffer */ 926 unsigned char *buffer; member in struct:libusb_transfer 1018 * buffer, as the setup packet comes first. 1021 * or situations where you have already allocated a suitably sized buffer at 1022 * transfer->buffer. 1030 return transfer->buffer + LIBUSB_CONTROL_SETUP_SIZE; [all...] |
/external/webkit/Source/WebCore/bridge/objc/ |
objc_class.mm | 80 char* buffer = fixedSizeBuffer; 82 if (!convertJSMethodNameToObjc(jsName.data(), buffer, sizeof(fixedSizeBuffer))) { 84 buffer = new char[length]; 85 if (!buffer || !convertJSMethodNameToObjc(jsName.data(), buffer, length)) 90 RetainPtr<CFStringRef> methodName(AdoptCF, CFStringCreateWithCString(NULL, buffer, kCFStringEncodingASCII)); 130 if ((mappedName && [mappedName isEqual:(NSString*)methodName.get()]) || strcmp(objcMethodSelectorName, buffer) == 0) { 146 if (buffer != fixedSizeBuffer) 147 delete [] buffer;
|
/external/dhcpcd/ |
bpf.c | 93 /* Get the required BPF buffer length from the kernel. */ 97 free(iface->buffer); 99 iface->buffer = xmalloc(buf_len); 131 free(iface->buffer); 132 iface->buffer = NULL; 159 /* BPF requires that we read the entire buffer. 160 * So we pass the buffer in the API so we can loop on >1 packet. */ 180 bytes = read(fd, iface->buffer, iface->buffer_size); 189 memcpy(&packet, iface->buffer + iface->buffer_pos, 195 goto next; /* Packet beyond buffer, drop. * [all...] |
/external/e2fsprogs/lib/ext2fs/ |
namei.c | 32 char *buffer = 0; local 51 retval = ext2fs_get_mem(fs->blocksize, &buffer); 54 retval = io_channel_read_blk(fs->io, ei.i_block[0], 1, buffer); 56 ext2fs_free_mem(&buffer); 59 pathname = buffer; 64 if (buffer) 65 ext2fs_free_mem(&buffer);
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.test.performance.ui/src/org/eclipse/test/performance/ui/ |
FingerPrint.java | 64 StringBuffer buffer = new StringBuffer("FP_"); local 66 buffer.append(this.component); 67 buffer.append('_'); 69 buffer.append(DB_Results.getDbBaselineRefVersion()); 70 buffer.append('_'); 71 buffer.append(buildName); 72 String filePrefix = buffer.toString();
|
/external/jpeg/ |
jcmainct.c | 8 * This file contains the main buffer controller for compression. 9 * The main buffer lies between the pre-processor and the JPEG 18 /* Note: currently, there is no operating mode in which a full-image buffer 26 /* Private buffer controller object */ 36 /* If using just a strip buffer, this points to the entire set of buffers 40 JSAMPARRAY buffer[MAX_COMPONENTS]; member in struct:__anon9361 109 * where we have only a strip buffer. 120 /* Read input data if we haven't filled the main buffer yet */ 124 main->buffer, &main->rowgroup_ctr, 135 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { [all...] |
/external/qemu/distrib/jpeg-6b/ |
jcmainct.c | 8 * This file contains the main buffer controller for compression. 9 * The main buffer lies between the pre-processor and the JPEG 18 /* Note: currently, there is no operating mode in which a full-image buffer 26 /* Private buffer controller object */ 36 /* If using just a strip buffer, this points to the entire set of buffers 40 JSAMPARRAY buffer[MAX_COMPONENTS]; member in struct:__anon13201 109 * where we have only a strip buffer. 120 /* Read input data if we haven't filled the main buffer yet */ 124 main->buffer, &main->rowgroup_ctr, 135 if (! (*cinfo->coef->compress_data) (cinfo, main->buffer)) { [all...] |
/external/sonivox/arm-fm-22k/lib_src/ |
eas_imelody.c | 114 { /* dpp: EAS_ReportEx(_EAS_SEVERITY_DETAIL, "PutBackChar '%c'\n", pData->buffer[pData->index]); */ } 143 static EAS_RESULT IMY_ReadLine (EAS_HW_DATA_HANDLE hwInstData, EAS_FILE_HANDLE fileHandle, EAS_I8 *buffer, EAS_I32 *pStartLine); 144 static EAS_INT IMY_ParseLine (EAS_I8 *buffer, EAS_U8 *pIndex); 191 EAS_I8 buffer[MAX_LINE_SIZE+1]; local 200 if (IMY_ReadLine(pEASData->hwInstData, fileHandle, buffer, NULL) != EAS_SUCCESS) 204 if (IMY_ParseLine(buffer, &index) == TOKEN_BEGIN) 436 IMY_ReadLine(pEASData->hwInstData, pData->fileHandle, pData->buffer, &pData->startLine); [all...] |