PHP 8.2.31
Preview: util.h Size: 1.10 KB
//proc/thread-self/root/opt/alt/libicu/usr/share/doc/alt-libicu-devel/samples/numfmt/util.h

/********************************************************************
 *   © 2016 and later: Unicode, Inc. and others.
 *   License & terms of use: http://www.unicode.org/copyright.html#License
 *************************************************************************
 *************************************************************************
 * COPYRIGHT:
 * Copyright (c) 1999-2002, International Business Machines Corporation and
 * others. All Rights Reserved.
 *************************************************************************/

#include "unicode/unistr.h"
#include "unicode/fmtable.h"

using namespace icu;

#ifndef UPRV_LENGTHOF 
#define UPRV_LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) 
#endif 

// Verify that a UErrorCode is successful; exit(1) if not
void check(UErrorCode& status, const char* msg);

// Replace nonprintable characters with unicode escapes
UnicodeString escape(const UnicodeString &source);

// Print the given string to stdout
void uprintf(const UnicodeString &str);

// Create a display string for a formattable
UnicodeString formattableToString(const Formattable& f);

Directory Contents

Dirs: 0 × Files: 9

Name Size Perms Modified Actions
2.68 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
9.11 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
632 B lrw-r--r-- 2019-04-17 19:42:15
Edit Download
1.17 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
9.84 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
1.14 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
2.36 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
4.02 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download
1.10 KB lrw-r--r-- 2019-04-17 19:42:15
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).