/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
SmsMessageBodyTest.java | 436 int byteCount = length * 2; 437 if (byteCount > MAX_USER_DATA_BYTES) { 438 values[0] = (byteCount + MAX_USER_DATA_BYTES_WITH_HEADER - 1) / 440 values[2] = ((values[0] * MAX_USER_DATA_BYTES_WITH_HEADER) - byteCount) / 2; 443 values[2] = (MAX_USER_DATA_BYTES - byteCount) / 2;
|
/dalvik/dx/src/com/android/dx/merge/ |
DexMerger.java | [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
SmsMessage.java | 722 * @param byteCount the number of bytes in the user data payload 725 String getUserDataUCS2(int byteCount) { 729 ret = new String(pdu, cur, byteCount, "utf-16"); 735 cur += byteCount; 743 * @param byteCount the number of bytes in the user data payload 746 String getUserDataKSC5601(int byteCount) { 750 ret = new String(pdu, cur, byteCount, "KSC5601"); 756 cur += byteCount; [all...] |
/libcore/luni/src/main/native/ |
org_apache_harmony_xml_ExpatParser.cpp | 415 static size_t fillBuffer(ParsingContext* parsingContext, const char* utf8, int byteCount) { 419 jcharArray javaChars = parsingContext->ensureCapacity(byteCount); 428 UnicodeString utf16(UnicodeString::fromUTF8(StringPiece(utf8, byteCount))); 429 return utf16.extract(chars.get(), byteCount, status); 1003 const char* bytes, size_t byteOffset, size_t byteCount, jboolean isFinal) { 1008 if (!XML_Parse(parser, bytes + byteOffset, byteCount, isFinal) && !env->ExceptionCheck()) { [all...] |
/dalvik/dx/src/com/android/dx/io/ |
DexIndexPrinter.java | 41 + " byteCount=" + Integer.toHexString(section.byteCount));
|
/external/sonivox/arm-fm-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/sonivox/arm-hybrid-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/sonivox/arm-wt-22k/lib_src/ |
eas_pcmdata.h | 84 EAS_I32 byteCount; /* size of file */
|
eas_imaadpcm.c | 126 pState->bytesLeft = pState->byteCount = (EAS_I32) pState->bytesLeftLoop; 321 if ((temp > pState->byteCount) && (pState->loopSamples != 0))
|
/external/yaffs2/yaffs2/ |
yaffs_tagscompat.c | 419 tags.byteCount = eTags->byteCount; 471 eTags->byteCount = tags.byteCount;
|
yaffs_guts.h | 137 unsigned byteCount:10; 175 unsigned byteCount; /* Only valid for data chunks */
|
/libcore/dalvik/src/main/java/dalvik/system/profiler/ |
BinaryHprofReader.java | 264 int byteCount = dst.length; 265 while (byteCount > 0) { 266 int bytesRead = in.read(dst, offset, byteCount); 271 byteCount -= bytesRead;
|
/external/smali/dexlib/src/main/java/org/jf/dexlib/Util/ |
ByteArrayInput.java | 289 int byteCount = cursor - startPosition; 294 return Utf8Utils.utf8BytesToString(data, startPosition, byteCount);
|
/external/webkit/Source/WebKit2/WebProcess/Plugins/Netscape/ |
NetscapePluginStream.cpp | 269 int byteCount = writeToFile(m_fileHandle, bytes, length); 270 if (byteCount != length) {
|
/libcore/luni/src/main/java/java/util/jar/ |
JarFile.java | 138 public long skip(long byteCount) throws IOException { 139 return Streams.skipByReading(this, byteCount);
|
/external/icu4c/test/intltest/ |
tscoll.cpp | 383 int32_t i, byteCount; 384 const uint8_t *bytes = source.getByteArray(byteCount); 389 for (i = 0; i < byteCount; i += 1)
|
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 133 private static long translateLockLength(long byteCount) { 135 return (byteCount == Long.MAX_VALUE) ? 0 : byteCount;
|
/dalvik/dx/src/com/android/dx/dex/ |
TableOfContents.java | 154 section.byteCount = end - section.off; 217 public int byteCount = 0;
|
/external/skia/src/core/ |
SkMetaData.cpp | 107 void SkMetaData::setData(const char name[], const void* data, size_t byteCount) { 108 (void)this->set(name, data, sizeof(char), kData_Type, byteCount);
|
/frameworks/base/opengl/java/android/opengl/ |
GLLogWrapper.java | 930 private ByteBuffer toByteBuffer(int byteCount, Buffer input) { 932 boolean convertWholeBuffer = (byteCount < 0); 937 byteCount = input2.limit() - position; 939 result = ByteBuffer.allocate(byteCount).order(input2.order()); 940 for (int i = 0; i < byteCount; i++) { 948 byteCount = (input2.limit() - position) * 2; 950 result = ByteBuffer.allocate(byteCount).order(input2.order()); 952 for (int i = 0; i < byteCount / 2; i++) { 960 byteCount = (input2.limit() - position)* 2; 962 result = ByteBuffer.allocate(byteCount).order(input2.order()) [all...] |
/external/yaffs2/yaffs2/utils/ |
mkyaffs2image.c | 219 pt->t.byteCount = SWAP32(pt->t.byteCount); 238 t.byteCount = nBytes;
|
/external/icu4c/test/cintltst/ |
ucsdetst.c | 73 int32_t byteCount = preflight(src, length, cnv); 75 char *bytes = NEW_ARRAY(char, byteCount + 1); 76 char *dest = bytes, *destLimit = bytes + byteCount + 1; 81 *byteLength = byteCount;
|
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginStream.mm | 581 int byteCount = write(m_fileDescriptor, [data bytes], dataLength); 582 if (byteCount != dataLength) {
|