Home
last modified time | relevance | path

Searched refs:cch (Results 1 - 17 of 17) sorted by relevance

/third_party/backends/backend/
H A Dsm3600-scanutil.c112 DumpBuffer(fh,pch,cch)
117 void DumpBuffer(FILE *fh, const char *pch, int cch) in DumpBuffer() argument
120 while (i<cch) in DumpBuffer()
249 int cch; in ReadChunk() local
251 cch = this->state.cchLineOut - this->state.iReadPos; in ReadChunk()
254 cch); in ReadChunk()
255 cchMax-=cch; /* advance parameters */ in ReadChunk()
256 achOut+=cch; in ReadChunk()
257 (*pcchRead)+=cch; in ReadChunk()
407 int cch; in DoScanFile() local
[all...]
H A Dsm3600-scanusb.c85 cch=BulkRead()
228 TState RegCheck(TInstance *this, int iRegister, int cch, unsigned long ulValue) in RegCheck() argument
234 if (cch<1 || cch>3) in RegCheck()
235 return SetError(this,SANE_STATUS_INVAL,"unsupported control transfer size %d",cch); in RegCheck()
236 pchBuffer=malloc(cch); in RegCheck()
237 pchTransfer=calloc(1,cch); in RegCheck()
246 for (i=0; !rcCode && i<cch; i++) in RegCheck()
255 "error in reg out: %d,%d,%08X",iRegister,cch,ulValue); in RegCheck()
263 pchTransfer, cch, /* byte in RegCheck()
406 RegRead(TInstance *this, int iRegister, int cch) RegRead() argument
[all...]
H A Dsm3600.h259 __SM3600EXPORT__ void DumpBuffer(FILE *fh, const char *pch, int cch);
290 __SM3600EXPORT__ TState RegCheck(TInstance *this,int iRegister, int cch, unsigned long ulValue);
295 __SM3600EXPORT__ unsigned int RegRead(TInstance *this,int iRegister, int cch);
/third_party/node/deps/openssl/openssl/crypto/cms/
H A Dcms_lib.c103 CMS_CertificateChoices *cch; in ossl_cms_resolve_libctx() local
115 cch = sk_CMS_CertificateChoices_value(*pcerts, i); in ossl_cms_resolve_libctx()
116 if (cch->type == CMS_CERTCHOICE_CERT) in ossl_cms_resolve_libctx()
117 ossl_x509_set0_libctx(cch->d.certificate, libctx, propq); in ossl_cms_resolve_libctx()
505 CMS_CertificateChoices *cch; in CMS_add0_CertificateChoices() local
514 cch = M_ASN1_new_of(CMS_CertificateChoices); in CMS_add0_CertificateChoices()
515 if (!cch) in CMS_add0_CertificateChoices()
517 if (!sk_CMS_CertificateChoices_push(*pcerts, cch)) { in CMS_add0_CertificateChoices()
518 M_ASN1_free_of(cch, CMS_CertificateChoices); in CMS_add0_CertificateChoices()
521 return cch; in CMS_add0_CertificateChoices()
526 CMS_CertificateChoices *cch; CMS_add0_cert() local
630 CMS_CertificateChoices *cch; STACK_OF() local
[all...]
H A Dcms_sd.c71 CMS_CertificateChoices *cch; in cms_sd_set_version() local
76 cch = sk_CMS_CertificateChoices_value(sd->certificates, i); in cms_sd_set_version()
77 if (cch->type == CMS_CERTCHOICE_OTHER) { in cms_sd_set_version()
80 } else if (cch->type == CMS_CERTCHOICE_V2ACERT) { in cms_sd_set_version()
83 } else if (cch->type == CMS_CERTCHOICE_V1ACERT) { in cms_sd_set_version()
617 CMS_CertificateChoices *cch; in CMS_set1_signers_certs() local
645 cch = sk_CMS_CertificateChoices_value(certs, j); in CMS_set1_signers_certs()
646 if (cch->type != 0) in CMS_set1_signers_certs()
648 x = cch->d.certificate; in CMS_set1_signers_certs()
H A Dcms_env.c1036 CMS_CertificateChoices *cch; in cms_env_set_originfo_version() local
1037 cch = sk_CMS_CertificateChoices_value(org->certificates, i); in cms_env_set_originfo_version()
1038 if (cch->type == CMS_CERTCHOICE_OTHER) { in cms_env_set_originfo_version()
1041 } else if (cch->type == CMS_CERTCHOICE_V2ACERT) { in cms_env_set_originfo_version()
/third_party/openssl/crypto/cms/
H A Dcms_lib.c90 CMS_CertificateChoices *cch; in ossl_cms_resolve_libctx() local
102 cch = sk_CMS_CertificateChoices_value(*pcerts, i); in ossl_cms_resolve_libctx()
103 if (cch->type == CMS_CERTCHOICE_CERT) in ossl_cms_resolve_libctx()
104 ossl_x509_set0_libctx(cch->d.certificate, libctx, propq); in ossl_cms_resolve_libctx()
492 CMS_CertificateChoices *cch; in CMS_add0_CertificateChoices() local
501 cch = M_ASN1_new_of(CMS_CertificateChoices); in CMS_add0_CertificateChoices()
502 if (!cch) in CMS_add0_CertificateChoices()
504 if (!sk_CMS_CertificateChoices_push(*pcerts, cch)) { in CMS_add0_CertificateChoices()
505 M_ASN1_free_of(cch, CMS_CertificateChoices); in CMS_add0_CertificateChoices()
508 return cch; in CMS_add0_CertificateChoices()
513 CMS_CertificateChoices *cch; CMS_add0_cert() local
617 CMS_CertificateChoices *cch; STACK_OF() local
[all...]
H A Dcms_sd.c71 CMS_CertificateChoices *cch; in cms_sd_set_version() local
76 cch = sk_CMS_CertificateChoices_value(sd->certificates, i); in cms_sd_set_version()
77 if (cch->type == CMS_CERTCHOICE_OTHER) { in cms_sd_set_version()
80 } else if (cch->type == CMS_CERTCHOICE_V2ACERT) { in cms_sd_set_version()
83 } else if (cch->type == CMS_CERTCHOICE_V1ACERT) { in cms_sd_set_version()
613 CMS_CertificateChoices *cch; in CMS_set1_signers_certs() local
641 cch = sk_CMS_CertificateChoices_value(certs, j); in CMS_set1_signers_certs()
642 if (cch->type != 0) in CMS_set1_signers_certs()
644 x = cch->d.certificate; in CMS_set1_signers_certs()
H A Dcms_env.c1017 CMS_CertificateChoices *cch; in cms_env_set_originfo_version() local
1018 cch = sk_CMS_CertificateChoices_value(org->certificates, i); in cms_env_set_originfo_version()
1019 if (cch->type == CMS_CERTCHOICE_OTHER) { in cms_env_set_originfo_version()
1022 } else if (cch->type == CMS_CERTCHOICE_V2ACERT) { in cms_env_set_originfo_version()
/third_party/python/Modules/
H A Dgetpath.c274 Py_ssize_t cch; variable
276 cch = 0;
278 parts[i] = PyUnicode_AsWideCharString(s, &cch);
291 cchFinal += cch + 1;
707 for (DWORD cch = 256; buffer == NULL && cch < (1024 * 1024); cch *= 2) { in winmodule_to_dict()
708 buffer = (wchar_t*)PyMem_RawMalloc(cch * sizeof(wchar_t)); in winmodule_to_dict()
710 if (GetModuleFileNameW(mod, buffer, cch) == cch) { in winmodule_to_dict()
[all...]
H A D_cursesmodule.c753 chtype cch = 0; in _curses_window_addch_impl() local
761 type = PyCurses_ConvertToCchar_t(self, ch, &cch, wstr); in _curses_window_addch_impl()
774 type = PyCurses_ConvertToCchar_t(self, ch, &cch); in _curses_window_addch_impl()
779 rtn = mvwaddch(self->win,y,x, cch | (attr_t) attr); in _curses_window_addch_impl()
781 rtn = waddch(self->win, cch | (attr_t) attr); in _curses_window_addch_impl()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
H A Dchar.rs17 pub cch: ::std::os::raw::c_char,
58 unsafe { ::std::ptr::addr_of!((*ptr).cch) as usize - ptr as usize }, in bindgen_test_layout_Test()
60 concat!("Offset of field: ", stringify!(Test), "::", stringify!(cch)) in bindgen_test_layout_Test()
H A Dtest_mixed_header_and_header_contents.rs24 pub cch: ::std::os::raw::c_char,
65 unsafe { ::std::ptr::addr_of!((*ptr).cch) as usize - ptr as usize }, in bindgen_test_layout_Test()
67 concat!("Offset of field: ", stringify!(Test), "::", stringify!(cch)) in bindgen_test_layout_Test()
H A Dtest_multiple_header_calls_in_builder.rs18 pub cch: ::std::os::raw::c_char,
59 unsafe { ::std::ptr::addr_of!((*ptr).cch) as usize - ptr as usize }, in bindgen_test_layout_Test()
61 concat!("Offset of field: ", stringify!(Test), "::", stringify!(cch)) in bindgen_test_layout_Test()
/third_party/rust/crates/bindgen/bindgen-tests/tests/headers/
H A Dchar.h11 const char cch; member
/third_party/python/Python/
H A Dpathconfig.c176 size_t cch = 1; in _PyPathConfig_UpdateGlobal() local
178 cch += 1 + wcslen(config->module_search_paths.items[i]); in _PyPathConfig_UpdateGlobal()
181 wchar_t *path = (wchar_t*)PyMem_RawMalloc(sizeof(wchar_t) * cch); in _PyPathConfig_UpdateGlobal()
/third_party/python/PC/
H A Dlauncher.c1911 DWORD len, cch, cch_actual; in process() local
1925 cch = MultiByteToWideChar(CP_UTF8, 0, start, len, NULL, 0); in process()
1926 if (!cch) { in process()
1929 cch += (DWORD)wcslen(PYTHON_EXECUTABLE) + 4; /* include sep, null and quotes */ in process()
1930 executable = (wchar_t *)malloc(cch * sizeof(wchar_t)); in process()
1936 cch_actual = MultiByteToWideChar(CP_UTF8, 0, start, len, &executable[1], cch - 1); in process()
1947 if (wcscat_s(&executable[1], cch - 1, PYTHON_EXECUTABLE)) { in process()
1956 wcscat_s(executable, cch, L"\""); in process()

Completed in 23 milliseconds