HomeSort by relevance Sort by last modified time
    Searched refs:bufLen (Results 1 - 25 of 73) sorted by null

1 2 3

  /external/jhead/
main.c 474 static int addKeyValueString(char** buf, int bufLen, const char* key, const char* value) {
483 if (newLen >= bufLen) {
485 bufLen = newLen + 5;
486 LOGE("reallocing to %d", bufLen);
488 bufLen = newLen + 500;
490 *buf = realloc(*buf, bufLen);
496 snprintf(*buf + strlen(*buf), bufLen, "%s%s%s", key, valueLen, value);
501 return bufLen;
505 static int addKeyValueInt(char** buf, int bufLen, const char* key, int value) {
509 return addKeyValueString(buf, bufLen, key, valueStr)
    [all...]
  /libcore/luni/src/main/java/java/lang/
IntegralToString.java 138 int bufLen = radix < 8 ? 33 : 12; // Max chars in result (conservative)
139 char[] buf = new char[bufLen];
140 int cursor = bufLen;
152 return new String(cursor, bufLen - cursor, buf);
208 int bufLen = 11; // Max number of chars in result
209 char[] buf = (sb != null) ? BUFFER.get() : new char[bufLen];
210 int cursor = bufLen;
236 sb.append0(buf, cursor, bufLen - cursor);
239 return new String(cursor, bufLen - cursor, buf);
272 int bufLen = radix < 8 ? 65 : 23; // Max chars in result (conservative
    [all...]
  /external/chromium/third_party/icu/source/tools/genrb/
rle.h 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status);
57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
wrtxml.cpp 388 int32_t bufLen = 0;
399 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status);
401 trim(&buf,&bufLen);
403 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8"));
480 int32_t bufLen = 0;
499 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status);
501 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen);
607 int32_t bufLen = 0;
619 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status)
    [all...]
rle.c 148 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status) {
149 uint16_t* bufLimit = buffer+bufLen;
194 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status) {
196 uint16_t* bufLimit = buffer+bufLen;
  /external/icu4c/tools/genrb/
rle.h 40 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode* status);
57 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* status);
wrtxml.cpp 388 int32_t bufLen = 0;
399 buf = convertAndEscape(&buf, bufCapacity, &bufLen, src, srcLen,status);
401 trim(&buf,&bufLen);
403 write_utf8_file(out,UnicodeString(buf, bufLen, "UTF-8"));
480 int32_t bufLen = 0;
499 buf = convertAndEscape(&buf, 0, &bufLen, trans, transLen, status);
501 printAttribute("translate", UnicodeString(buf, bufLen, "UTF-8"), bufLen);
608 int32_t bufLen = 0;
620 buf = convertAndEscape(&buf, 0, &bufLen, res->u.fString.fChars, res->u.fString.fLength, status)
    [all...]
  /external/icu4c/samples/numfmt/
