/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/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/ |
rsdShaderCache.h | 72 uint32_t nameLength; 78 nameLength = maxName; 79 if (nameLength > 0 ) { 80 name = new char[nameLength];
|
/external/webkit/Source/WebCore/svg/ |
SVGGlyphElement.h | 58 , nameLength(0) 91 size_t nameLength;
|
SVGGlyphMap.h | 67 node->glyphs.last().nameLength = len;
|
/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';
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 258 int nameLength = peekShort(LOCNAM - LOCVER); 259 if (nameLength == 0) { 264 if (nameLength > nameBuf.length) { 265 nameBuf = new byte[nameLength]; 268 charBuf = new char[nameLength]; 270 Streams.readFully(in, nameBuf, 0, nameLength); 271 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); 292 nameLength = nameBytes.length; 293 if (nameLength > 0xffff) { 294 throw new IllegalArgumentException("Name too long: " + nameLength + " UTF-8 bytes"); 334 writeShort(out, 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;
|
/frameworks/compile/libbcc/lib/Renderscript/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;
|
/external/clang/lib/StaticAnalyzer/Core/ |
CheckerRegistry.cpp | 129 size_t nameLength = i->FullName.size(); 130 if (nameLength <= maxNameChars) 131 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,
|
/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);
|
/frameworks/support/renderscript/v8/rs_support/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);
|
/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) {
|
/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/skia/src/ports/ |
FontHostConfiguration_android.cpp | 94 int nameLength = strlen(attributeName); 96 if (strncmp(attributeName, "variant", nameLength) == 0) { 102 } else if (strncmp(attributeName, "lang", nameLength) == 0) {
|
/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;
|
/sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/ |
ApiLookup.java | 775 int nameLength = name.length(); 776 compare = compare(mData, offset, (byte) '(', name, nameLength); 778 offset += nameLength; [all...] |
/external/expat/lib/ |
xmltok.h | 143 int (PTRFASTCALL *nameLength)(const ENCODING *, const char *); 235 (((enc)->nameLength)(enc, ptr))
|
/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/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...] |