/dports/graphics/zint/zint-2.10.0-src/backend/tests/ |
H A D | test_gb2312.c | 101 int ret_length; in test_gb2312_utf8() member 135 int ret_length; in test_gb2312_utf8() local 140 ret_length = length; in test_gb2312_utf8() 146 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_gb2312_utf8() 164 int ret_length; in test_gb2312_utf8_to_eci() member 235 int ret_length; in test_gb2312_utf8_to_eci() local 240 ret_length = length; in test_gb2312_utf8_to_eci() 246 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_gb2312_utf8_to_eci() 263 int ret_length; in test_gb2312_cpy() member 288 int ret_length; in test_gb2312_cpy() local [all …]
|
H A D | test_sjis.c | 120 int ret_length; in test_sjis_utf8() member 153 int ret_length; in test_sjis_utf8() local 158 ret_length = length; in test_sjis_utf8() 164 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_sjis_utf8() 182 int ret_length; in test_sjis_utf8_to_eci() member 243 int ret_length; in test_sjis_utf8_to_eci() local 248 ret_length = length; in test_sjis_utf8_to_eci() 254 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_sjis_utf8_to_eci() 271 int ret_length; in test_sjis_cpy() member 295 int ret_length; in test_sjis_cpy() local [all …]
|
H A D | test_gb18030.c | 182 int ret_length; in test_gb18030_utf8() member 218 int ret_length; in test_gb18030_utf8() local 223 ret_length = length; in test_gb18030_utf8() 229 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_gb18030_utf8() 247 int ret_length; in test_gb18030_utf8_to_eci() member 320 int ret_length; in test_gb18030_utf8_to_eci() local 325 ret_length = length; in test_gb18030_utf8_to_eci() 331 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_gb18030_utf8_to_eci() 348 int ret_length; in test_gb18030_cpy() member 373 int ret_length; in test_gb18030_cpy() local [all …]
|
H A D | test_big5.c | 109 int ret_length; in test_big5_utf8() member 129 int ret_length; in test_big5_utf8() local 134 ret_length = length; in test_big5_utf8() 136 ret = big5_utf8(&symbol, (unsigned char *) data[i].data, &ret_length, b5data); in test_big5_utf8() 140 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_big5_utf8() 141 for (j = 0; j < ret_length; j++) { in test_big5_utf8()
|
H A D | test_common.c | 41 int ret_length; in test_utf8_to_unicode() member 64 int ret_length; in test_utf8_to_unicode() local 69 ret_length = length; in test_utf8_to_unicode() 71 …ret = utf8_to_unicode(&symbol, (unsigned char *) data[i].data, vals, &ret_length, data[i].disallow… in test_utf8_to_unicode() 75 …assert_equal(ret_length, data[i].ret_length, "i:%d ret_length %d != %d\n", i, ret_length, data[i].… in test_utf8_to_unicode() 76 for (j = 0; j < ret_length; j++) { in test_utf8_to_unicode()
|
/dports/games/flare-engine/flare-engine-1.12/src/ |
H A D | SDLFontEngine.cpp | 156 size_t ret_length = text_length; in trimTextToWidth() local 162 ret_length = i; in trimTextToWidth() 168 ret_length = i; in trimTextToWidth() 174 ret_length = i; in trimTextToWidth() 179 while (ret_length > 0 && ((text[ret_length] & 0xc0) == 0x80)) { in trimTextToWidth() 180 ret_length--; in trimTextToWidth() 185 if (left_pos < text_length - ret_length) in trimTextToWidth() 186 return text.substr(left_pos, ret_length); in trimTextToWidth() 188 return text.substr(text_length-ret_length); in trimTextToWidth() 194 if (text_length-ret_length < 3) in trimTextToWidth() [all …]
|
/dports/net-p2p/transmission-utils/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/net-p2p/transmission-cli/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/net-p2p/transmission-qt/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/net-p2p/transmission-daemon/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/net-p2p/transmission-gtk/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/www/transmission-web/transmission-3.00/libtransmission/ |
H A D | crypto-utils.c | 198 size_t ret_length = 4 * ((input_length + 2) / 3); in tr_base64_encode() local 203 ret_length += ret_length / 72 + 1; in tr_base64_encode() 206 ret = tr_new(char, ret_length + 8); in tr_base64_encode() 209 ret_length = base64_encode_block(input, input_length, ret, &state); in tr_base64_encode() 210 ret_length += base64_encode_blockend(ret + ret_length, &state); in tr_base64_encode() 214 *output_length = ret_length; in tr_base64_encode() 217 ret[ret_length] = '\0'; in tr_base64_encode() 252 size_t ret_length = input_length / 4 * 3; in tr_base64_decode() local 255 ret = tr_new(char, ret_length + 8); in tr_base64_decode() 262 *output_length = ret_length; in tr_base64_decode() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/src/media/ |
H A D | DataBuffer.c | 90 return IDataBuffer_Requestor__GetLength( obj, ret_length ); in DataBuffer_GetLength() 165 unsigned int *ret_length ) in DataBuffer_Dispatch() argument 334 *ret_length = return_args->length; in IDataBuffer_Requestor__GetLength() 542 unsigned int *ret_length ) in __DataBufferDispatch__Dispatch() argument 560 *ret_length = sizeof(DataBufferFlushReturn); in __DataBufferDispatch__Dispatch() 576 *ret_length = sizeof(DataBufferFinishReturn); in __DataBufferDispatch__Dispatch() 592 *ret_length = sizeof(DataBufferSeekToReturn); in __DataBufferDispatch__Dispatch() 624 *ret_length = sizeof(DataBufferGetLengthReturn); in __DataBufferDispatch__Dispatch() 704 *ret_length = sizeof(DataBufferHasDataReturn); in __DataBufferDispatch__Dispatch() 720 *ret_length = sizeof(DataBufferPutDataReturn); in __DataBufferDispatch__Dispatch() [all …]
|
H A D | ImageProvider.c | 96 unsigned int *ret_length ) in ImageProvider_Dispatch() argument 99 …ageProviderDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in ImageProvider_Dispatch() 261 unsigned int *ret_length ) in __ImageProviderDispatch__Dispatch() argument 279 *ret_length = sizeof(ImageProviderDisposeReturn); in __ImageProviderDispatch__Dispatch() 295 *ret_length = sizeof(ImageProviderGetSurfaceDescriptionReturn); in __ImageProviderDispatch__Dispatch() 311 *ret_length = sizeof(ImageProviderGetImageDescriptionReturn); in __ImageProviderDispatch__Dispatch() 335 *ret_length = sizeof(ImageProviderRenderToReturn); in __ImageProviderDispatch__Dispatch() 357 unsigned int *ret_length ) in ImageProviderDispatch__Dispatch() argument 365 …ImageProviderDispatch__Dispatch( obj, caller, method, ptr, length, ret_ptr, ret_size, ret_length ); in ImageProviderDispatch__Dispatch()
|
/dports/games/manaplus/manaplus-2.1.3.17/src/utils/ |
H A D | base64.cpp | 48 int *restrict const ret_length) in php3_base64_encode() argument 91 if (ret_length != nullptr) in php3_base64_encode() 93 *ret_length = i; in php3_base64_encode() 102 int *restrict const ret_length) in php3_base64_decode() argument 180 if (ret_length != nullptr) in php3_base64_decode() 182 *ret_length = j; in php3_base64_decode()
|
/dports/www/libwww/w3c-libwww-5.4.2/Library/Examples/ |
H A D | rdf_parse_buffer.c | 50 PRIVATE char * parse_buffer(const char *file_name, char **ret_buff, int *ret_length) in parse_buffer() argument 56 *ret_length = 0; in parse_buffer() 77 *ret_length = *ret_length + buff_len; in parse_buffer() 90 *ret_buff = HT_REALLOC(*ret_buff, (*ret_length) + 1); in parse_buffer()
|
/dports/devel/directfb/DirectFB-1.4.17/src/core/ |
H A D | CoreInputDevice.c | 124 unsigned int *ret_length ) in CoreInputDevice_Dispatch() argument 127 …InputDeviceDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CoreInputDevice_Dispatch() 222 unsigned int *ret_length ) in __CoreInputDeviceDispatch__Dispatch() argument 240 *ret_length = sizeof(CoreInputDeviceSetKeymapEntryReturn); in __CoreInputDeviceDispatch__Dispatch() 256 *ret_length = sizeof(CoreInputDeviceReloadKeymapReturn); in __CoreInputDeviceDispatch__Dispatch() 275 unsigned int *ret_length ) in CoreInputDeviceDispatch__Dispatch() argument 283 …reInputDeviceDispatch__Dispatch( obj, caller, method, ptr, length, ret_ptr, ret_size, ret_length ); in CoreInputDeviceDispatch__Dispatch()
|
H A D | CoreLayerRegion.c | 124 unsigned int *ret_length ) in CoreLayerRegion_Dispatch() argument 127 …LayerRegionDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CoreLayerRegion_Dispatch() 236 unsigned int *ret_length ) in __CoreLayerRegionDispatch__Dispatch() argument 256 *ret_length = sizeof(CoreLayerRegionGetSurfaceReturn); in __CoreLayerRegionDispatch__Dispatch() 272 *ret_length = sizeof(CoreLayerRegionFlipUpdateReturn); in __CoreLayerRegionDispatch__Dispatch() 291 unsigned int *ret_length ) in CoreLayerRegionDispatch__Dispatch() argument 299 …reLayerRegionDispatch__Dispatch( obj, caller, method, ptr, length, ret_ptr, ret_size, ret_length ); in CoreLayerRegionDispatch__Dispatch()
|
H A D | CoreSlave.c | 113 unsigned int *ret_length ) in CoreSlave_Dispatch() argument 116 … CoreSlaveDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CoreSlave_Dispatch() 217 unsigned int *ret_length ) in __CoreSlaveDispatch__Dispatch() argument 235 *ret_length = sizeof(CoreSlaveGetDataReturn) + args->bytes * sizeof(u8); in __CoreSlaveDispatch__Dispatch() 251 *ret_length = sizeof(CoreSlavePutDataReturn); in __CoreSlaveDispatch__Dispatch() 270 unsigned int *ret_length ) in CoreSlaveDispatch__Dispatch() argument 278 …= __CoreSlaveDispatch__Dispatch( obj, caller, method, ptr, length, ret_ptr, ret_size, ret_length ); in CoreSlaveDispatch__Dispatch()
|
H A D | CorePalette.c | 127 unsigned int *ret_length ) in CorePalette_Dispatch() argument 130 …CorePaletteDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CorePalette_Dispatch() 233 unsigned int *ret_length ) in __CorePaletteDispatch__Dispatch() argument 251 *ret_length = sizeof(CorePaletteSetEntriesReturn); in __CorePaletteDispatch__Dispatch() 267 *ret_length = sizeof(CorePaletteSetEntriesYUVReturn); in __CorePaletteDispatch__Dispatch() 286 unsigned int *ret_length ) in CorePaletteDispatch__Dispatch() argument 294 …__CorePaletteDispatch__Dispatch( obj, caller, method, ptr, length, ret_ptr, ret_size, ret_length ); in CorePaletteDispatch__Dispatch()
|
H A D | CoreLayer.c | 248 unsigned int *ret_length ) in CoreLayer_Dispatch() argument 251 … CoreLayerDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CoreLayer_Dispatch() 484 unsigned int *ret_length ) in __CoreLayerDispatch__Dispatch() argument 504 *ret_length = sizeof(CoreLayerCreateContextReturn); in __CoreLayerDispatch__Dispatch() 522 *ret_length = sizeof(CoreLayerGetPrimaryContextReturn); in __CoreLayerDispatch__Dispatch() 546 *ret_length = sizeof(CoreLayerActivateContextReturn); in __CoreLayerDispatch__Dispatch() 565 *ret_length = sizeof(CoreLayerGetCurrentOutputFieldReturn); in __CoreLayerDispatch__Dispatch() 581 *ret_length = sizeof(CoreLayerSetLevelReturn); in __CoreLayerDispatch__Dispatch() 597 *ret_length = sizeof(CoreLayerWaitVSyncReturn); in __CoreLayerDispatch__Dispatch() 616 unsigned int *ret_length ) in CoreLayerDispatch__Dispatch() argument [all …]
|
H A D | CoreWindowStack.c | 437 unsigned int *ret_length ) in CoreWindowStack_Dispatch() argument 848 unsigned int *ret_length ) in __CoreWindowStackDispatch__Dispatch() argument 866 *ret_length = sizeof(CoreWindowStackRepaintAllReturn); in __CoreWindowStackDispatch__Dispatch() 890 *ret_length = sizeof(CoreWindowStackGetInsetsReturn); in __CoreWindowStackDispatch__Dispatch() 909 *ret_length = sizeof(CoreWindowStackCursorEnableReturn); in __CoreWindowStackDispatch__Dispatch() 933 *ret_length = sizeof(CoreWindowStackCursorSetShapeReturn); in __CoreWindowStackDispatch__Dispatch() 952 *ret_length = sizeof(CoreWindowStackCursorSetOpacityReturn); in __CoreWindowStackDispatch__Dispatch() 984 *ret_length = sizeof(CoreWindowStackCursorWarpReturn); in __CoreWindowStackDispatch__Dispatch() 1000 *ret_length = sizeof(CoreWindowStackCursorGetPositionReturn); in __CoreWindowStackDispatch__Dispatch() 1016 *ret_length = sizeof(CoreWindowStackBackgroundSetModeReturn); in __CoreWindowStackDispatch__Dispatch() [all …]
|
H A D | CoreDFB.c | 253 unsigned int *ret_length ) in CoreDFB_Dispatch() argument 256 CoreDFBDispatch__Dispatch( obj, caller, call_arg, ptr, length, ret_ptr, ret_size, ret_length ); in CoreDFB_Dispatch() 513 unsigned int *ret_length ) in __CoreDFBDispatch__Dispatch() argument 531 *ret_length = sizeof(CoreDFBRegisterReturn); in __CoreDFBDispatch__Dispatch() 559 *ret_length = sizeof(CoreDFBCreateSurfaceReturn); in __CoreDFBDispatch__Dispatch() 580 *ret_length = sizeof(CoreDFBCreatePaletteReturn); in __CoreDFBDispatch__Dispatch() 598 *ret_length = sizeof(CoreDFBCreateStateReturn); in __CoreDFBDispatch__Dispatch() 614 *ret_length = sizeof(CoreDFBWaitIdleReturn); in __CoreDFBDispatch__Dispatch() 630 *ret_length = sizeof(CoreDFBCreateImageProviderReturn); in __CoreDFBDispatch__Dispatch() 649 unsigned int *ret_length ) in CoreDFBDispatch__Dispatch() argument [all …]
|
H A D | CoreScreen.c | 412 unsigned int *ret_length ) in CoreScreen_Dispatch() argument 809 unsigned int *ret_length ) in __CoreScreenDispatch__Dispatch() argument 827 *ret_length = sizeof(CoreScreenSetPowerModeReturn); in __CoreScreenDispatch__Dispatch() 843 *ret_length = sizeof(CoreScreenWaitVSyncReturn); in __CoreScreenDispatch__Dispatch() 859 *ret_length = sizeof(CoreScreenGetVSyncCountReturn); in __CoreScreenDispatch__Dispatch() 875 *ret_length = sizeof(CoreScreenTestMixerConfigReturn); in __CoreScreenDispatch__Dispatch() 891 *ret_length = sizeof(CoreScreenSetMixerConfigReturn); in __CoreScreenDispatch__Dispatch() 923 *ret_length = sizeof(CoreScreenSetEncoderConfigReturn); in __CoreScreenDispatch__Dispatch() 955 *ret_length = sizeof(CoreScreenSetOutputConfigReturn); in __CoreScreenDispatch__Dispatch() 971 *ret_length = sizeof(CoreScreenGetScreenSizeReturn); in __CoreScreenDispatch__Dispatch() [all …]
|
/dports/devel/directfb/DirectFB-1.4.17/lib/fusion/ |
H A D | call.c | 258 unsigned int *ret_length) in fusion_call_execute3() argument 284 if (ret_length) in fusion_call_execute3() 285 *ret_length = execute_length; in fusion_call_execute3() 339 execute.ret_length = ret_size; in fusion_call_execute3() 362 if (ret_length) in fusion_call_execute3() 363 *ret_length = execute.ret_length; in fusion_call_execute3() 720 unsigned int ret_length = 0; in _fusion_call_process3() local 737 ret_ptr = D_MALLOC( msg->ret_length ); in _fusion_call_process3() 742 ret_ptr = alloca( msg->ret_length ); in _fusion_call_process3() 754 call_ret.length = ret_length; in _fusion_call_process3() [all …]
|