util.cpp 66 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8");
67 if(bufLen < sizeof(stackBuffer)) {
70 buf = new char[bufLen + 1];
71 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8");
  /external/icu4c/samples/datefmt/
util.cpp 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight
56 int32_t bufLen = len + 16;
58 buf = new char[bufLen + 1];
59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
  /external/icu4c/samples/msgfmt/
util.cpp 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight
56 int32_t bufLen = len + 16;
58 buf = new char[bufLen + 1];
59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
  /external/icu4c/samples/translit/
util.cpp 53 // int32_t bufLen = str.extract(0, len, buf); // Preflight
56 int32_t bufLen = len + 16;
58 buf = new char[bufLen + 1];
59 actualLen = str.extract(0, len, buf/*, bufLen*/); // Default codepage conversion
  /dalvik/libnativehelper/
JNIHelp.c 59 static void getExceptionSummary(JNIEnv* env, jthrowable exception, char* buf, size_t bufLen)
82 snprintf(buf, bufLen, "%s: %s", classNameChars, messageChars);
86 snprintf(buf, bufLen, "%s: <error getting message>", classNameChars);
90 strncpy(buf, classNameChars, bufLen);
91 buf[bufLen - 1] = '\0';
104 snprintf(buf, bufLen, "%s", "<error getting class name>");
111 static void printStackTrace(JNIEnv* env, jthrowable exception, char* buf, size_t bufLen)
143 if (messageStrLength >= (jsize) bufLen) {
144 messageStrLength = bufLen - 1;
164 getExceptionSummary(env, exception, buf, bufLen);
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
nptrans.cpp 160 int32_t bufLen = rsource.length();
165 for(;bufIndex<bufLen;){
166 U16_NEXT(buffer, bufIndex, bufLen, ch);
174 if(bufLen < destCapacity){
175 uprv_memcpy(dest,buffer,bufLen*U_SIZEOF_UCHAR);
178 return u_terminateUChars(dest, destCapacity, bufLen, &status);
ucaconf.cpp 115 int32_t bufLen = (int32_t)uprv_strlen(buffer);
123 uprv_strcpy(buffer+bufLen, ext);
128 uprv_strcpy(buffer+bufLen, "_SHORT");
133 uprv_strcpy(buffer+bufLen, "_STUB");
138 *(buffer+bufLen) = 0;
166 int32_t buflen = 0, oldBlen = 0; local
180 buflen = offset;
183 resLen = ucol_getSortKey(coll, buffer, buflen, newSk, 1024);
189 cmpres = ucol_strcoll(coll, oldB, oldBlen, buffer, buflen);
190 cmpres2 = ucol_strcoll(coll, buffer, buflen, oldB, oldBlen)
    [all...]
  /external/icu4c/test/intltest/
nptrans.cpp 160 int32_t bufLen = rsource.length();
165 for(;bufIndex<bufLen;){
166 U16_NEXT(buffer, bufIndex, bufLen, ch);
174 if(bufLen < destCapacity){
175 uprv_memcpy(dest,buffer,bufLen*U_SIZEOF_UCHAR);
178 return u_terminateUChars(dest, destCapacity, bufLen, &status);
ucaconf.cpp 115 int32_t bufLen = (int32_t)uprv_strlen(buffer);
123 uprv_strcpy(buffer+bufLen, ext);
128 uprv_strcpy(buffer+bufLen, "_SHORT");
133 uprv_strcpy(buffer+bufLen, "_STUB");
138 *(buffer+bufLen) = 0;
170 int32_t buflen = 0, oldBlen = 0; local
191 buflen = offset;
194 resLen = ucol_getSortKey(coll, buffer, buflen, newSk, 1024);
200 cmpres = ucol_strcoll(coll, oldB, oldBlen, buffer, buflen);
201 cmpres2 = ucol_strcoll(coll, buffer, buflen, oldB, oldBlen)
    [all...]
  /system/core/libcutils/
sched_policy.c 126 * the default cgroup. If the string is longer than "bufLen", the string
129 static int getSchedulerGroup(int tid, char* buf, size_t bufLen)
168 if (bufLen <= len) {
169 len = bufLen - 1;
  /external/icu4c/tools/toolutil/
toolutil.h 89 * @param bufLen the output buffer length
90 * @param status error code- may return U_BUFFER_OVERFLOW_ERROR if bufLen is too small.
91 * @return If successful, a pointer to the output buffer. If failure or bufLen is too small, NULL.
94 findDirname(const char *path, char *buffer, int32_t bufLen, UErrorCode* status);
  /external/webkit/WebCore/bridge/jni/
JNIUtility.cpp 37 static jint KJSGetCreatedJavaVMs(JavaVM** vmBuf, jsize bufLen, jsize* nVMs)
51 return functionPointer(vmBuf, bufLen, nVMs);
71 jsize bufLen = 1;
76 jniError = KJSGetCreatedJavaVMs(jvmArray, bufLen, &nJVMs);
  /frameworks/base/media/libdrm/mobile1/include/objmng/
drm_inner.h 68 int32_t (*readInputDataFunc)(int32_t inputHandle, uint8_t* buf, int32_t bufLen);
  /dalvik/vm/
Ddm.c 354 int bufLen = 4 + 4 + (stringLen * 2);
355 u1 buf[bufLen];
363 dvmDbgDdmSendChunk(CHUNK_TYPE("THNM"), bufLen, buf);
496 int bufLen = kHeaderLen + threadCount * kBytesPerEntry;
497 u1 tmpBuf[bufLen];
536 ArrayObject* arrayObj = dvmAllocPrimitiveArray('B', bufLen, ALLOC_DEFAULT);
538 memcpy(arrayObj->contents, tmpBuf, bufLen);
  /external/chromium/third_party/icu/source/common/
caniter.cpp 503 int32_t bufLen = 0;
543 //u_strcat(buff+bufLen, segment+i);
544 uprv_memcpy(buff+bufLen, segment+i, (segLen-i)*sizeof(UChar));
545 bufLen+=segLen-i;
556 U16_APPEND(buff, bufLen, bufSize, cp, overflow);
588 if (bufLen == 0) {
595 int32_t tempLen = inputLen + bufLen;
606 return getEquivalents2(fillinResult, buff, bufLen, status);
  /dalvik/vm/alloc/
DdmHeap.c 181 size_t bufLen;
228 size_t bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
233 bytesLeft = ctx->bufLen - (size_t)(ctx->p - ctx->buf);
368 ctx.bufLen = HPSx_CHUNK_SIZE;
369 ctx.buf = (u1 *)malloc(ctx.bufLen);
  /external/icu4c/common/
uloc.c     [all...]
  /bootable/recovery/minzip/
Zip.h 157 char* buf, int bufLen);

Completed in 1358 milliseconds

1 2 3