/frameworks/base/core/jni/ |
android_backup_BackupHelperDispatcher.cpp | 38 int nameLength; // not including the NULL terminator, which is not written to the file 93 ALOGD(" nameLength=%d", flattenedHeader.nameLength); 96 if (flattenedHeader.dataSize < 0 || flattenedHeader.nameLength < 0 || 97 remainingHeader < flattenedHeader.nameLength) { 98 ALOGW("Malformed V1 header remainingHeader=%d dataSize=%d nameLength=%d", remainingHeader, 99 flattenedHeader.dataSize, flattenedHeader.nameLength); 103 buf = keyPrefix.lockBuffer(flattenedHeader.nameLength); 105 ALOGW("unable to allocate %d bytes", flattenedHeader.nameLength); 109 amt = read(fd, buf, flattenedHeader.nameLength); [all...] |
/external/icu/icu4c/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 | 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);
|
locdspnm.cpp | 287 UDisplayContext nameLength; 352 , nameLength(UDISPCTX_LENGTH_FULL) 367 , nameLength(UDISPCTX_LENGTH_FULL) 380 nameLength = value; 521 return nameLength; 690 if (nameLength == UDISPCTX_LENGTH_SHORT) { 705 if (nameLength == UDISPCTX_LENGTH_SHORT) { 718 if (nameLength == UDISPCTX_LENGTH_SHORT) { 737 if (nameLength == UDISPCTX_LENGTH_SHORT) { 784 if (nameLength == UDISPCTX_LENGTH_SHORT) [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
I18Name.java | 24 int nameLength = payload.get() & BYTE_MASK; 25 if (nameLength < 3) { 26 throw new ProtocolException("Runt I18Name: " + nameLength); 30 mText = Constants.getString(payload, nameLength - LANG_CODE_LENGTH, StandardCharsets.UTF_8);
|
/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 | 37 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { 40 nameLength == 0 || name == 0) { 45 if (nameLength < numToCopy) { 46 numToCopy = nameLength;
|
/external/fonttools/Lib/fontTools/ttLib/tables/ |
S_I_N_G_.py | 19 nameLength: 1s 32 self.nameLength = byteord(self.nameLength) 33 assert len(rest) == self.nameLength 62 d["nameLength"] = bytechr(len(self.baseGlyphName))
|
/frameworks/rs/driver/ |
rsdShaderCache.h | 77 uint32_t nameLength; 83 nameLength = maxName; 84 if (nameLength > 0 ) { 85 name = new char[nameLength];
|
/frameworks/rs/ |
rsScriptGroup2.cpp | 21 size_t nameLength,
|
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ddk/ |
mountdev.h | 20 USHORT NameLength;
|
acpiioct.h | 126 ULONG NameLength; 132 ULONG NameLength; 171 ( (2* sizeof (ULONG)) + Child->NameLength )
|
/external/libpcap/ |
fad-win32.c | 225 ULONG NameLength; 232 * ERROR_INSUFFICIENT_BUFFER, NameLength will be set to 234 * problem, and NameLength should be set to 0. 236 * It shouldn't require NameLength to be set, but, 238 * NameLength is big enough before it checks for a 240 * the right thing if NameLength is uninitialized and 245 NameLength = 0; 246 if (!PacketGetAdapterNames(NULL, &NameLength)) 259 if (NameLength > 0) 260 AdaptersName = (char*) malloc(NameLength); [all...] |
/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/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
LocaleDisplayNamesImpl.java | 39 private final DisplayContext nameLength; 108 DisplayContext nameLength = DisplayContext.LENGTH_FULL; 119 nameLength = contextItem; 128 this.nameLength = nameLength; 230 result = nameLength; 392 if (nameLength == DisplayContext.LENGTH_SHORT) { 407 if (nameLength == DisplayContext.LENGTH_SHORT) { 420 if (nameLength == DisplayContext.LENGTH_SHORT) { 433 if (nameLength == DisplayContext.LENGTH_SHORT) [all...] |
/prebuilts/ndk/9/platforms/android-19/arch-arm/usr/include/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/ndk/9/platforms/android-19/arch-mips/usr/include/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/ndk/9/platforms/android-19/arch-x86/usr/include/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);
|
/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 | 131 size_t nameLength = i->FullName.size(); 132 if (nameLength <= maxNameChars) 133 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 | 262 final int nameLength = displayName.length(); 265 if (nameLength < queryLength) { 291 while (nameStart < nameLength && queryStart < queryLength) { 319 while (nameStart < nameLength && 349 for (j = nameStart; j < nameLength; j++) { 356 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) {
|
/frameworks/multidex/library/test/src/android/support/multidex/ |
ZipEntryReader.java | 73 int nameLength = in.getShort() & 0xffff; 81 byte[] nameBytes = new byte[nameLength];
|