Home
last modified time | relevance | path

Searched refs:cd (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/external/qemu/android/camera/
Dcamera-capture-linux.c248 LinuxCameraDevice* cd; in _camera_device_alloc() local
250 ANEW0(cd); in _camera_device_alloc()
251 memset(cd, 0, sizeof(*cd)); in _camera_device_alloc()
252 cd->header.opaque = cd; in _camera_device_alloc()
253 cd->handle = -1; in _camera_device_alloc()
255 return cd; in _camera_device_alloc()
287 _camera_device_reset(LinuxCameraDevice* cd) in _camera_device_reset() argument
293 if (cd->framebuffers != NULL) { in _camera_device_reset()
294 _free_framebuffers(cd->framebuffers, cd->framebuffer_num, cd->io_type); in _camera_device_reset()
295 free(cd->framebuffers); in _camera_device_reset()
[all …]
Dcamera-capture-windows.c106 WndCameraDevice* cd = (WndCameraDevice*)malloc(sizeof(WndCameraDevice)); in _camera_device_alloc() local
107 if (cd != NULL) { in _camera_device_alloc()
108 memset(cd, 0, sizeof(WndCameraDevice)); in _camera_device_alloc()
109 cd->header.opaque = cd; in _camera_device_alloc()
113 return cd; in _camera_device_alloc()
121 _camera_device_free(WndCameraDevice* cd) in _camera_device_free() argument
123 if (cd != NULL) { in _camera_device_free()
124 if (cd->cap_window != NULL) { in _camera_device_free()
126 capDriverDisconnect(cd->cap_window); in _camera_device_free()
128 if (cd->dc != NULL) { in _camera_device_free()
[all …]
Dcamera-capture-mac.m357 MacCameraDevice* cd = (MacCameraDevice*)malloc(sizeof(MacCameraDevice));
358 if (cd != NULL) {
359 memset(cd, 0, sizeof(MacCameraDevice));
360 cd->header.opaque = cd;
364 return cd;
372 _camera_device_free(MacCameraDevice* cd)
374 if (cd != NULL) {
375 if (cd->device != NULL) {
376 [cd->device free];
377 [cd->device release];
[all …]
/external/pcre/dist/
Dpcre_compile.c49 #define NLBLOCK cd /* Block containing newline information */
911 expand_workspace(compile_data *cd) in expand_workspace() argument
914 int newsize = cd->workspace_size * 2; in expand_workspace()
917 if (cd->workspace_size >= COMPILE_WORK_SIZE_MAX || in expand_workspace()
918 newsize - cd->workspace_size < WORK_SIZE_SAFETY_MARGIN) in expand_workspace()
923 memcpy(newspace, cd->start_workspace, cd->workspace_size * sizeof(pcre_uchar)); in expand_workspace()
924 cd->hwm = (pcre_uchar *)newspace + (cd->hwm - cd->start_workspace); in expand_workspace()
925 if (cd->workspace_size > COMPILE_WORK_SIZE) in expand_workspace()
926 (PUBL(free))((void *)cd->start_workspace); in expand_workspace()
927 cd->start_workspace = newspace; in expand_workspace()
[all …]
Dpcre_study.c594 compile_data *cd, BOOL utf) in set_table_bit() argument
622 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); in set_table_bit()
653 if (caseless && (cd->ctypes[c] & ctype_letter) != 0) SET_BIT(cd->fcc[c]); in set_table_bit()
682 compile_data *cd) in set_type_bits() argument
685 for (c = 0; c < table_limit; c++) start_bits[c] |= cd->cbits[c+cbit_type]; in set_type_bits()
690 if ((cd->cbits[c/8] & (1 << (c&7))) != 0) in set_type_bits()
724 compile_data *cd) in set_nottype_bits() argument
727 for (c = 0; c < table_limit; c++) start_bits[c] |= ~cd->cbits[c+cbit_type]; in set_nottype_bits()
761 compile_data *cd) in set_start_bits() argument
931 rc = set_start_bits(tcode, start_bits, utf, cd); in set_start_bits()
[all …]
/external/openssl/crypto/cms/
Dcms_cd.c75 CMS_CompressedData *cd; in DECLARE_ASN1_ITEM() local
89 cd = M_ASN1_new_of(CMS_CompressedData); in DECLARE_ASN1_ITEM()
91 if (!cd) in DECLARE_ASN1_ITEM()
95 cms->d.compressedData = cd; in DECLARE_ASN1_ITEM()
97 cd->version = 0; in DECLARE_ASN1_ITEM()
99 X509_ALGOR_set0(cd->compressionAlgorithm, in DECLARE_ASN1_ITEM()
103 cd->encapContentInfo->eContentType = OBJ_nid2obj(NID_pkcs7_data); in DECLARE_ASN1_ITEM()
117 CMS_CompressedData *cd; in cms_CompressedData_init_bio() local
125 cd = cms->d.compressedData; in cms_CompressedData_init_bio()
126 X509_ALGOR_get0(&compoid, NULL, NULL, cd->compressionAlgorithm); in cms_CompressedData_init_bio()
/external/libcxx/test/numerics/complex.number/complex.special/
Dlong_double_float_explicit.pass.cpp24 const std::complex<float> cd(2.5, 3.5); in main() local
25 std::complex<long double> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<float> cd(2.5, 3.5); in main() local
32 constexpr std::complex<long double> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_long_double_explicit.pass.cpp24 const std::complex<long double> cd(2.5, 3.5); in main() local
25 std::complex<float> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<long double> cd(2.5, 3.5); in main() local
32 constexpr std::complex<float> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_double_explicit.pass.cpp24 const std::complex<double> cd(2.5, 3.5); in main() local
25 std::complex<long double> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<double> cd(2.5, 3.5); in main() local
32 constexpr std::complex<long double> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_double_implicit.pass.cpp24 const std::complex<double> cd(2.5, 3.5); in main() local
25 std::complex<long double> cf = cd; in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<double> cd(2.5, 3.5); in main() local
32 constexpr std::complex<long double> cf = cd; in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_float_explicit.pass.cpp24 const std::complex<float> cd(2.5, 3.5); in main() local
25 std::complex<double> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<float> cd(2.5, 3.5); in main() local
32 constexpr std::complex<double> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dlong_double_float_implicit.pass.cpp24 const std::complex<float> cd(2.5, 3.5); in main() local
25 std::complex<long double> cf = cd; in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<float> cd(2.5, 3.5); in main() local
32 constexpr std::complex<long double> cf = cd; in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_double_explicit.pass.cpp24 const std::complex<double> cd(2.5, 3.5); in main() local
25 std::complex<float> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<double> cd(2.5, 3.5); in main() local
32 constexpr std::complex<float> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_float_implicit.pass.cpp24 const std::complex<float> cd(2.5, 3.5); in main() local
25 std::complex<double> cf = cd; in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<float> cd(2.5, 3.5); in main() local
32 constexpr std::complex<double> cf = cd; in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Ddouble_long_double_explicit.pass.cpp24 const std::complex<long double> cd(2.5, 3.5); in main() local
25 std::complex<double> cf(cd); in main()
26 assert(cf.real() == cd.real()); in main()
27 assert(cf.imag() == cd.imag()); in main()
31 constexpr std::complex<long double> cd(2.5, 3.5); in main() local
32 constexpr std::complex<double> cf(cd); in main()
33 static_assert(cf.real() == cd.real(), ""); in main()
34 static_assert(cf.imag() == cd.imag(), ""); in main()
Dfloat_long_double_implicit.fail.cpp23 const std::complex<long double> cd(2.5, 3.5); in main() local
24 std::complex<float> cf = cd; in main()
25 assert(cf.real() == cd.real()); in main()
26 assert(cf.imag() == cd.imag()); in main()
/external/e2fsprogs/e2fsck/
Dpass2.c90 struct check_dir_struct cd; in e2fsck_pass2() local
100 clear_problem_context(&cd.pctx); in e2fsck_pass2()
107 fix_problem(ctx, PR_2_PASS_HEADER, &cd.pctx); in e2fsck_pass2()
112 cd.pctx.errcode = 0; in e2fsck_pass2()
116 cd.pctx.errcode = ext2fs_create_icount2(fs, in e2fsck_pass2()
122 if (cd.pctx.errcode) { in e2fsck_pass2()
123 fix_problem(ctx, PR_2_ALLOCATE_ICOUNT, &cd.pctx); in e2fsck_pass2()
137 cd.buf = buf; in e2fsck_pass2()
138 cd.ctx = ctx; in e2fsck_pass2()
139 cd.count = 1; in e2fsck_pass2()
[all …]
/external/qemu/distrib/sdl-1.2.15/src/stdlib/
DSDL_iconv.c42 size_t SDL_iconv(SDL_iconv_t cd, in SDL_iconv() argument
48 retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv()
50 retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft); in SDL_iconv()
197 SDL_iconv_t cd = (SDL_iconv_t)SDL_malloc(sizeof(*cd)); in SDL_iconv_open() local
198 if ( cd ) { in SDL_iconv_open()
199 cd->src_fmt = src_fmt; in SDL_iconv_open()
200 cd->dst_fmt = dst_fmt; in SDL_iconv_open()
201 return cd; in SDL_iconv_open()
207 size_t SDL_iconv(SDL_iconv_t cd, in SDL_iconv() argument
230 switch ( cd->src_fmt ) { in SDL_iconv()
[all …]
/external/pcre/dist/testdata/
Dtestinput4106 /(?<=aXb)cd/8
109 /(?<=a\x{100}b)cd/8
112 /(?<=a\x{100000}b)cd/8
271 ab> <cd
274 ab> <cd
277 ab> <cd
280 ab> <cd
288 ab cd
294 ab cd
305 ab====cd
[all …]
Dtestinput9162 /(?<=aXb)cd/8
165 /(?<=a\x{100}b)cd/8
168 /(?<=a\x{100000}b)cd/8
327 ab> <cd
330 ab> <cd
333 ab> <cd
336 ab> <cd
344 ab cd
350 ab cd
361 ab====cd
[all …]
Dtestoutput4219 /(?<=aXb)cd/8
221 0: cd
223 /(?<=a\x{100}b)cd/8
225 0: cd
227 /(?<=a\x{100000}b)cd/8
229 0: cd
472 ab> <cd
474 0+ cd
480 ab> <cd
484 ab> <cd
[all …]
/external/valgrind/main/docs/internals/
Dhowto_BUILD_KDE42.txt72 cd qt-x11-opensource-src-4.4.3
122 for each package, use a separate source and build dir cd to the build
153 cd ~
156 cd build
158 cd kdesupport
165 cd ~/build
167 cd kdelibs
174 cd ~/build
176 cd kdepimlibs
183 cd ~/build
[all …]
/external/compiler-rt/test/msan/
Diconv.cc12 iconv_t cd = iconv_open("ASCII", "ASCII"); in main() local
13 assert(cd != (iconv_t)-1); in main()
32 res = iconv(cd, 0, 0, 0, 0); in main()
35 res = iconv(cd, 0, 0, &outbuf, &outbytesleft); in main()
38 res = iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
46 iconv_close(cd); in main()
/external/chromium_org/third_party/sqlite/src/test/
Dfts3expr.test39 test_fts3expr "ab AND cd"
40 } {AND {PHRASE 3 0 ab} {PHRASE 3 0 cd}}
42 test_fts3expr "ab cd"
43 } {AND {PHRASE 3 0 ab} {PHRASE 3 0 cd}}
45 test_fts3expr "ab OR cd"
46 } {OR {PHRASE 3 0 ab} {PHRASE 3 0 cd}}
48 test_fts3expr "ab NOT cd"
49 } {NOT {PHRASE 3 0 ab} {PHRASE 3 0 cd}}
51 test_fts3expr "ab NEAR cd"
52 } {NEAR/10 {PHRASE 3 0 ab} {PHRASE 3 0 cd}}
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DContentDispositionParser.java73 ContentDisposition cd = new ContentDisposition(); in parse() local
74 cd.setHeaderName(SIPHeaderNames.CONTENT_DISPOSITION); in parse()
80 cd.setDispositionType(token.getTokenValue()); in parse()
82 super.parse(cd); in parse()
87 return cd; in parse()

12345678910>>...28