/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 37 int nameLength; // not including the NULL terminator, which is not written to the file 92 LOGD(" nameLength=%d", flattenedHeader.nameLength); 95 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || 96 remainingHeader < flattenedHeader.nameLength) { 97 LOGW("Malformed V1 header remainingHeader=%d dataSize=%d nameLength=%d", remainingHeader, 98 flattenedHeader.dataSize, flattenedHeader.nameLength); 102 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); 104 LOGW("unable to allocate %d bytes", flattenedHeader.nameLength); 108 amt = read(fd, buf, flattenedHeader.nameLength); [all...] |
/external/icu4c/i18n/ |
zrule.cpp | 41 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength) { 42 UnicodeString s(nameLength==-1, name, nameLength); 44 nameLength = s.length(); 45 memcpy(name, s.getBuffer(), nameLength); 69 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings) { 70 UnicodeString s(nameLength==-1, name, nameLength); 90 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength) { 91 // UnicodeString s(nameLength==-1, name, nameLength) [all...] |
zrule.h | 75 * @param nameLength, length of the returned name 79 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 120 * @param nameLength The length of the time zone name. 127 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings); 162 * @param nameLength, length of the returned name 166 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
|
/system/media/wilhelm/tests/sandbox/ |
object.c | 95 SLint16 nameLength = -1; 96 result = (*engineEngine)->QuerySupportedExtension(engineEngine, i, NULL, &nameLength); 99 printf(" extension[%u] length = %u\n", i, nameLength); 102 assert(0 == nameLength); 105 nameLength = -1; 107 &nameLength); 114 nameLength = 0; 116 &nameLength); 123 nameLength = 1; 125 &nameLength); [all...] |
/external/webkit/Source/WebKit2/UIProcess/Launcher/mac/ |
ProcessLauncherMac.mm | 145 size_t nameLength = equalsLocation - environmentVariable; 146 if (strlen(name) != nameLength) 148 if (memcmp(environmentVariable, name, nameLength)) 156 int nameLength = strlen(name); 160 char* string = static_cast<char*>(fastMalloc(nameLength + 1 + valueLength + 1)); 161 memcpy(string, name, nameLength); 162 string[nameLength] = '='; 163 memcpy(string + nameLength + 1, value, valueLength); 164 string[nameLength + 1 + valueLength] = '\0';
|
/frameworks/base/libs/rs/driver/ |
rsdShaderCache.h | 72 uint32_t nameLength; 78 nameLength = maxName; 79 if (nameLength > 0 ) { 80 name = new char[nameLength];
|
/external/oprofile/libpopt/ |
poptconfig.c | 17 size_t nameLength; 25 nameLength = strlen(con->appName); 30 if (strncmp(line, con->appName, nameLength)) return; 32 line += nameLength;
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 257 int nameLength = Memory.peekShort(hdrBuf, LOCNAM - LOCVER, ByteOrder.LITTLE_ENDIAN) & 0xffff; 258 if (nameLength == 0) { 263 if (nameLength > nameBuf.length) { 264 nameBuf = new byte[nameLength]; 267 charBuf = new char[nameLength]; 269 Streams.readFully(in, nameBuf, 0, nameLength); 270 currentEntry = createZipEntry(ModifiedUtf8.decode(nameBuf, charBuf, 0, nameLength));
|
ZipEntry.java | 51 int nameLength = -1; 318 nameLength = ze.nameLength; 372 nameLength = it.readShort(); 380 byte[] nameBytes = new byte[nameLength];
|
ZipOutputStream.java | 93 private int offset = 0, curOffset = 0, nameLength; 183 curOffset += writeShort(cDir, nameLength); 288 nameLength = nameBytes.length; 289 if (nameLength > 0xffff) { 290 throw new IllegalArgumentException("Name too long: " + nameLength + " UTF-8 bytes"); 330 writeShort(out, nameLength);
|
/external/libpcap/ |
fad-win32.c | 225 ULONG NameLength; 228 if (!PacketGetAdapterNames(NULL, &NameLength)) 241 if (NameLength > 0) 242 AdaptersName = (char*) malloc(NameLength); 254 if (!PacketGetAdapterNames(AdaptersName, &NameLength)) {
|
inet.c | 687 ULONG NameLength = 8192; 690 if (PacketGetAdapterNames(AdaptersName,&NameLength) ) 698 ULONG NameLength = 8192; 711 if ( !PacketGetAdapterNames((PTSTR)TAdaptersName,&NameLength) )
|
/external/webkit/Source/WebCore/svg/ |
SVGGlyphElement.h | 58 , nameLength(0) 91 size_t nameLength;
|
SVGGlyphMap.h | 67 node->glyphs.last().nameLength = len;
|
SVGFont.cpp | 266 altGlyphIdentifier.nameLength = to - from; 290 if (identifier.isValid && isCompatibleGlyph(identifier, isVerticalText, language, chars, i, i + identifier.nameLength)) { 292 i += identifier.nameLength - 1; 293 m_walkerData.charsConsumed += identifier.nameLength;
|
/frameworks/base/media/libmedia/ |
MediaScanner.cpp | 183 int nameLength = strlen(name); 184 if (nameLength + 1 > pathRemaining) { 223 MediaScanResult result = doProcessDirectory(path, pathRemaining - nameLength - 1,
|
/external/webkit/Source/WebCore/platform/graphics/opentype/ |
OpenTypeUtilities.cpp | 283 unsigned short nameLength = name->nameRecords[j].length; 288 familyNameLength = nameLength; 292 subfamilyNameLength = nameLength; 296 fullNameLength = nameLength; 300 versionStringLength = nameLength;
|
/external/expat/lib/ |
xmltok.h | 143 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *); 235 (((enc)->nameLength)(enc, ptr))
|
/external/webkit/Source/WebCore/platform/graphics/opengl/ |
GraphicsContext3DOpenGL.cpp | 683 GLsizei nameLength = 0; 686 ::glGetActiveAttrib(program, index, maxAttributeSize, &nameLength, &size, &type, name); 687 if (!nameLength) 689 info.name = String(name, nameLength); 705 GLsizei nameLength = 0; 708 ::glGetActiveUniform(program, index, maxUniformSize, &nameLength, &size, &type, name); 709 if (!nameLength) 711 info.name = String(name, nameLength); [all...] |
/external/icu4c/common/ |
unames.c | 260 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, 275 while(nameLength>0) { 276 --nameLength; 288 nameLength=0; 293 while(nameLength>0) { 294 --nameLength; 310 --nameLength; 353 const uint8_t *name, uint16_t nameLength, UCharNameChoice nameChoice, 369 while(nameLength>0) { 370 --nameLength; [all...] |
/external/webkit/Source/WebCore/platform/graphics/qt/ |
GraphicsContext3DQt.cpp | [all...] |
/external/icu4c/tools/toolutil/ |
package.cpp | 920 int32_t idx, nameLength, middleLength; 929 nameLength=(int32_t)strlen(name); 930 if(nameLength<(findPrefixLength+findSuffixLength)) { 939 middleLength=nameLength-findPrefixLength-findSuffixLength; 940 if(findSuffixLength>0 && 0!=memcmp(findSuffix, name+(nameLength-findSuffixLength), findSuffixLength)) { [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
devicemanager.cc | 661 UInt32 nameLength = kAudioDeviceNameLength; 665 &nameLength, name);
|
/external/valgrind/main/coregrind/m_demangle/ |
cplus-dem.c | 3254 int namelength; local [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/ |
Xproto.h | 504 CARD16 nameLength B16; /* # of characters in name */ 679 CARD8 nameLength; /* 0 indicates end-of-reply-sequence */ 681 CARD32 length B32; /* definitely > 0, even if "nameLength" is 0 */ [all...] |