/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/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/base/packages/Osu/src/com/android/anqp/ |
I18Name.java | 24 int nameLength = payload.get() & BYTE_MASK; 25 if (nameLength < Constants.LANG_CODE_LENGTH) { 26 throw new ProtocolException("Runt I18Name: " + nameLength); 31 mText = Constants.getString(payload, nameLength -
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
I18Name.java | 24 int nameLength = payload.get() & BYTE_MASK; 25 if (nameLength < Constants.LANG_CODE_LENGTH) { 26 throw new ProtocolException("Runt I18Name: " + nameLength); 31 mText = Constants.getString(payload, nameLength -
|
/external/libpcap/ |
fad-win32.c | 128 ULONG NameLength; 135 * ERROR_INSUFFICIENT_BUFFER, NameLength will be set to 137 * problem, and NameLength should be set to 0. 139 * It shouldn't require NameLength to be set, but, 141 * NameLength is big enough before it checks for a 143 * the right thing if NameLength is uninitialized and 148 NameLength = 0; 149 if (!PacketGetAdapterNames(NULL, &NameLength)) 162 if (NameLength > 0) 163 AdaptersName = (char*) malloc(NameLength); [all...] |
/frameworks/rs/driver/runtime/ |
rs_element.c | 39 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { 42 nameLength == 0 || name == 0) { 47 if (nameLength < numToCopy) { 48 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/icu/android_icu4j/src/main/java/android/icu/impl/ |
LocaleDisplayNamesImpl.java | 43 private final DisplayContext nameLength; 112 DisplayContext nameLength = DisplayContext.LENGTH_FULL; 123 nameLength = contextItem; 132 this.nameLength = nameLength; 234 result = nameLength; 396 if (nameLength == DisplayContext.LENGTH_SHORT) { 411 if (nameLength == DisplayContext.LENGTH_SHORT) { 424 if (nameLength == DisplayContext.LENGTH_SHORT) { 437 if (nameLength == DisplayContext.LENGTH_SHORT) [all...] |
/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...] |
/external/webrtc/webrtc/modules/video_capture/mac/qtkit/ |
video_capture_qtkit.mm | 65 const int32_t nameLength = 67 if(nameLength>kVideoCaptureUniqueNameLength) 71 _deviceUniqueId = new char[nameLength+1]; 72 memcpy(_deviceUniqueId, iDeviceUniqueIdUTF8,nameLength+1);
|
/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 | 156 size_t nameLength = i->FullName.size(); 157 if (nameLength <= maxNameChars) 158 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,
|
/external/llvm/lib/Support/ |
TargetParser.cpp | 33 size_t NameLength; 39 StringRef getName() const { return StringRef(NameCStr, NameLength); } 56 size_t NameLength; 66 StringRef getName() const { return StringRef(NameCStr, NameLength); } 84 size_t NameLength; 89 StringRef getName() const { return StringRef(NameCStr, NameLength); } 101 size_t NameLength; 104 StringRef getName() const { return StringRef(NameCStr, NameLength); } 117 size_t NameLength; 122 StringRef getName() const { return StringRef(NameCStr, NameLength); } [all...] |
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
SmartDialNameMatcher.java | 267 final int nameLength = displayName.length(); 270 if (nameLength < queryLength) { 296 while (nameStart < nameLength && queryStart < queryLength) { 324 while (nameStart < nameLength && 354 for (j = nameStart; j < nameLength; j++) { 361 if (j < nameLength - 1) {
|
/external/curl/lib/ |
formdata.h | 54 size_t namelength; member in struct:FormInfo
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zOut.cpp | 219 UInt32 COutArchive::GetVolHeadersSize(UInt64 dataSize, int nameLength, bool props)
222 if (nameLength != 0)
224 nameLength = (nameLength + 1) * 2;
225 result += nameLength + GetBigNumberSize(nameLength) + 2;
237 UInt64 COutArchive::GetVolPureSize(UInt64 volSize, int nameLength, bool props)
239 UInt32 headersSizeBase = COutArchive::GetVolHeadersSize(1, nameLength, props);
245 UInt32 headersSize = COutArchive::GetVolHeadersSize(testSize, nameLength, props);
|
/external/webrtc/webrtc/modules/video_capture/windows/ |
video_capture_ds.cc | 65 const int32_t nameLength = 67 if (nameLength > kVideoCaptureUniqueNameLength) 71 _deviceUniqueId = new (std::nothrow) char[nameLength + 1]; 72 memcpy(_deviceUniqueId, deviceUniqueIdUTF8, nameLength + 1);
|