Home
last modified time | relevance | path

Searched refs:bufLen (Results 1 – 25 of 66) sorted by relevance

123

/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dtzdst.c53 STATIC VOID BufferInsert(CHAR *buf, size_t bufLen, size_t positions, CHAR data) in BufferInsert() argument
55 if (bufLen <= positions) { in BufferInsert()
58 …if (memmove_s(&buf[positions + 1], bufLen - positions - 1, &buf[positions], bufLen - positions - 1… in BufferInsert()
79 STATIC BOOL TimezoneFormat(CHAR *standardString, size_t bufLen) in TimezoneFormat() argument
86 BufferInsert(standardString, bufLen, OPERATE_OFF, '+'); /* no operate is default to add */ in TimezoneFormat()
92 …BufferInsert(standardString, bufLen, HOUR_HIGH_OFF, '0'); /* hour only one bit, padding 0 to high … in TimezoneFormat()
99 …BufferInsert(standardString, bufLen, MIN_HIGH_OFF, '0'); /* minute only one bit, padding 0 to high… in TimezoneFormat()
103 BufferInsert(standardString, bufLen, HOUR_LOW_OFF + 1, ':'); in TimezoneFormat()
104 BufferInsert(standardString, bufLen, MIN_HIGH_OFF, '0'); in TimezoneFormat()
105 BufferInsert(standardString, bufLen, MIN_LOW_OFF, '0'); in TimezoneFormat()
[all …]
/third_party/node/test/parallel/
Dtest-fs-promises.js135 const bufLen = buf.length;
137 const ret = await handle.read(Buffer.alloc(bufLen), 0, 0, 0);
155 const bufLen = buf.length;
157 const ret = await handle.read(Buffer.alloc(bufLen), 0, bufLen, 0);
158 assert.strictEqual(ret.bytesRead, bufLen);
167 const bufLen = buf.length;
168 await handle.write(buf, 0, bufLen, 0);
169 const ret = await handle.read(Buffer.alloc(bufLen), 0, bufLen, 0);
170 assert.strictEqual(ret.bytesRead, bufLen);
/third_party/flutter/skia/third_party/externals/icu/source/samples/numfmt/
Dutil.cpp72 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local
73 if(bufLen < sizeof(stackBuffer)) { in uprintf()
76 buf = new char[bufLen + 1]; in uprintf()
77 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
/third_party/skia/third_party/externals/icu/source/samples/numfmt/
Dutil.cpp75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local
76 if(bufLen < sizeof(stackBuffer)) { in uprintf()
79 buf = new char[bufLen + 1]; in uprintf()
80 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
/third_party/icu/icu4c/source/samples/numfmt/
Dutil.cpp75 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local
76 if(bufLen < sizeof(stackBuffer)) { in uprintf()
79 buf = new char[bufLen + 1]; in uprintf()
80 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
/third_party/icu/icu4c/source/test/intltest/
Dnptrans.cpp159 int32_t bufLen = rsource.length(); in map() local
164 for(;bufIndex<bufLen;){ in map()
165 U16_NEXT(buffer, bufIndex, bufLen, ch); in map()
173 if(bufLen < destCapacity){ in map()
174 u_memcpy(dest, buffer, bufLen); in map()
177 return u_terminateUChars(dest, destCapacity, bufLen, &status); in map()
Ducaconf.cpp118 int32_t bufLen = (int32_t)uprv_strlen(buffer); in openTestFile() local
126 uprv_strcpy(buffer+bufLen, ext); in openTestFile()
131 uprv_strcpy(buffer+bufLen, "_SHORT"); in openTestFile()
136 uprv_strcpy(buffer+bufLen, "_STUB"); in openTestFile()
141 *(buffer+bufLen) = 0; in openTestFile()
/third_party/skia/third_party/externals/icu/source/common/
Dunifiedcache.h116 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
118 uprv_strncpy(buffer, s, bufLen); in writeDescription()
119 buffer[bufLen - 1] = 0; in writeDescription()
169 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
171 uprv_strncpy(buffer, s, bufLen); in writeDescription()
172 buffer[bufLen - 1] = 0; in writeDescription()
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dunifiedcache.h116 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
118 uprv_strncpy(buffer, s, bufLen); in writeDescription()
119 buffer[bufLen - 1] = 0; in writeDescription()
169 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
171 uprv_strncpy(buffer, s, bufLen); in writeDescription()
172 buffer[bufLen - 1] = 0; in writeDescription()
/third_party/icu/icu4c/source/common/
Dunifiedcache.h116 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
118 uprv_strncpy(buffer, s, bufLen); in writeDescription()
119 buffer[bufLen - 1] = 0; in writeDescription()
169 virtual char *writeDescription(char *buffer, int32_t bufLen) const { in writeDescription() argument
171 uprv_strncpy(buffer, s, bufLen); in writeDescription()
172 buffer[bufLen - 1] = 0; in writeDescription()
/third_party/node/deps/icu-small/source/common/
Dunifiedcache.h118 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { in writeDescription() argument
120 uprv_strncpy(buffer, s, bufLen); in writeDescription()
121 buffer[bufLen - 1] = 0; in writeDescription()
169 virtual char *writeDescription(char *buffer, int32_t bufLen) const override { in writeDescription() argument
171 uprv_strncpy(buffer, s, bufLen); in writeDescription()
172 buffer[bufLen - 1] = 0; in writeDescription()
/third_party/flutter/skia/tests/
DReadWriteAlphaTest.cpp97 size_t bufLen = nonZeroRowBytes * Y_SIZE; in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
98 std::unique_ptr<uint8_t[]> readback(new uint8_t[bufLen]); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
100 memset(readback.get(), kClearValue, bufLen); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
134 if (bufLen > 0) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
135 memset(readback.get(), kClearValue, bufLen); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
/third_party/icu/icu4c/source/tools/genrb/
Dwrtjava.cpp235 uint32_t bufLen = 0; in str_write_java() local
247 bufLen = uCharsToChars(buf,length,src,srcLen,status); in str_write_java()
258 if(bufLen+(tabCount*4) > columnCount ){ in str_write_java()
262 while(len < bufLen){ in str_write_java()
265 if (add < (bufLen-len)) { in str_write_java()
291 if(len+add<bufLen){ in str_write_java()
301 if (len + add < bufLen) { in str_write_java()
306 T_FileStream_write(out,current,bufLen-len); in str_write_java()
312 T_FileStream_write(out, buf,bufLen); in str_write_java()
Drle.h42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode…
59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* …
/third_party/skia/third_party/externals/icu/source/tools/genrb/
Dwrtjava.cpp235 uint32_t bufLen = 0; in str_write_java() local
247 bufLen = uCharsToChars(buf,length,src,srcLen,status); in str_write_java()
258 if(bufLen+(tabCount*4) > columnCount ){ in str_write_java()
262 while(len < bufLen){ in str_write_java()
265 if (add < (bufLen-len)) { in str_write_java()
291 if(len+add<bufLen){ in str_write_java()
301 if (len + add < bufLen) { in str_write_java()
306 T_FileStream_write(out,current,bufLen-len); in str_write_java()
312 T_FileStream_write(out, buf,bufLen); in str_write_java()
Drle.h42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode…
59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* …
/third_party/flutter/skia/third_party/externals/icu/source/tools/genrb/
Dwrtjava.cpp235 uint32_t bufLen = 0; in str_write_java() local
247 bufLen = uCharsToChars(buf,length,src,srcLen,status); in str_write_java()
258 if(bufLen+(tabCount*4) > columnCount ){ in str_write_java()
262 while(len < bufLen){ in str_write_java()
265 if (add < (bufLen-len)) { in str_write_java()
291 if(len+add<bufLen){ in str_write_java()
301 if (len + add < bufLen) { in str_write_java()
306 T_FileStream_write(out,current,bufLen-len); in str_write_java()
312 T_FileStream_write(out, buf,bufLen); in str_write_java()
Drle.h42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode…
59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* …
/third_party/node/deps/icu-small/source/tools/genrb/
Dwrtjava.cpp235 uint32_t bufLen = 0; in str_write_java() local
247 bufLen = uCharsToChars(buf,length,src,srcLen,status); in str_write_java()
258 if(bufLen+(tabCount*4) > columnCount ){ in str_write_java()
262 while(len < bufLen){ in str_write_java()
265 if (add < (bufLen-len)) { in str_write_java()
291 if(len+add<bufLen){ in str_write_java()
301 if (len + add < bufLen) { in str_write_java()
306 T_FileStream_write(out,current,bufLen-len); in str_write_java()
312 T_FileStream_write(out, buf,bufLen); in str_write_java()
Drle.h42 byteArrayToRLEString(const uint8_t* src,int32_t srcLen, uint16_t* buffer,int32_t bufLen, UErrorCode…
59 usArrayToRLEString(const uint16_t* src,int32_t srcLen,uint16_t* buffer, int32_t bufLen,UErrorCode* …
/third_party/icu/icu4c/source/test/perf/DateFmtPerf/
DDateFmtPerf.h134 int32_t bufLen = len + 16; in uprintf() local
136 buf = new char[bufLen + 1]; in uprintf()
220 int32_t bufLen = len + 16; in uprintf() local
222 buf = new char[bufLen + 1]; in uprintf()
670 int32_t bufLen = str.extract(0, 0x7fffffff, stackBuffer, sizeof(stackBuffer), "UTF-8"); in uprintf() local
671 if(bufLen < sizeof(stackBuffer)) { in uprintf()
674 buf = new char[bufLen + 1]; in uprintf()
675 bufLen = str.extract(0, 0x7fffffff, buf, bufLen + 1, "UTF-8"); in uprintf()
/third_party/flutter/skia/third_party/externals/icu/source/samples/datefmt/
Dutil.cpp62 int32_t bufLen = len + 16; in uprintf() local
64 buf = new char[bufLen + 1]; in uprintf()
/third_party/icu/icu4c/source/samples/translit/
Dutil.cpp62 int32_t bufLen = len + 16; in uprintf() local
64 buf = new char[bufLen + 1]; in uprintf()
/third_party/skia/third_party/externals/icu/source/samples/msgfmt/
Dutil.cpp62 int32_t bufLen = len + 16; in uprintf() local
64 buf = new char[bufLen + 1]; in uprintf()
/third_party/skia/third_party/externals/icu/source/samples/translit/
Dutil.cpp62 int32_t bufLen = len + 16; in uprintf() local
64 buf = new char[bufLen + 1]; in uprintf()

123