/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 37 int nameLength; // not including the NULL terminator, which is not written to the file 92 ALOGD(" nameLength=%d", flattenedHeader.nameLength); 95 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || 96 remainingHeader < flattenedHeader.nameLength) { 97 ALOGW("Malformed V1 header remainingHeader=%d dataSize=%d nameLength=%d", remainingHeader, 98 flattenedHeader.dataSize, flattenedHeader.nameLength); 102 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); 104 ALOGW("unable to allocate %d bytes", flattenedHeader.nameLength); 108 amt = read(fd, buf, flattenedHeader.nameLength); [all...] |
/external/chromium_org/third_party/icu/source/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);
|
/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 | 70 * @param nameLength, length of the returned name 73 zrule_getName(ZRule* rule, UChar* name, int32_t nameLength); 111 * @param nameLength The length of the time zone name. 117 izrule_open(const UChar* name, int32_t nameLength, int32_t rawOffset, int32_t dstSavings); 149 * @param nameLength, length of the returned name 152 izrule_getName(IZRule* rule, UChar* & name, int32_t & nameLength);
|
/frameworks/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...] |
/frameworks/rs/driver/runtime/ |
rs_element.c | 38 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { 41 nameLength == 0 || name == 0) { 46 if (nameLength < numToCopy) { 47 numToCopy = nameLength;
|
/frameworks/rs/driver/ |
rsdShaderCache.h | 76 uint32_t nameLength; 82 nameLength = maxName; 83 if (nameLength > 0 ) { 84 name = new char[nameLength];
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/angle/ |
ANGLEPlatformBridge.cpp | 76 ANGLEGetInfoType nameLength = 0; 81 ShGetVariableInfo(compiler, symbolType, i, &nameLength, &symbol.size, &symbol.dataType, &symbol.precision, &symbol.staticUse, nameBuffer.data(), mappedNameBuffer.data()); 83 ShGetVariableInfo(compiler, symbolType, i, &nameLength, &symbol.size, &symbol.dataType, &symbol.precision, nameBuffer.data(), mappedNameBuffer.data()); 89 ShGetVariableInfo(compiler, symbolType, i, &nameLength, &symbol.size, &symbol.dataType, &symbol.precision, &symbol.staticUse, nameBuffer.data(), mappedNameBuffer.data()); 91 ShGetVariableInfo(compiler, symbolType, i, &nameLength, &symbol.size, &symbol.dataType, &symbol.precision, nameBuffer.data(), mappedNameBuffer.data()); 98 if (!nameLength)
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.h | 144 static UInt32 GetVolHeadersSize(UInt64 dataSize, int nameLength = 0, bool props = false);
145 static UInt64 GetVolPureSize(UInt64 volSize, int nameLength = 0, bool props = false);
|
7zOut.cpp | 237 UInt32 COutArchive::GetVolHeadersSize(UInt64 dataSize, int nameLength, bool props)
240 if (nameLength != 0)
242 nameLength = (nameLength + 1) * 2;
243 result += nameLength + GetBigNumberSize(nameLength) + 2;
255 UInt64 COutArchive::GetVolPureSize(UInt64 volSize, int nameLength, bool props)
257 UInt32 headersSizeBase = COutArchive::GetVolHeadersSize(1, nameLength, props);
263 UInt32 headersSize = COutArchive::GetVolHeadersSize(testSize, nameLength, props);
|
/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 | 254 int nameLength = peekShort(LOCNAM - LOCVER); 255 if (nameLength == 0) { 260 if (nameLength > nameBuf.length) { 261 nameBuf = new byte[nameLength]; 264 charBuf = new char[nameLength]; 266 Streams.readFully(in, nameBuf, 0, nameLength); 267 currentEntry = createZipEntry(ModifiedUtf8.decode(nameBuf, charBuf, 0, nameLength));
|
ZipOutputStream.java | 88 private int offset = 0, curOffset = 0, nameLength; 175 curOffset += writeShort(cDir, nameLength); 298 nameLength = nameBytes.length; 299 if (nameLength > 0xffff) { 300 throw new IllegalArgumentException("Name too long: " + nameLength + " UTF-8 bytes"); 334 writeShort(out, nameLength);
|
ZipEntry.java | 54 int nameLength = -1; 317 nameLength = ze.nameLength; 379 nameLength = it.readShort() & 0xffff; 387 byte[] nameBytes = new byte[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)) {
|
/frameworks/rs/scriptc/ |
rs_element.rsh | 71 * @param nameLength length of the provided name array 76 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength);
|
/prebuilts/sdk/renderscript/include/ |
rs_element.rsh | 71 * @param nameLength length of the provided name array 76 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/properties/ |
XmlProperty.java | 92 int nameLength = name.length(); 96 && nameLength > ATTR_LAYOUT_MARGIN.length()) { 112 if (parentTitleLength < nameLength) { 113 if (nameLength > parentTitleLength &&
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerRegistry.cpp | 130 size_t nameLength = i->FullName.size(); 131 if (nameLength <= maxNameChars) 132 optionFieldWidth = std::max(optionFieldWidth, nameLength);
|
/frameworks/av/media/libmedia/ |
MediaScanner.cpp | 183 int nameLength = strlen(name); 184 if (nameLength + 1 > pathRemaining) { 223 MediaScanResult result = doProcessDirectory(path, pathRemaining - nameLength - 1,
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialNameMatcher.java | 266 final int nameLength = displayName.length(); 269 if (nameLength < queryLength) { 295 while (nameStart < nameLength && queryStart < queryLength) { 323 while (nameStart < nameLength && 353 for (j = nameStart; j < nameLength; j++) { 360 if (j < nameLength - 1) {
|
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/ |
Field.java | 299 int nameLength = result.length();
301 for (int i = 1; i < NAME_LENGTH - nameLength; ++i) {//we start from i=1 because one space is already added
305 nameLength = result.length();
306 for (int i = 0; i < NAME_LENGTH + TYPE_LENGTH - nameLength; ++i) {
|
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
macdevicemanager.cc | 160 UInt32 nameLength = kAudioDeviceNameLength; 164 &nameLength, name);
|
/external/chromium_org/third_party/skia/src/ports/ |
SkFontConfigParser_android.cpp | 87 int nameLength = strlen(attributeName); 89 if (strncmp(attributeName, "variant", nameLength) == 0) { 95 } else if (strncmp(attributeName, "lang", nameLength) == 0) {
|