search for: unichar

Displaying 20 results from an estimated 23 matches for "unichar".

Did you mean: gunichar
2012 Jun 03
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...(that you pass in a string, which can be assigned a descriptive error message). Better would be, IMHO, to provide an interface along the lines of this: > > class ErrorHandler > { > public: > virtual void Report(ErrorKind kind, uint code, const Position &position, const unichar *text, ...) = 0; > }; > > And then let the client, i.e. the frontend, derive from it and handle all the output in whichever way it wants to. The above example is probably too complex for LLVM, but that's what I use in my compiler. ErrorKind is ErrorKind_Fatal, ErrorKind_Error, etc....
2012 Jun 03
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...igned a descriptive error message). Better would be, IMHO, > > to provide an interface along the lines of this: > > > > class ErrorHandler > > { > > public: > > virtual void Report(ErrorKind kind, uint code, const > > Position &position, const unichar *text, ...) = 0; }; > > > > And then let the client, i.e. the frontend, derive from it and > > handle all the output in whichever way it wants to. The above > > example is probably too complex for LLVM, but that's what I use in > > my compiler. ErrorKind is Erro...
2012 Jun 02
3
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...of error strings in LLVM (that you pass in a string, which can be assigned a descriptive error message). Better would be, IMHO, to provide an interface along the lines of this: class ErrorHandler { public: virtual void Report(ErrorKind kind, uint code, const Position &position, const unichar *text, ...) = 0; }; And then let the client, i.e. the frontend, derive from it and handle all the output in whichever way it wants to. The above example is probably too complex for LLVM, but that's what I use in my compiler. ErrorKind is ErrorKind_Fatal, ErrorKind_Error, etc. Position is si...
2012 Jun 04
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...t;> > > to provide an interface along the lines of this: >> > > >> > > class ErrorHandler >> > > { >> > > public: >> > >         virtual void Report(ErrorKind kind, uint code, const >> > > Position &position, const unichar *text, ...) = 0; }; >> > > >> > > And then let the client, i.e. the frontend, derive from it and >> > > handle all the output in whichever way it wants to.  The above >> > > example is probably too complex for LLVM, but that's what I use in >&g...
2012 Jun 04
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
.... Better would be, IMHO, > > > to provide an interface along the lines of this: > > > > > > class ErrorHandler > > > { > > > public: > > > virtual void Report(ErrorKind kind, uint code, const > > > Position &position, const unichar *text, ...) = 0; }; > > > > > > And then let the client, i.e. the frontend, derive from it and > > > handle all the output in whichever way it wants to. The above > > > example is probably too complex for LLVM, but that's what I use in > > > my comp...
2012 Jun 04
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...interface along the lines of this: > >> > > > >> > > class ErrorHandler > >> > > { > >> > > public: > >> > > virtual void Report(ErrorKind kind, uint code, const > >> > > Position &position, const unichar *text, ...) = 0; }; > >> > > > >> > > And then let the client, i.e. the frontend, derive from it and > >> > > handle all the output in whichever way it wants to. The above > >> > > example is probably too complex for LLVM, but that's...
2007 Nov 06
1
imap search/content-transfer-encoding assertion failed
When performing an imap search, I hit the following assertion failure: imap(vmail): Panic: file unichar.c: line 128 (uni_ucs4_to_utf8_c): assertion failed: (chr <= 0x40000000) imap(vmail): Error: Raw backtrace: /usr/lib/dovecot/imap [0x80c7f7f] -> /usr/lib/dovecot/imap [0x80c7d6a] -> /usr/lib/dovecot/imap [0x80d8616] -> /usr/lib/dovecot/imap(uni_utf8_to_decomposed_titlecase+0x9f) [0x80d89...
2015 Apr 20
2
[LLVMdev] question about alignment of structures on the stack (arm 32)
Dear community, I faced with code which was generated by llvm, assembly instructions of that code is relying on 8-bytes alignment for structures on the stack. The part of Objective C code is following: -(void)getCharacters:(unichar *)unicode {     NSRange range;     range.location = 0;     range.length = [self length];     printf("%p, %p\n", &range.location, &range.length); And before printf call I see an argument preparation, and one of the most interesting instruction     orr    r3, r2, #4 ;for address o...
2018 Jan 27
2
2 panics, 1 segmentation fault in dovecot 2.3.0 (fts)
...ka.exception.ZeroByteFileException: InputStream must have > 0 bytes I would be happy if you could have a look at this, please, and of course just tell me what further information you need. Thanks, infoomatic [1] /opt/dovecot/bin/doveadm index -u user1 '*' doveadm(user1): Panic: file unichar.c: line 160 (uni_ucs4_to_utf8_c): assertion failed: (uni_is_valid_ucs4(chr)) doveadm(user1): Error: Raw backtrace: /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xc5eea) [0x7ff27755beea] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xc5f59) [0x7ff27755bf59] -> /opt/dovecot/lib/dovecot/libdovecot....
2018 Dec 04
2
Compilation error
...q.o test_lib-test-random.o test_lib-test-seq-range-array.o test_lib-test-stats-dist.o test_lib-test-str.o test_lib-test-strescape.o test_lib-test-strfuncs.o test_lib-test-strnum.o test_lib-test-str-find.o test_lib-test-str-sanitize.o test_lib-test-str-table.o test_lib-test-time-util.o test_lib-test-unichar.o test_lib-test-utc-mktime.o test_lib-test-uri.o test_lib-test-var-expand.o test_lib-test-wildcard-match.o -L/lib ../lib-test/.libs/libtest.a ./.libs/liblib.a -ltirpc -lm /usr/bin/ld: test_lib-test-lib.o:(.data.rel.ro+0x108): undefined reference to `test_connection' collect2: error: ld returned...
2018 May 18
1
indexer-worker issues on dovecot 2.3.0
...:33:55 Fatal: indexer-worker(xxxxx)<281701><Xpj77npscpYKAQMQ:UK9sNELW/lplTAQAF3haWw>: master: service(indexer-worker): child 281701 killed with signal 6 (core dumps disabled) May 18 10:34:55 Panic: indexer-worker(xxxxx)<307016><Xpj77npscpYKAQMQ:oEUqNn7W/lpIrwQAF3haWw>: file unichar.c: line 160 (uni_ucs4_to_utf8_c): assertion failed: (uni_is_valid_ucs4(chr)) May 18 10:34:55 Error: indexer-worker(xxxxxxxx)<307016><Xpj77npscpYKAQMQ:oEUqNn7W/lpIrwQAF3haWw>: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0xc9804) [0x7f157c8eb804] -> /usr/lib64/dovecot/libdoveco...
2012 Jun 04
2
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
...es of this: >> >> > > >> >> > > class ErrorHandler >> >> > > { >> >> > > public: >> >> > >         virtual void Report(ErrorKind kind, uint code, const >> >> > > Position &position, const unichar *text, ...) = 0; }; >> >> > > >> >> > > And then let the client, i.e. the frontend, derive from it and >> >> > > handle all the output in whichever way it wants to.  The above >> >> > > example is probably too complex for LLVM,...
2001 Dec 12
1
MacOS X Server samba diffs
...g_Encoding != kCFStringEncodingDOSJapanese) - { - if (*src) - { - ucs2result = dos_to_unicode(ucs2Str, src, 2048); - unicodeChars = strlen_w(ucs2Str); - result = CFStringEncodingUnicodeToBytes(kCFStringEncodingUTF8, kCFStringEncodingUseHFSPlusCanonical,(const UniChar *)ucs2Str,unicodeChars,&usedCharLen,(UInt8*)dst,2047,&usedByteLen); - if (result == 0) - dst[usedByteLen] = '\0'; - } - } -else - result = ConvertEncodingToUTF8((const char*) src, dst, 2048, global_CFString_Encoding, kCFStringEncodingUseHFSPlusCanonical); - -#else...
2018 Feb 05
1
Bug in dovecot 2.3 virtual plugin
Hi, did you have time to investigate about 'Panic: file unichar.c' bug ? Because I have the same problem with a 2.3.0 installation without virtual plugin. Thanks, Marco On 2018-01-03 16:52, Aki Tuomi wrote: > This is not a bug in virtual plugin, but in some email which contains invalid unicode sequence somehow. Can you send me a core file? This s...
2009 Jan 20
0
rsync 3.0.4 patches for 10.3
..., but we would need anyway. We can't replace chars on CFStrings, we would need to pass by a CFMutableString (need another buffer). Or we would need to manipulate the Unicode string at the end, but I'm not sure how to do it. You could try: + CFStringGetCharacters(cfStringName, range, unicharName); while(index<range.length) { if(unicharName[index]==0x003B) /* == ':' */ unicharName[index]='0x002F'; /* == '/' */ index++; } + carbon_error=FSMakeFSRefUnicode(&parentRef, range.length, unicharName, kTextEncodingUnknown, ref); With only unsigned int...
2018 Jan 27
0
2 panics, 1 segmentation fault in dovecot 2.3.0 (fts)
...st have > 0 bytes > > > I would be happy if you could have a look at this, please, and of course just tell me what further information you need. > > Thanks, > infoomatic > > > [1] /opt/dovecot/bin/doveadm index -u user1 '*' > doveadm(user1): Panic: file unichar.c: line 160 (uni_ucs4_to_utf8_c): assertion failed: (uni_is_valid_ucs4(chr)) > doveadm(user1): Error: Raw backtrace: /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xc5eea) [0x7ff27755beea] -> /opt/dovecot/lib/dovecot/libdovecot.so.0(+0xc5f59) [0x7ff27755bf59] -> /opt/dovecot/lib/dovecot/libdov...
2018 Dec 04
0
Compilation error
...o > test_lib-test-seq-range-array.o test_lib-test-stats-dist.o > test_lib-test-str.o test_lib-test-strescape.o test_lib-test-strfuncs.o > test_lib-test-strnum.o test_lib-test-str-find.o > test_lib-test-str-sanitize.o test_lib-test-str-table.o > test_lib-test-time-util.o test_lib-test-unichar.o > test_lib-test-utc-mktime.o test_lib-test-uri.o > test_lib-test-var-expand.o test_lib-test-wildcard-match.o -L/lib > ../lib-test/.libs/libtest.a ./.libs/liblib.a -ltirpc -lm > /usr/bin/ld: test_lib-test-lib.o:(.data.rel.ro+0x108): undefined > reference to `test_connection' &gt...
2012 Jun 02
0
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
On Sat, Jun 2, 2012 at 8:56 AM, Chris Lattner <clattner at apple.com> wrote: > On Jun 1, 2012, at 11:13 PM, Justin Holewinski wrote: > > In a way, they are. What if I want a debug trace in a multi-threaded >> context? Right now, all threads would just spew to the same stream and the >> result would be unreadable. If you allow threads to setup their own outs()
2012 Jun 02
3
[LLVMdev] [llvm-commits] [PATCH] Allow per-thread re-direction of outs()/errs()
On Jun 1, 2012, at 11:13 PM, Justin Holewinski wrote: >> In a way, they are. What if I want a debug trace in a multi-threaded context? Right now, all threads would just spew to the same stream and the result would be unreadable. If you allow threads to setup their own outs() and errs() streams (transparently to the rest of LLVM), you can intercept these as you see fit, perhaps dumping
2018 Jan 03
4
Bug in dovecot 2.3 virtual plugin
....3 from git. Because there is already a bug in virtual-plugin, and i hoped, it get fixed... but it doesn't. So this is the error-message from the log J?n 03 16:27:08 aldebaran dovecot[26460]: indexer-worker(jakob)<26476><qQ6g1+BhIJvAqAAO:sjYhMTH2TFpsZwAAk1Mx3g>: Panic: file unichar.c: line 160 (uni_ucs4_to_utf8_c): assertion failed: (uni_is_valid_ucs4(chr)) J?n 03 16:27:08 aldebaran dovecot[26460]: indexer-worker(jakob)<26476><qQ6g1+BhIJvAqAAO:sjYhMTH2TFpsZwAAk1Mx3g>: Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0xc6021) [0x7f8299f7a021] -...