/external/icu/icu4c/source/common/ |
D | ucnv_u16.cpp | 39 _UTF16ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, 52 _UTF16BEFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in _UTF16BEFromUnicodeWithOffsets() argument 63 source=pArgs->source; in _UTF16BEFromUnicodeWithOffsets() 64 length=(int32_t)(pArgs->sourceLimit-source); in _UTF16BEFromUnicodeWithOffsets() 70 cnv=pArgs->converter; in _UTF16BEFromUnicodeWithOffsets() 77 &pArgs->target, pArgs->targetLimit, in _UTF16BEFromUnicodeWithOffsets() 78 &pArgs->offsets, -1, in _UTF16BEFromUnicodeWithOffsets() 83 target=pArgs->target; in _UTF16BEFromUnicodeWithOffsets() 84 if(target >= pArgs->targetLimit) { in _UTF16BEFromUnicodeWithOffsets() 89 targetCapacity=(uint32_t)(pArgs->targetLimit-target); in _UTF16BEFromUnicodeWithOffsets() [all …]
|
D | ucnvlat1.cpp | 36 _Latin1ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _Latin1ToUnicodeWithOffsets() argument 46 source=(const uint8_t *)pArgs->source; in _Latin1ToUnicodeWithOffsets() 47 target=pArgs->target; in _Latin1ToUnicodeWithOffsets() 48 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Latin1ToUnicodeWithOffsets() 49 offsets=pArgs->offsets; in _Latin1ToUnicodeWithOffsets() 57 length=(int32_t)((const uint8_t *)pArgs->sourceLimit-source); in _Latin1ToUnicodeWithOffsets() 107 pArgs->source=(const char *)source; in _Latin1ToUnicodeWithOffsets() 108 pArgs->target=target; in _Latin1ToUnicodeWithOffsets() 116 pArgs->offsets=offsets; in _Latin1ToUnicodeWithOffsets() 122 _Latin1GetNextUChar(UConverterToUnicodeArgs *pArgs, in _Latin1GetNextUChar() argument [all …]
|
D | ucnv_u7.cpp | 198 UConverterLoadArgs *pArgs, in _UTF7Open() argument 200 (void)pArgs; in _UTF7Open() 211 _UTF7ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF7ToUnicodeWithOffsets() argument 235 cnv=pArgs->converter; in _UTF7ToUnicodeWithOffsets() 237 source=(const uint8_t *)pArgs->source; in _UTF7ToUnicodeWithOffsets() 238 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _UTF7ToUnicodeWithOffsets() 239 target=pArgs->target; in _UTF7ToUnicodeWithOffsets() 240 targetLimit=pArgs->targetLimit; in _UTF7ToUnicodeWithOffsets() 241 offsets=pArgs->offsets; in _UTF7ToUnicodeWithOffsets() 440 if(U_SUCCESS(*pErrorCode) && pArgs->flush && source==sourceLimit && bits==0) { in _UTF7ToUnicodeWithOffsets() [all …]
|
D | ucnvbocu.cpp | 392 _Bocu1FromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, in _Bocu1FromUnicodeWithOffsets() argument 405 cnv=pArgs->converter; in _Bocu1FromUnicodeWithOffsets() 406 source=pArgs->source; in _Bocu1FromUnicodeWithOffsets() 407 sourceLimit=pArgs->sourceLimit; in _Bocu1FromUnicodeWithOffsets() 408 target=(uint8_t *)pArgs->target; in _Bocu1FromUnicodeWithOffsets() 409 targetCapacity=(int32_t)(pArgs->targetLimit-pArgs->target); in _Bocu1FromUnicodeWithOffsets() 410 offsets=pArgs->offsets; in _Bocu1FromUnicodeWithOffsets() 458 targetCapacity=(int32_t)((const uint8_t *)pArgs->targetLimit-target); in _Bocu1FromUnicodeWithOffsets() 640 pArgs->source=source; in _Bocu1FromUnicodeWithOffsets() 641 pArgs->target=(char *)target; in _Bocu1FromUnicodeWithOffsets() [all …]
|
D | ucnv_u32.cpp | 1039 UConverterLoadArgs *pArgs, in _UTF32Open() argument 1041 (void)pArgs; in _UTF32Open() 1049 _UTF32ToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _UTF32ToUnicodeWithOffsets() argument 1051 UConverter *cnv=pArgs->converter; in _UTF32ToUnicodeWithOffsets() 1052 const char *source=pArgs->source; in _UTF32ToUnicodeWithOffsets() 1053 const char *sourceLimit=pArgs->sourceLimit; in _UTF32ToUnicodeWithOffsets() 1054 int32_t *offsets=pArgs->offsets; in _UTF32ToUnicodeWithOffsets() 1093 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets() 1096 offsetDelta=(int32_t)(source-pArgs->source); in _UTF32ToUnicodeWithOffsets() 1100 … int32_t count=(int32_t)(source-pArgs->source); /* number of bytes from this buffer */ in _UTF32ToUnicodeWithOffsets() [all …]
|
D | ucnvmbcs.cpp | 383 UConverterLoadArgs *pArgs, 392 UConverterLoadArgs *pArgs, 396 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs, 410 ucnv_MBCSWriteSub(UConverterFromUnicodeArgs *pArgs, 415 ucnv_MBCSGetNextUChar(UConverterToUnicodeArgs *pArgs, 1556 UConverterLoadArgs *pArgs, in ucnv_MBCSLoad() argument 1602 if(pArgs->nestedLoads!=1) { in ucnv_MBCSLoad() 1619 args.onlyTestIsLoadable=pArgs->onlyTestIsLoadable; in ucnv_MBCSLoad() 1620 args.reserved=pArgs->reserved; in ucnv_MBCSLoad() 1621 args.options=pArgs->options; in ucnv_MBCSLoad() [all …]
|
D | ucnv_bld.cpp | 289 ucnv_data_unFlattenClone(UConverterLoadArgs *pArgs, UDataMemory *pData, UErrorCode *status) in ucnv_data_unFlattenClone() argument 327 data->impl->load(data, pArgs, raw + source->structSize, status); in ucnv_data_unFlattenClone() 340 static UConverterSharedData *createConverterFromFile(UConverterLoadArgs *pArgs, UErrorCode * err) in createConverterFromFile() argument 352 UTRACE_DATA2(UTRACE_OPEN_CLOSE, "load converter %s from package %s", pArgs->name, pArgs->pkg); in createConverterFromFile() 354 data = udata_openChoice(pArgs->pkg, DATA_TYPE, pArgs->name, isCnvAcceptable, NULL, err); in createConverterFromFile() 361 sharedData = ucnv_data_unFlattenClone(pArgs, data, err); in createConverterFromFile() 543 ucnv_load(UConverterLoadArgs *pArgs, UErrorCode *err) { in ucnv_load() argument 550 if(pArgs->pkg != NULL && *pArgs->pkg != 0) { in ucnv_load() 552 return createConverterFromFile(pArgs, err); in ucnv_load() 555 mySharedConverterData = ucnv_getSharedConverterData(pArgs->name); in ucnv_load() [all …]
|
D | ucnv.cpp | 826 _fromUnicodeWithCallback(UConverterFromUnicodeArgs *pArgs, UErrorCode *err) { in _fromUnicodeWithCallback() argument 842 cnv=pArgs->converter; in _fromUnicodeWithCallback() 843 s=pArgs->source; in _fromUnicodeWithCallback() 844 t=pArgs->target; in _fromUnicodeWithCallback() 845 offsets=pArgs->offsets; in _fromUnicodeWithCallback() 875 realSource=pArgs->source; in _fromUnicodeWithCallback() 876 realSourceLimit=pArgs->sourceLimit; in _fromUnicodeWithCallback() 877 realFlush=pArgs->flush; in _fromUnicodeWithCallback() 881 pArgs->source=replay; in _fromUnicodeWithCallback() 882 pArgs->sourceLimit=replay-cnv->preFromULength; in _fromUnicodeWithCallback() [all …]
|
D | ucnvscsu.cpp | 196 UConverterLoadArgs *pArgs, in _SCSUOpen() argument 198 const char *locale=pArgs->locale; in _SCSUOpen() 199 if(pArgs->onlyTestIsLoadable) { in _SCSUOpen() 232 _SCSUToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs, in _SCSUToUnicodeWithOffsets() argument 249 cnv=pArgs->converter; in _SCSUToUnicodeWithOffsets() 252 source=(const uint8_t *)pArgs->source; in _SCSUToUnicodeWithOffsets() 253 sourceLimit=(const uint8_t *)pArgs->sourceLimit; in _SCSUToUnicodeWithOffsets() 254 target=pArgs->target; in _SCSUToUnicodeWithOffsets() 255 targetLimit=pArgs->targetLimit; in _SCSUToUnicodeWithOffsets() 256 offsets=pArgs->offsets; in _SCSUToUnicodeWithOffsets() [all …]
|
D | ucnv_ext.cpp | 372 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchToU() argument 379 pArgs->source, (int32_t)(pArgs->sourceLimit-pArgs->source), in ucnv_extContinueMatchToU() 381 cnv->useFallback, pArgs->flush); in ucnv_extContinueMatchToU() 385 pArgs->source+=match-cnv->preToULength; in ucnv_extContinueMatchToU() 397 &pArgs->target, pArgs->targetLimit, in ucnv_extContinueMatchToU() 398 &pArgs->offsets, srcIndex, in ucnv_extContinueMatchToU() 406 s=pArgs->source; in ucnv_extContinueMatchToU() 411 pArgs->source=s; /* same as *src=srcLimit; because we reached the end of input */ in ucnv_extContinueMatchToU() 868 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex, in ucnv_extContinueMatchFromU() argument 876 pArgs->source, (int32_t)(pArgs->sourceLimit-pArgs->source), in ucnv_extContinueMatchFromU() [all …]
|
D | ucnv_imp.h | 90 UConverterLoadArgs *pArgs, 114 UConverterLoadArgs *pArgs,
|
D | ucnv_cnv.h | 65 UConverterLoadArgs *pArgs, 69 typedef void (*UConverterOpen) (UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *pErrorCode); 169 typedef void (*UConverterWriteSub) (UConverterFromUnicodeArgs *pArgs, int32_t offsetIndex, UErrorCo…
|
D | ucnv_ext.h | 368 UConverterToUnicodeArgs *pArgs, int32_t srcIndex, 388 UConverterFromUnicodeArgs *pArgs, int32_t srcIndex,
|
D | ucnv_lmb.cpp | 624 _LMBCSOpen##n(UConverter* _this, UConverterLoadArgs* pArgs, UErrorCode* err) \ 625 { _LMBCSOpenWorker(_this, pArgs, err, n); } 632 UConverterLoadArgs *pArgs, in _LMBCSOpenWorker() argument 646 stackArgs.onlyTestIsLoadable = pArgs->onlyTestIsLoadable; in _LMBCSOpenWorker() 655 if(U_FAILURE(*err) || pArgs->onlyTestIsLoadable) { in _LMBCSOpenWorker() 660 extraInfo->localeConverterIndex = FindLMBCSLocale(pArgs->locale); in _LMBCSOpenWorker()
|
D | ucnvmbcs.h | 570 ucnv_MBCSFromUnicodeWithOffsets(UConverterFromUnicodeArgs *pArgs, 573 ucnv_MBCSToUnicodeWithOffsets(UConverterToUnicodeArgs *pArgs,
|
D | ucnv_ct.cpp | 170 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode); 262 _CompoundTextOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _CompoundTextOpen() argument 292 if (U_FAILURE(*errorCode) || pArgs->onlyTestIsLoadable) { in _CompoundTextOpen()
|
D | ucnvisci.cpp | 191 _ISCIIOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode) { in _ISCIIOpen() argument 192 if(pArgs->onlyTestIsLoadable) { in _ISCIIOpen() 207 if ((pArgs->options & UCNV_OPTIONS_VERSION_MASK) < 9) { in _ISCIIOpen() 211 …= converterData->defDeltaToUnicode = (uint16_t)(lookupInitialData[pArgs->options & UCNV_OPTIONS_VE… in _ISCIIOpen() 215 …= converterData->defMaskToUnicode = lookupInitialData[pArgs->options & UCNV_OPTIONS_VERSION_MASK].… in _ISCIIOpen() 220 converterData->name[len]= (char)((pArgs->options & UCNV_OPTIONS_VERSION_MASK) + '0'); in _ISCIIOpen()
|
D | ucnv_bld.h | 272 ucnv_load(UConverterLoadArgs *pArgs, UErrorCode *err);
|
D | ucnvhz.cpp | 72 _HZOpen(UConverter *cnv, UConverterLoadArgs *pArgs, UErrorCode *errorCode){ in _HZOpen() argument 74 if(pArgs->onlyTestIsLoadable) { in _HZOpen()
|
/external/python/cpython3/Doc/includes/ |
D | run-func.c | 7 PyObject *pArgs, *pValue; in main() local 27 pArgs = PyTuple_New(argc - 3); in main() 31 Py_DECREF(pArgs); in main() 37 PyTuple_SetItem(pArgs, i, pValue); in main() 39 pValue = PyObject_CallObject(pFunc, pArgs); in main() 40 Py_DECREF(pArgs); in main()
|
/external/python/cpython2/Doc/includes/ |
D | run-func.c | 7 PyObject *pArgs, *pValue; in main() local 27 pArgs = PyTuple_New(argc - 3); in main() 31 Py_DECREF(pArgs); in main() 37 PyTuple_SetItem(pArgs, i, pValue); in main() 39 pValue = PyObject_CallObject(pFunc, pArgs); in main() 40 Py_DECREF(pArgs); in main()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | win32_functions.c | 174 DWORD dwArgs[3], *pArgs[3] = {NULL, NULL, NULL}; in win32_SetNamedPipeHandleState() local 188 pArgs[i] = &dwArgs[i]; in win32_SetNamedPipeHandleState() 192 if (!SetNamedPipeHandleState(hNamedPipe, pArgs[0], pArgs[1], pArgs[2])) in win32_SetNamedPipeHandleState()
|
/external/python/cpython3/Modules/_ctypes/ |
D | callbacks.c | 132 void **pArgs) in _CallPythonObject() argument 168 PyObject *v = dict->getfunc(*pArgs, dict->size); in _CallPythonObject() 194 memcpy(obj->b_ptr, *pArgs, dict->size); in _CallPythonObject() 208 pArgs++; in _CallPythonObject()
|
/external/python/cpython2/Modules/_ctypes/ |
D | callbacks.c | 213 void **pArgs) in _CallPythonObject() argument 251 PyObject *v = dict->getfunc(*pArgs, dict->size); in _CallPythonObject() 277 memcpy(obj->b_ptr, *pArgs, dict->size); in _CallPythonObject() 291 pArgs++; in _CallPythonObject()
|
/external/python/cpython3/Modules/ |
D | _winapi.c | 1448 DWORD dwArgs[3], *pArgs[3] = {NULL, NULL, NULL}; in _winapi_SetNamedPipeHandleState_impl() local 1458 pArgs[i] = &dwArgs[i]; in _winapi_SetNamedPipeHandleState_impl() 1462 if (!SetNamedPipeHandleState(named_pipe, pArgs[0], pArgs[1], pArgs[2])) in _winapi_SetNamedPipeHandleState_impl()
|