/third_party/bounds_checking_function/src/ |
H A D | memcpy_s.c | 27 #define SECUREC_SMALL_MEM_COPY(dest, src, count) do { \ 28 if (SECUREC_ADDR_ALIGNED_8(dest) && SECUREC_ADDR_ALIGNED_8(src)) { \ 32 *(unsigned char *)(dest) = *(const unsigned char *)(src); \ 35 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 2); \ 38 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 3); \ 41 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 4); \ 44 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 5); \ 47 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 6); \ 50 SECUREC_COPY_VALUE_BY_STRUCT((dest), (src), 7); \ 53 SECUREC_COPY_VALUE_BY_STRUCT((dest), (sr 445 SecMemcpyError(void *dest, size_t destMax, const void *src, size_t count) SecMemcpyError() argument 515 memcpy_s(void *dest, size_t destMax, const void *src, size_t count) memcpy_s() argument 533 memcpy_sOptAsm(void *dest, size_t destMax, const void *src, size_t count) memcpy_sOptAsm() argument 544 memcpy_sOptTc(void *dest, size_t destMax, const void *src, size_t count) memcpy_sOptTc() argument [all...] |
H A D | memset_s.c | 22 #define SECUREC_MEMSET_PARAM_OK(dest, destMax, count) (SECUREC_LIKELY((destMax) <= SECUREC_MEM_MAX_LEN && \ 23 (dest) != NULL && (count) <= (destMax))) 85 #define SECUREC_UNALIGNED_SET(dest, c, count) do { \ 86 unsigned char *pDest_ = (unsigned char *)(dest); \ 190 #define SECUREC_SET_VALUE_BY_STRUCT(dest, dataName, n) do { \ 191 *(SecStrBuf##n *)(dest) = *(const SecStrBuf##n *)(&((SecStrictAliasingCast(&(dataName)))->buf##n)); \ 194 #define SECUREC_ALIGNED_SET_OPT_ZERO_FF(dest, c, count) do { \ 199 *(unsigned char *)(dest) = (unsigned char)0; \ 202 SECUREC_SET_VALUE_BY_STRUCT((dest), g_allZero, 2); \ 205 SECUREC_SET_VALUE_BY_STRUCT((dest), g_allZer 431 SecMemsetError(void *dest, size_t destMax, int c) SecMemsetError() argument 469 memset_s(void *dest, size_t destMax, int c, size_t count) memset_s() argument 487 memset_sOptAsm(void *dest, size_t destMax, int c, size_t count) memset_sOptAsm() argument 500 memset_sOptTc(void *dest, size_t destMax, int c, size_t count) memset_sOptTc() argument [all...] |
/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A D | jdatadst.c | 71 my_dest_ptr dest = (my_dest_ptr)cinfo->dest; in init_destination() local 74 dest->buffer = (JOCTET *) in init_destination() 78 dest->pub.next_output_byte = dest->buffer; in init_destination() 79 dest->pub.free_in_buffer = OUTPUT_BUF_SIZE; in init_destination() 117 my_dest_ptr dest = (my_dest_ptr)cinfo->dest; in METHODDEF() local 119 if (JFWRITE(dest->outfile, dest in METHODDEF() 135 my_mem_dest_ptr dest = (my_mem_dest_ptr)cinfo->dest; METHODDEF() local 173 my_dest_ptr dest = (my_dest_ptr)cinfo->dest; term_destination() local 191 my_mem_dest_ptr dest = (my_mem_dest_ptr)cinfo->dest; term_mem_destination() local 208 my_dest_ptr dest; jpeg_stdio_dest() local 254 my_mem_dest_ptr dest; jpeg_mem_dest() local [all...] |
H A D | jdatadst-tj.c | 93 my_mem_dest_ptr dest = (my_mem_dest_ptr)cinfo->dest; in METHODDEF() local 95 if (!dest->alloc) ERREXIT(cinfo, JERR_BUFFER_SIZE); in METHODDEF() 98 nextsize = dest->bufsize * 2; in METHODDEF() 104 MEMCOPY(nextbuffer, dest->buffer, dest->bufsize); in METHODDEF() 106 free(dest->newbuffer); in METHODDEF() 108 dest->newbuffer = nextbuffer; in METHODDEF() 110 dest->pub.next_output_byte = nextbuffer + dest in METHODDEF() 132 my_mem_dest_ptr dest = (my_mem_dest_ptr)cinfo->dest; term_mem_destination() local 155 my_mem_dest_ptr dest; jpeg_mem_dest_tj() local [all...] |
H A D | wrppm.c | 93 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in put_pixel_rows() local 95 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows() 108 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; in copy_pixel_rows() local 115 ptr = dest->pub.buffer[0]; in copy_pixel_rows() 116 bufferptr = dest->iobuffer; in copy_pixel_rows() 118 MEMCOPY(bufferptr, ptr, dest->samples_per_row); in copy_pixel_rows() 120 for (col = dest->samples_per_row; col > 0; col--) { in copy_pixel_rows() 124 (void)JFWRITE(dest in copy_pixel_rows() 135 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; put_rgb() local 164 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; put_cmyk() local 191 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; put_demapped_rgb() local 216 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; put_demapped_gray() local 238 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; start_output_ppm() local 292 ppm_dest_ptr dest = (ppm_dest_ptr)dinfo; calc_buffer_dimensions_ppm() local 309 ppm_dest_ptr dest; global() local [all...] |
H A D | wrbmp.c | 78 LOCAL(void) write_colormap(j_decompress_ptr cinfo, bmp_dest_ptr dest, 101 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; in put_pixel_rows() local 107 if (dest->use_inversion_array) { in put_pixel_rows() 110 ((j_common_ptr)cinfo, dest->whole_image, in put_pixel_rows() 111 dest->cur_output_row, (JDIMENSION)1, TRUE); in put_pixel_rows() 112 dest->cur_output_row++; in put_pixel_rows() 115 outptr = dest->iobuffer; in put_pixel_rows() 121 inptr = dest->pub.buffer[0]; in put_pixel_rows() 124 MEMCOPY(outptr, inptr, dest->row_width); in put_pixel_rows() 163 pad = dest in put_pixel_rows() 176 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; put_gray_rows() local 216 write_bmp_header(j_decompress_ptr cinfo, bmp_dest_ptr dest) write_bmp_header() argument 295 write_os2_header(j_decompress_ptr cinfo, bmp_dest_ptr dest) write_os2_header() argument 361 write_colormap(j_decompress_ptr cinfo, bmp_dest_ptr dest, int map_colors, int map_entry_size) write_colormap() argument 419 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; start_output_bmp() local 434 bmp_dest_ptr dest = (bmp_dest_ptr)dinfo; finish_output_bmp() local 480 bmp_dest_ptr dest; GLOBAL() local [all...] |
H A D | wrtarga.c | 97 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_pixel_rows() local 102 inptr = dest->pub.buffer[0]; in put_pixel_rows() 103 outptr = dest->iobuffer; in put_pixel_rows() 110 (void)JFWRITE(dest->pub.output_file, dest->iobuffer, dest->buffer_width); in put_pixel_rows() 118 tga_dest_ptr dest = (tga_dest_ptr)dinfo; in put_gray_rows() local 122 inptr = dest->pub.buffer[0]; in put_gray_rows() 123 outptr = dest->iobuffer; in put_gray_rows() 125 (void)JFWRITE(dest in put_gray_rows() 138 tga_dest_ptr dest = (tga_dest_ptr)dinfo; put_demapped_gray() local 160 tga_dest_ptr dest = (tga_dest_ptr)dinfo; start_output_tga() local 218 tga_dest_ptr dest = (tga_dest_ptr)dinfo; calc_buffer_dimensions_tga() local 231 tga_dest_ptr dest; GLOBAL() local [all...] |
H A D | wrgif.c | 337 gif_dest_ptr dest = (gif_dest_ptr)dinfo; in start_output_gif() local 340 emit_header(dest, cinfo->actual_number_of_colors, cinfo->colormap); in start_output_gif() 342 emit_header(dest, 256, (JSAMPARRAY)NULL); in start_output_gif() 360 gif_dest_ptr dest = (gif_dest_ptr)dinfo; in put_LZW_pixel_rows() local 368 ptr = dest->pub.buffer[0]; in put_LZW_pixel_rows() 373 if (dest->first_byte) { /* need to initialize waiting_code */ in put_LZW_pixel_rows() 374 dest->waiting_code = c; in put_LZW_pixel_rows() 375 dest->first_byte = FALSE; in put_LZW_pixel_rows() 383 i = ((hash_int)c << (MAX_LZW_BITS - 8)) + dest->waiting_code; in put_LZW_pixel_rows() 388 probe_value = HASH_ENTRY(dest in put_LZW_pixel_rows() 461 gif_dest_ptr dest = (gif_dest_ptr)dinfo; put_raw_pixel_rows() local 495 gif_dest_ptr dest = (gif_dest_ptr)dinfo; finish_output_gif() local 527 gif_dest_ptr dest; GLOBAL() local [all...] |
/third_party/gn/src/gn/ |
H A D | escape.cc | 47 char* dest, in EscapeStringToString_Space() 52 dest[i++] = '\\'; in EscapeStringToString_Space() 53 dest[i++] = elem; in EscapeStringToString_Space() 81 char* dest, in EscapeStringToString_Ninja() 86 dest[i++] = '$'; in EscapeStringToString_Ninja() 87 dest[i++] = elem; in EscapeStringToString_Ninja() 98 char* dest, in EscapeStringToString_CompilationDatabase() 110 dest[i++] = '"'; in EscapeStringToString_CompilationDatabase() 114 dest[i++] = '\\'; in EscapeStringToString_CompilationDatabase() 115 dest[ in EscapeStringToString_CompilationDatabase() 45 EscapeStringToString_Space(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_Space() argument 79 EscapeStringToString_Ninja(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_Ninja() argument 96 EscapeStringToString_CompilationDatabase(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_CompilationDatabase() argument 122 EscapeStringToString_Depfile(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_Depfile() argument 140 EscapeStringToString_NinjaPreformatted(std::string_view str, char* dest) EscapeStringToString_NinjaPreformatted() argument 160 EscapeStringToString_WindowsNinjaFork(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_WindowsNinjaFork() argument 212 EscapeStringToString_PosixNinjaFork(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString_PosixNinjaFork() argument 243 EscapeStringToString(std::string_view str, const EscapeOptions& options, char* dest, bool* needed_quoting) EscapeStringToString() argument 307 std::string dest; EscapeJSONStringToStream() local [all...] |
/third_party/node/deps/npm/node_modules/@npmcli/fs/lib/cp/ |
H A D | polyfill.js | 69 async function cp (src, dest, opts) { 75 toNamespacedPath(getValidatedPath(dest)), 87 async function cpFn (src, dest, opts) { 95 const stats = await checkPaths(src, dest, opts) 97 await checkParentPaths(src, srcStat, dest) 99 return handleFilter(checkParentDir, destStat, src, dest, opts) 101 return checkParentDir(destStat, src, dest, opts) 104 async function checkPaths (src, dest, opts) { 105 const { 0: srcStat, 1: destStat } = await getStats(src, dest, opts) 109 message: 'src and dest canno [all...] |
/third_party/node/lib/internal/fs/cp/ |
H A D | cp.js | 58 async function cpFn(src, dest, opts) { 65 const stats = await checkPaths(src, dest, opts); 68 await checkParentPaths(src, srcStat, dest); 69 return checkParentDir(destStat, src, dest, opts); 72 async function checkPaths(src, dest, opts) { 73 if (opts.filter && !(await opts.filter(src, dest))) { 76 const { 0: srcStat, 1: destStat } = await getStats(src, dest, opts); 80 message: 'src and dest cannot be the same', 81 path: dest, 90 `with non-directory ${dest}`, [all...] |
H A D | cp-sync.js | 51 function cpSyncFn(src, dest, opts) { 58 const { srcStat, destStat, skipped } = checkPathsSync(src, dest, opts); 60 checkParentPathsSync(src, srcStat, dest); 61 return checkParentDir(destStat, src, dest, opts); 64 function checkPathsSync(src, dest, opts) { 66 const shouldCopy = opts.filter(src, dest); 72 const { srcStat, destStat } = getStatsSync(src, dest, opts); 77 message: 'src and dest cannot be the same', 78 path: dest, 87 `with non-directory ${dest}`, [all...] |
/third_party/musl/porting/linux/user/include/fortify/ |
H A D | string.h | 36 char *strcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src) 38 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LE(__DIAGNOSE_BOS(dest), __builtin_strlen(src)), 42 return __builtin___strcpy_chk(dest, src, __DIAGNOSE_BOS(dest)); 44 return __builtin_strcpy(dest, src); 49 char *stpcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src) 51 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LE(__DIAGNOSE_BOS(dest), __builtin_strlen(src)), 55 return __builtin___stpcpy_chk(dest, src, __DIAGNOSE_BOS(dest)); 57 return __builtin_stpcpy(dest, sr [all...] |
/third_party/musl/include/fortify/linux/ |
H A D | string.h | 36 char *strcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src) 38 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LE(__DIAGNOSE_BOS(dest), __builtin_strlen(src)), 42 return __builtin___strcpy_chk(dest, src, __DIAGNOSE_BOS(dest)); 44 return __builtin_strcpy(dest, src); 49 char *stpcpy(char *const dest __DIAGNOSE_PASS_OBJECT_SIZE, const char *src) 51 __DIAGNOSE_ERROR_IF(__DIAGNOSE_UNEVALUATED_LE(__DIAGNOSE_BOS(dest), __builtin_strlen(src)), 55 return __builtin___stpcpy_chk(dest, src, __DIAGNOSE_BOS(dest)); 57 return __builtin_stpcpy(dest, sr [all...] |
/third_party/lwip/src/include/lwip/ |
H A D | ip.h | 255 #define ip_output(p, src, dest, ttl, tos, proto) \ 256 (IP_IS_V6(dest) ? \ 257 ip6_output(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto) : \ 258 ip4_output(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto)) 263 #define ip_output_if(p, src, dest, ttl, tos, proto, netif) \ 264 (IP_IS_V6(dest) ? \ 265 ip6_output_if(p, ip_2_ip6(src), ip_2_ip6(dest), ttl, tos, proto, netif) : \ 266 ip4_output_if(p, ip_2_ip4(src), ip_2_ip4(dest), ttl, tos, proto, netif)) 271 #define ip_output_if_src(p, src, dest, ttl, tos, proto, netif) \ 272 (IP_IS_V6(dest) [all...] |
/third_party/lzma/CPP/Windows/ |
H A D | PropVariantConv.cpp | 97 bool ConvertUtcFileTimeToString2(const FILETIME &ft, unsigned ns100, wchar_t *dest, int level) throw()
in ConvertUtcFileTimeToString2() argument 104 dest[i] = c;
in ConvertUtcFileTimeToString2() 111 bool ConvertUtcFileTimeToString(const FILETIME &ft, wchar_t *dest, int level) throw()
in ConvertUtcFileTimeToString() argument 118 dest[i] = c;
in ConvertUtcFileTimeToString() 126 void ConvertPropVariantToShortString(const PROPVARIANT &prop, char *dest) throw()
in ConvertPropVariantToShortString() argument 128 *dest = 0;
in ConvertPropVariantToShortString() 132 case VT_BSTR: dest[0] = '?'; dest[1] = 0; return;
in ConvertPropVariantToShortString() 133 case VT_UI1: ConvertUInt32ToString(prop.bVal, dest); return;
in ConvertPropVariantToShortString() 134 case VT_UI2: ConvertUInt32ToString(prop.uiVal, dest); retur in ConvertPropVariantToShortString() 159 ConvertPropVariantToShortString(const PROPVARIANT &prop, wchar_t *dest) ConvertPropVariantToShortString() argument [all...] |
/third_party/gn/src/base/json/ |
H A D | string_escape.cc | 61 // successful, returns true and appends the escape sequence to |dest|. This 63 bool EscapeSpecialCodePoint(uint32_t code_point, std::string* dest) { in EscapeSpecialCodePoint() argument 69 dest->append("\\b"); in EscapeSpecialCodePoint() 72 dest->append("\\f"); in EscapeSpecialCodePoint() 75 dest->append("\\n"); in EscapeSpecialCodePoint() 78 dest->append("\\r"); in EscapeSpecialCodePoint() 81 dest->append("\\t"); in EscapeSpecialCodePoint() 84 dest->append("\\\\"); in EscapeSpecialCodePoint() 87 dest->append("\\\""); in EscapeSpecialCodePoint() 92 dest in EscapeSpecialCodePoint() 112 EscapeJSONStringImpl(const S& str, bool put_in_quotes, std::string* dest) EscapeJSONStringImpl() argument 162 EscapeJSONString(std::string_view str, bool put_in_quotes, std::string* dest) EscapeJSONString() argument 168 EscapeJSONString(std::u16string_view str, bool put_in_quotes, std::string* dest) EscapeJSONString() argument 176 std::string dest; EscapeBytesAsInvalidJSONString() local [all...] |
/third_party/backends/sanei/ |
H A D | sanei_jpeg.c | 87 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in sanei_jpeg_put_pixel_rows() local 92 memcpy (data, dest->iobuffer, dest->buffer_width); in sanei_jpeg_put_pixel_rows() 105 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; in sanei_jpeg_copy_pixel_rows() local 114 ptr = dest->pub.buffer[0]; in sanei_jpeg_copy_pixel_rows() 115 bufferptr = dest->iobuffer; in sanei_jpeg_copy_pixel_rows() 116 for (col = dest->samples_per_row; col > 0; col--) in sanei_jpeg_copy_pixel_rows() 120 memcpy (data, dest->iobuffer, dest->buffer_width); in sanei_jpeg_copy_pixel_rows() 134 ppm_dest_ptr dest in sanei_jpeg_put_demapped_rgb() local 162 ppm_dest_ptr dest = (ppm_dest_ptr) dinfo; sanei_jpeg_put_demapped_gray() local 184 ppm_dest_ptr dest; GLOBAL() local [all...] |
/third_party/lzma/CPP/Common/ |
H A D | UTFConvert.cpp | 311 { if (dest) dest[destPos] = (wchar_t)UTF_ESCAPE(c); \
318 { if (dest) dest[destPos] = (wchar_t)UTF_ESCAPE(c); \
339 static bool Utf8_To_Utf16(wchar_t *dest, size_t *destLen, const char *src, const char *srcLim, unsigned flags) throw()
in Utf8_To_Utf16() argument 356 if (dest)
in Utf8_To_Utf16() 357 dest[destPos] = (wchar_t)c;
in Utf8_To_Utf16() 444 if (dest)
in Utf8_To_Utf16() 445 dest[destPos] = (wchar_t)val;
in Utf8_To_Utf16() 457 if (dest)
in Utf8_To_Utf16() 542 Utf16_To_Utf8(char *dest, const wchar_t *src, const wchar_t *srcLim, unsigned flags) Utf16_To_Utf8() argument 660 Convert_UTF8_Buf_To_Unicode(const char *src, size_t srcSize, UString &dest, unsigned flags) Convert_UTF8_Buf_To_Unicode() argument 670 ConvertUTF8ToUnicode_Flags(const AString &src, UString &dest, unsigned flags) ConvertUTF8ToUnicode_Flags() argument 695 ConvertUTF8ToUnicode(const AString &src, UString &dest) ConvertUTF8ToUnicode() argument 702 ConvertUnicodeToUTF8_Flags(const UString &src, AString &dest, unsigned flags) ConvertUnicodeToUTF8_Flags() argument 743 ConvertUnicodeToUTF8(const UString &src, AString &dest) ConvertUnicodeToUTF8() argument 748 Convert_Unicode_To_UTF8_Buf(const UString &src, CByteBuffer &dest) Convert_Unicode_To_UTF8_Buf() argument [all...] |
/third_party/mesa3d/src/intel/compiler/ |
H A D | brw_nir_opt_peephole_ffma.c | 56 assert(use_alu->dest.dest.is_ssa); in are_all_uses_fadd() 57 if (!are_all_uses_fadd(&use_alu->dest.dest.ssa)) in are_all_uses_fadd() 94 alu = get_mul_for_src(&alu->src[0], alu->dest.dest.ssa.num_components, in get_mul_for_src() 99 alu = get_mul_for_src(&alu->src[0], alu->dest.dest.ssa.num_components, in get_mul_for_src() 105 alu = get_mul_for_src(&alu->src[0], alu->dest.dest in get_mul_for_src() [all...] |
/third_party/ffmpeg/libavcodec/ppc/ |
H A D | idctdsp.c | 171 static void idct_put_altivec(uint8_t *dest, ptrdiff_t stride, int16_t *blk) in idct_put_altivec() argument 178 #define COPY(dest, src) \ in idct_put_altivec() 180 vec_ste((vec_u32) tmp, 0, (unsigned int *) dest); \ in idct_put_altivec() 181 vec_ste((vec_u32) tmp, 4, (unsigned int *) dest) in idct_put_altivec() 183 COPY(dest, vx0); in idct_put_altivec() 184 dest += stride; in idct_put_altivec() 185 COPY(dest, vx1); in idct_put_altivec() 186 dest += stride; in idct_put_altivec() 187 COPY(dest, vx2); in idct_put_altivec() 188 dest in idct_put_altivec() 200 idct_add_altivec(uint8_t *dest, ptrdiff_t stride, int16_t *blk) idct_add_altivec() argument [all...] |
/third_party/icu/icu4c/source/test/cintltst/ |
H A D | custrtrn.c | 889 UChar dest[64]; in Test_FromUTF8() local 923 dest[0]=dest[1]=99; in Test_FromUTF8() 925 destPointer=u_strFromUTF8(dest, UPRV_LENGTHOF(dest), &destLength, (const char *)bytes, 3, &errorCode); in Test_FromUTF8() 926 if(U_FAILURE(errorCode) || destPointer!=dest || destLength!=1 || dest[0]!=0x95c || dest[1]!=0) { in Test_FromUTF8() 988 UChar dest[64]; in Test_FromUTF8Lenient() local 996 dest[ in Test_FromUTF8Lenient() 1544 char dest[200]; Test_strToJavaModifiedUTF8() local 1735 UChar dest[200]; Test_strFromJavaModifiedUTF8() local [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ushape.cpp | 463 countSpaces(UChar *dest, int32_t size, uint32_t /*options*/, int32_t *spacesCountl, int32_t *spacesCountr) { in countSpaces() argument 466 while((dest[i] == SPACE_CHAR) && (countl < size)) { in countSpaces() 471 while(dest[size-1] == SPACE_CHAR) { in countSpaces() 690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument 695 if((isTashkeelOnTatweelChar(dest[i]) == 1)){ in handleTashkeelWithTatweel() 696 dest[i] = TATWEEL_CHAR; in handleTashkeelWithTatweel() 697 }else if((isTashkeelOnTatweelChar(dest[i]) == 2)){ in handleTashkeelWithTatweel() 698 dest[i] = SHADDA_TATWEEL_CHAR; in handleTashkeelWithTatweel() 699 }else if(isIsolatedTashkeelChar(dest[i]) && dest[ in handleTashkeelWithTatweel() 728 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) handleGeneratedSpaces() argument 903 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtBegin() argument 963 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtEnd() argument 1030 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) expandCompositCharAtNear() argument 1083 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) expandCompositChar() argument 1196 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) shapeUnicode() argument 1368 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) deShapeUnicode() argument 1421 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) u_shapeArabic() argument [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ushape.cpp | 463 countSpaces(char16_t *dest, int32_t size, uint32_t /*options*/, int32_t *spacesCountl, int32_t *spacesCountr) { in countSpaces() argument 466 while((dest[i] == SPACE_CHAR) && (countl < size)) { in countSpaces() 471 while(dest[size-1] == SPACE_CHAR) { in countSpaces() 690 handleTashkeelWithTatweel(char16_t *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument 695 if((isTashkeelOnTatweelChar(dest[i]) == 1)){ in handleTashkeelWithTatweel() 696 dest[i] = TATWEEL_CHAR; in handleTashkeelWithTatweel() 697 }else if((isTashkeelOnTatweelChar(dest[i]) == 2)){ in handleTashkeelWithTatweel() 698 dest[i] = SHADDA_TATWEEL_CHAR; in handleTashkeelWithTatweel() 699 }else if(isIsolatedTashkeelChar(dest[i]) && dest[ in handleTashkeelWithTatweel() 728 handleGeneratedSpaces(char16_t *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) handleGeneratedSpaces() argument 903 expandCompositCharAtBegin(char16_t *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtBegin() argument 963 expandCompositCharAtEnd(char16_t *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtEnd() argument 1030 expandCompositCharAtNear(char16_t *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) expandCompositCharAtNear() argument 1083 expandCompositChar(char16_t *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) expandCompositChar() argument 1196 shapeUnicode(char16_t *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) shapeUnicode() argument 1368 deShapeUnicode(char16_t *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) deShapeUnicode() argument 1421 u_shapeArabic(const char16_t *source, int32_t sourceLength, char16_t *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) u_shapeArabic() argument [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ushape.cpp | 463 countSpaces(UChar *dest, int32_t size, uint32_t /*options*/, int32_t *spacesCountl, int32_t *spacesCountr) { in countSpaces() argument 466 while((dest[i] == SPACE_CHAR) && (countl < size)) { in countSpaces() 471 while(dest[size-1] == SPACE_CHAR) { in countSpaces() 690 handleTashkeelWithTatweel(UChar *dest, int32_t sourceLength, in handleTashkeelWithTatweel() argument 695 if((isTashkeelOnTatweelChar(dest[i]) == 1)){ in handleTashkeelWithTatweel() 696 dest[i] = TATWEEL_CHAR; in handleTashkeelWithTatweel() 697 }else if((isTashkeelOnTatweelChar(dest[i]) == 2)){ in handleTashkeelWithTatweel() 698 dest[i] = SHADDA_TATWEEL_CHAR; in handleTashkeelWithTatweel() 699 }else if(isIsolatedTashkeelChar(dest[i]) && dest[ in handleTashkeelWithTatweel() 728 handleGeneratedSpaces(UChar *dest, int32_t sourceLength, int32_t destSize, uint32_t options, UErrorCode *pErrorCode,struct uShapeVariables shapeVars ) handleGeneratedSpaces() argument 903 expandCompositCharAtBegin(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtBegin() argument 963 expandCompositCharAtEnd(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode) expandCompositCharAtEnd() argument 1030 expandCompositCharAtNear(UChar *dest, int32_t sourceLength, int32_t destSize,UErrorCode *pErrorCode, int yehHamzaOption, int seenTailOption, int lamAlefOption, struct uShapeVariables shapeVars) expandCompositCharAtNear() argument 1083 expandCompositChar(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int shapingMode,struct uShapeVariables shapeVars) expandCompositChar() argument 1196 shapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, int tashkeelFlag, struct uShapeVariables shapeVars) shapeUnicode() argument 1368 deShapeUnicode(UChar *dest, int32_t sourceLength, int32_t destSize,uint32_t options, UErrorCode *pErrorCode, struct uShapeVariables shapeVars) deShapeUnicode() argument 1421 u_shapeArabic(const UChar *source, int32_t sourceLength, UChar *dest, int32_t destCapacity, uint32_t options, UErrorCode *pErrorCode) u_shapeArabic() argument [all...] |