Home
last modified time | relevance | path

Searched refs:chars (Results 76 - 100 of 493) sorted by relevance

12345678910>>...20

/third_party/node/deps/zlib/
H A Dgzlib.c37 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM in gz_strwinerror() local
45 if (chars != 0) { in gz_strwinerror()
47 if (chars >= 2 in gz_strwinerror()
48 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { in gz_strwinerror()
49 chars -= 2; in gz_strwinerror()
50 msgbuf[chars] = 0; in gz_strwinerror()
53 if (chars > sizeof (buf) - 1) { in gz_strwinerror()
54 chars = sizeof (buf) - 1; in gz_strwinerror()
55 msgbuf[chars] in gz_strwinerror()
[all...]
/third_party/libwebsockets/win32port/zlib/
H A Dgzlib.c36 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
44 if (chars != 0) {
46 if (chars >= 2
47 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
48 chars -= 2;
49 msgbuf[chars] = 0;
52 if (chars > sizeof (buf) - 1) {
53 chars = sizeof (buf) - 1;
54 msgbuf[chars]
[all...]
/third_party/skia/third_party/externals/zlib/
H A Dgzlib.c40 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
48 if (chars != 0) {
50 if (chars >= 2
51 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
52 chars -= 2;
53 msgbuf[chars] = 0;
56 if (chars > sizeof (buf) - 1) {
57 chars = sizeof (buf) - 1;
58 msgbuf[chars]
[all...]
/third_party/zlib/
H A Dgzlib.c36 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM in gz_strwinerror() local
44 if (chars != 0) { in gz_strwinerror()
46 if (chars >= 2 in gz_strwinerror()
47 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') { in gz_strwinerror()
48 chars -= 2; in gz_strwinerror()
49 msgbuf[chars] = 0; in gz_strwinerror()
52 if (chars > sizeof (buf) - 1) { in gz_strwinerror()
53 chars = sizeof (buf) - 1; in gz_strwinerror()
54 msgbuf[chars] in gz_strwinerror()
[all...]
/third_party/zlib/test/
H A Dminigzip.c87 DWORD chars = FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM local
95 if (chars != 0) {
97 if (chars >= 2
98 && msgbuf[chars - 2] == '\r' && msgbuf[chars - 1] == '\n') {
99 chars -= 2;
100 msgbuf[chars] = 0;
103 if (chars > sizeof (buf) - 1) {
104 chars = sizeof (buf) - 1;
105 msgbuf[chars]
[all...]
/third_party/rust/crates/heck/src/
H A Dlib.rs179 let mut chars = s.chars().peekable(); in lowercase() variables
180 while let Some(c) = chars.next() { in lowercase()
181 if c == 'Σ' && chars.peek().is_none() { in lowercase()
192 for c in s.chars() { in uppercase()
/third_party/skia/src/core/
H A DSkWriter32.cpp30 char* chars = (char*)(ptr + 1); in writeString() local
31 memcpy(chars, str, len); in writeString()
32 chars[len] = '\0'; in writeString()
/third_party/python/Tools/unicode/
H A Dmakeunicodedata.py141 index = [0] * len(unicode.chars)
149 for char in unicode.chars:
174 decomp_index = [0] * len(unicode.chars)
178 comp_first = [None] * len(unicode.chars)
179 comp_last = [None] * len(unicode.chars)
181 for char in unicode.chars:
224 for i in unicode.chars:
399 index = [0] * len(unicode.chars)
405 for char in unicode.chars:
609 names = [None] * len(unicode.chars)
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/lang/
H A DUCharacterSurrogateTest.java189 errln("chars at: " + i); in TestCodePointAtBefore()
196 errln("chars before: " + i); in TestCodePointAtBefore()
205 errln("chars at: " + i); in TestCodePointAtBefore()
207 errln("chars before: " + i); in TestCodePointAtBefore()
214 char[] chars = new char[3]; in TestToChars()
217 UCharacter.toChars(cp, chars, 1); in TestToChars()
218 if (chars[1] != UCharacter.MIN_HIGH_SURROGATE in TestToChars()
219 || chars[2] != UCharacter.MIN_LOW_SURROGATE) { in TestToChars()
224 chars = UCharacter.toChars(cp); in TestToChars()
225 if (chars[ in TestToChars()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
H A DUCharacterSurrogateTest.java197 errln("chars at: " + i); in TestCodePointAtBefore()
204 errln("chars before: " + i); in TestCodePointAtBefore()
213 errln("chars at: " + i); in TestCodePointAtBefore()
215 errln("chars before: " + i); in TestCodePointAtBefore()
222 char[] chars = new char[3]; in TestToChars()
225 UCharacter.toChars(cp, chars, 1); in TestToChars()
226 if (chars[1] != UCharacter.MIN_HIGH_SURROGATE in TestToChars()
227 || chars[2] != UCharacter.MIN_LOW_SURROGATE) { in TestToChars()
232 chars = UCharacter.toChars(cp); in TestToChars()
233 if (chars[ in TestToChars()
[all...]
/third_party/toybox/toys/pending/
H A Dstty.c32 min N set minimum chars per read
77 static const struct flag chars[] = { variable
263 for (j=0;j<ARRAY_LEN(chars)-2;j++) { in set_special_character()
264 if (!strcmp(chars[j].name, char_name)) { in set_special_character()
275 new->c_cc[chars[j].value] = ch; in set_special_character()
417 for (i=j=0;i<ARRAY_LEN(chars);i++) { in do_stty()
419 cc_t ch = old.c_cc[chars[i].value]; in do_stty()
421 if (ch == sane.c_cc[chars[i].value] && (toys.optflags&FLAG_a)==0) in do_stty()
424 if (chars[i].value == VMIN || chars[ in do_stty()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
H A DIDNAConformanceTest.java210 char[] chars = str.toCharArray(); in stringReplace()
212 for (int i = 0; i < chars.length; i++) { in stringReplace()
213 if ('<' == chars[i]) { in stringReplace()
215 while ('>' != chars[i + 1]) { in stringReplace()
216 sbTemp.append(chars[++i]); in stringReplace()
232 } else if ('>' == chars[i]) {//end when met with '>' in stringReplace()
235 result.append(chars[i]); in stringReplace()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
H A DVersionInfo.java356 char[] chars = s.toCharArray(); in javaVersion()
359 while (r < chars.length) { in javaVersion()
360 char c = chars[r++]; in javaVersion()
368 chars[w++] = '.'; in javaVersion()
373 chars[w++] = c; in javaVersion()
376 while (w > 0 && chars[w-1] == '.') { in javaVersion()
380 String vs = new String(chars, 0, w); in javaVersion()
H A DStringTrieBuilder.java507 // c must not be in chars yet.
510 chars.insert(i, c); in add()
525 if(i<chars.length() && c==chars.charAt(i)) { in add()
528 chars.insert(i, c); in add()
535 Node subNode=register(builder, 0, chars.length()); in register()
536 BranchHeadNode head=new BranchHeadNode(chars.length(), subNode); in register()
554 chars.charAt(middle), in register()
560 char c=chars.charAt(start); in register()
574 int limit=chars in find()
589 private StringBuilder chars=new StringBuilder(); global() field in StringTrieBuilder.DynamicBranchNode
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
H A DIDNAConformanceTest.java207 char[] chars = str.toCharArray(); in stringReplace()
209 for (int i = 0; i < chars.length; i++) { in stringReplace()
210 if ('<' == chars[i]) { in stringReplace()
212 while ('>' != chars[i + 1]) { in stringReplace()
213 sbTemp.append(chars[++i]); in stringReplace()
229 } else if ('>' == chars[i]) {//end when met with '>' in stringReplace()
232 result.append(chars[i]); in stringReplace()
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/str_format/
H A Dchecker.h43 constexpr bool ContainsChar(const char* chars, char c) { in ContainsChar() argument
44 return *chars == c || (*chars && ContainsChar(chars + 1, c)); in ContainsChar()
79 constexpr string_view ConsumeAnyOf(string_view format, const char* chars) { in ConsumeAnyOf() argument
80 return ContainsChar(chars, GetChar(format, 0)) in ConsumeAnyOf()
81 ? ConsumeAnyOf(ConsumeFront(format), chars) in ConsumeAnyOf()
/foundation/graphic/graphic_3d/lume/LumeBase/api/base/util/
H A Duid_util.h30 constexpr char chars[] = "0123456789abcdef"; in Uint8ToHex() local
31 *c0 = chars[((value & 0xf0) >> 4u)]; in Uint8ToHex()
32 *c1 = chars[value & 0x0f]; in Uint8ToHex()
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/layout/
H A DBuildMirroringTables.java57 int[] chars = new int[count]; in writeMirroredDataFile()
68 chars[total] = ch & 0xFFFF; in writeMirroredDataFile()
79 dump("mirroredChars", chars, total, 8); in writeMirroredDataFile()
/third_party/protobuf/csharp/src/Google.Protobuf.Test/
H A DReadOnlySequenceFactory.cs96 var chars = new byte[length * 2]; in CreateSegments()
100 chars[dataOffset + j] = s[j]; in CreateSegments()
104 var memory = new Memory<byte>(chars).Slice(length, length); in CreateSegments()
/third_party/node/deps/icu-small/source/tools/toolutil/
H A Dpkg_genc.cpp321 char chars[4096]; in writeAssemblyCode() member
346 buffer.chars, in writeAssemblyCode()
347 sizeof(buffer.chars), in writeAssemblyCode()
352 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
354 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
359 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
363 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
384 buffer.chars, sizeof(buffer.chars), in writeAssemblyCode()
388 if (count >= sizeof(buffer.chars)) { in writeAssemblyCode()
[all...]
/third_party/icu/icu4c/source/tools/toolutil/
H A Dpkg_genc.cpp286 char chars[4096]; in writeAssemblyCode() member
300 buffer.chars, in writeAssemblyCode()
301 sizeof(buffer.chars), in writeAssemblyCode()
306 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
308 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
313 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
317 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
339 buffer.chars, sizeof(buffer.chars), in writeAssemblyCode()
343 if (count >= sizeof(buffer.chars)) { in writeAssemblyCode()
[all...]
/third_party/skia/third_party/externals/icu/source/tools/toolutil/
H A Dpkg_genc.cpp286 char chars[4096]; in writeAssemblyCode() member
300 buffer.chars, in writeAssemblyCode()
301 sizeof(buffer.chars), in writeAssemblyCode()
306 out=T_FileStream_open(buffer.chars, "w"); in writeAssemblyCode()
308 fprintf(stderr, "genccode: unable to open output file %s\n", buffer.chars); in writeAssemblyCode()
313 if (uprv_strlen(buffer.chars) >= outFilePathCapacity) { in writeAssemblyCode()
317 uprv_strcpy(outFilePath, buffer.chars); in writeAssemblyCode()
339 buffer.chars, sizeof(buffer.chars), in writeAssemblyCode()
343 if (count >= sizeof(buffer.chars)) { in writeAssemblyCode()
[all...]
/third_party/gn/src/base/json/
H A Djson_parser.cc175 std::optional<std::string_view> chars = PeekChars(1); in PeekChar() local
176 if (chars) in PeekChar()
177 return (*chars)[0]; in PeekChar()
182 std::optional<std::string_view> chars = PeekChars(count); in ConsumeChars() local
183 if (chars) in ConsumeChars()
185 return chars; in ConsumeChars()
189 std::optional<std::string_view> chars = ConsumeChars(1); in ConsumeChar() local
190 if (chars) in ConsumeChar()
191 return (*chars)[0]; in ConsumeChar()
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DStringTrieBuilder.java508 // c must not be in chars yet.
511 chars.insert(i, c); in add()
526 if(i<chars.length() && c==chars.charAt(i)) { in add()
529 chars.insert(i, c); in add()
536 Node subNode=register(builder, 0, chars.length()); in register()
537 BranchHeadNode head=new BranchHeadNode(chars.length(), subNode); in register()
555 chars.charAt(middle), in register()
561 char c=chars.charAt(start); in register()
575 int limit=chars in find()
590 private StringBuilder chars=new StringBuilder(); global() field in StringTrieBuilder.DynamicBranchNode
[all...]
/third_party/curl/lib/
H A Didn.c77 int chars = IdnToAscii(0, in_w, (int)(wcslen(in_w) + 1), punycode, in win32_idn_to_ascii() local
80 if(chars) { in win32_idn_to_ascii()
107 int chars = IdnToUnicode(0, in_w, (int)(wcslen(in_w) + 1), idn, in win32_ascii_to_idn() local
109 if(chars) { in win32_ascii_to_idn()
110 /* 'chars' is "the number of characters retrieved" */ in win32_ascii_to_idn()

Completed in 15 milliseconds

12345678910>>...20