/third_party/libsnd/src/ |
D | vox_adpcm.c | 178 short *sptr ; in vox_read_i() local 186 sptr = ubuf.sbuf ; in vox_read_i() 190 count = vox_read_block (psf, pvox, sptr, readcount) ; in vox_read_i() 192 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in vox_read_i() 206 short *sptr ; in vox_read_f() local 217 sptr = ubuf.sbuf ; in vox_read_f() 221 count = vox_read_block (psf, pvox, sptr, readcount) ; in vox_read_f() 223 ptr [total + k] = normfact * (float) (sptr [k]) ; in vox_read_f() 237 short *sptr ; in vox_read_d() local 248 sptr = ubuf.sbuf ; in vox_read_d() [all …]
|
D | g72x.c | 256 short *sptr ; in g72x_read_i() local 264 sptr = ubuf.sbuf ; in g72x_read_i() 268 count = g72x_read_block (psf, pg72x, sptr, readcount) ; in g72x_read_i() 271 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in g72x_read_i() 286 short *sptr ; in g72x_read_f() local 297 sptr = ubuf.sbuf ; in g72x_read_f() 301 count = g72x_read_block (psf, pg72x, sptr, readcount) ; in g72x_read_f() 303 ptr [total + k] = normfact * sptr [k] ; in g72x_read_f() 318 short *sptr ; in g72x_read_d() local 329 sptr = ubuf.sbuf ; in g72x_read_d() [all …]
|
D | gsm610.c | 294 short *sptr ; in gsm610_read_i() local 302 sptr = ubuf.sbuf ; in gsm610_read_i() 306 count = gsm610_read_block (psf, pgsm610, sptr, readcount) ; in gsm610_read_i() 308 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in gsm610_read_i() 320 short *sptr ; in gsm610_read_f() local 331 sptr = ubuf.sbuf ; in gsm610_read_f() 335 count = gsm610_read_block (psf, pgsm610, sptr, readcount) ; in gsm610_read_f() 337 ptr [total + k] = normfact * sptr [k] ; in gsm610_read_f() 349 short *sptr ; in gsm610_read_d() local 360 sptr = ubuf.sbuf ; in gsm610_read_d() [all …]
|
D | ms_adpcm.c | 368 short *sptr ; in msadpcm_read_i() local 376 sptr = ubuf.sbuf ; in msadpcm_read_i() 381 if ((count = msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_i() 385 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in msadpcm_read_i() 398 short *sptr ; in msadpcm_read_f() local 408 sptr = ubuf.sbuf ; in msadpcm_read_f() 413 if ((count = msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_f() 417 ptr [total + k] = normfact * (float) (sptr [k]) ; in msadpcm_read_f() 430 short *sptr ; in msadpcm_read_d() local 440 sptr = ubuf.sbuf ; in msadpcm_read_d() [all …]
|
D | nms_adpcm.c | 777 short *sptr ; in nms_adpcm_read_i() local 785 sptr = ubuf.sbuf ; in nms_adpcm_read_i() 789 count = nms_adpcm_read_block (psf, pnms, sptr, readcount) ; in nms_adpcm_read_i() 792 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in nms_adpcm_read_i() 807 short *sptr ; in nms_adpcm_read_f() local 818 sptr = ubuf.sbuf ; in nms_adpcm_read_f() 822 count = nms_adpcm_read_block (psf, pnms, sptr, readcount) ; in nms_adpcm_read_f() 824 ptr [total + k] = normfact * sptr [k] ; in nms_adpcm_read_f() 839 short *sptr ; in nms_adpcm_read_d() local 850 sptr = ubuf.sbuf ; in nms_adpcm_read_d() [all …]
|
D | ima_adpcm.c | 618 short *sptr ; in ima_read_i() local 626 sptr = ubuf.sbuf ; in ima_read_i() 630 count = ima_read_block (psf, pima, sptr, readcount) ; in ima_read_i() 632 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in ima_read_i() 646 short *sptr ; in ima_read_f() local 657 sptr = ubuf.sbuf ; in ima_read_f() 661 count = ima_read_block (psf, pima, sptr, readcount) ; in ima_read_f() 663 ptr [total + k] = normfact * (float) (sptr [k]) ; in ima_read_f() 677 short *sptr ; in ima_read_d() local 688 sptr = ubuf.sbuf ; in ima_read_d() [all …]
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jmemmgr.c | 644 jvirt_sarray_ptr sptr; in realize_virt_arrays() local 653 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 654 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 655 size_t new_space = (long)sptr->rows_in_array * in realize_virt_arrays() 656 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 658 space_per_minheight += (long)sptr->maxaccess * in realize_virt_arrays() 659 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 702 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 703 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 704 minheights = ((long)sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays() [all …]
|
/third_party/libjpeg-turbo/ |
D | jmemmgr.c | 641 jvirt_sarray_ptr sptr; in realize_virt_arrays() local 650 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 651 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 652 size_t new_space = (long)sptr->rows_in_array * in realize_virt_arrays() 653 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 655 space_per_minheight += (long)sptr->maxaccess * in realize_virt_arrays() 656 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 699 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 700 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 701 minheights = ((long)sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays() [all …]
|
D | rdgif.c | 597 register JSAMPROW sptr; in load_interlaced_image() local 609 sptr = *(*cinfo->mem->access_virt_sarray) in load_interlaced_image() 613 *sptr++ = (JSAMPLE)LZWReadByte(source); in load_interlaced_image() 642 register JSAMPROW sptr, ptr; in get_interlaced_row() local 662 sptr = *(*cinfo->mem->access_virt_sarray) in get_interlaced_row() 669 c = *sptr++; in get_interlaced_row() 674 c = *sptr++; in get_interlaced_row()
|
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/ |
D | jmemmgr.c | 644 jvirt_sarray_ptr sptr; in realize_virt_arrays() local 653 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 654 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 655 size_t new_space = (long)sptr->rows_in_array * in realize_virt_arrays() 656 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 658 space_per_minheight += (long)sptr->maxaccess * in realize_virt_arrays() 659 (long)sptr->samplesperrow * sizeof(JSAMPLE); in realize_virt_arrays() 702 for (sptr = mem->virt_sarray_list; sptr != NULL; sptr = sptr->next) { in realize_virt_arrays() 703 if (sptr->mem_buffer == NULL) { /* if not realized yet */ in realize_virt_arrays() 704 minheights = ((long)sptr->rows_in_array - 1L) / sptr->maxaccess + 1L; in realize_virt_arrays() [all …]
|
/third_party/musl/src/crypt/ |
D | crypt_blowfish.c | 378 const unsigned char *sptr = (const unsigned char *)src; in BF_decode() local 382 BF_safe_atoi64(c1, *sptr++); in BF_decode() 383 BF_safe_atoi64(c2, *sptr++); in BF_decode() 387 BF_safe_atoi64(c3, *sptr++); in BF_decode() 391 BF_safe_atoi64(c4, *sptr++); in BF_decode() 400 const unsigned char *sptr = (const unsigned char *)src; in BF_encode() local 401 const unsigned char *end = sptr + size; in BF_encode() 406 c1 = *sptr++; in BF_encode() 409 if (sptr >= end) { in BF_encode() 414 c2 = *sptr++; in BF_encode() [all …]
|
/third_party/flutter/engine/flutter/shell/platform/ohos/ |
D | ohos_surface_software.h | 28 void SetPlatformWindow(const OHOS::sptr<OHOS::Rosen::Window> &window) override; 35 …OHOS::BufferRequestConfig& requestConfig, OHOS::sptr<OHOS::SurfaceBuffer> surfaceBuffer, SkPixmap&… 37 void SurfaceFlushBuffer(OHOS::sptr<OHOS::SurfaceBuffer>); 55 OHOS::sptr<OHOS::Rosen::Window> window_ = nullptr; 57 OHOS::sptr<OHOS::Surface> surface_ = nullptr;
|
D | ohos_surface_gl.h | 32 void SetPlatformWindow(const ::OHOS::sptr<OHOS::Rosen::Window>& window) override; 71 OHOS::sptr<OHOS::Rosen::Window> window_; 72 OHOS::sptr<OHOS::EglRenderSurface> eglRenderSurface_;
|
D | ohos_surface_software.cc | 75 void OhosSurfaceSoftware::SetPlatformWindow(const OHOS::sptr<OHOS::Rosen::Window> &window) in SetPlatformWindow() 153 OHOS::sptr<OHOS::SurfaceBuffer> surfaceBuffer; in PresentBackingStore() 170 …OHOS::BufferRequestConfig& requestConfig, OHOS::sptr<OHOS::SurfaceBuffer> surfaceBuffer, SkPixmap&… in SurfaceDrawBuffer() 191 void OhosSurfaceSoftware::SurfaceFlushBuffer(OHOS::sptr<OHOS::SurfaceBuffer> surfaceBuffer) in SurfaceFlushBuffer()
|
D | ohos_surface.h | 31 virtual void SetPlatformWindow(const ::OHOS::sptr<::OHOS::Rosen::Window> &window) = 0; 33 virtual void SetPlatformSurface(const ::OHOS::sptr<::OHOS::Surface> &surface) {} in SetPlatformSurface()
|
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
D | io_uring01.c | 65 static void *sptr; variable 89 sptr = SAFE_MMAP(0, sptr_size, in setup_io_uring_test() 95 sring->head = sptr + p.sq_off.head; in setup_io_uring_test() 96 sring->tail = sptr + p.sq_off.tail; in setup_io_uring_test() 97 sring->ring_mask = sptr + p.sq_off.ring_mask; in setup_io_uring_test() 98 sring->ring_entries = sptr + p.sq_off.ring_entries; in setup_io_uring_test() 99 sring->flags = sptr + p.sq_off.flags; in setup_io_uring_test() 100 sring->array = sptr + p.sq_off.array; in setup_io_uring_test() 236 SAFE_MUNMAP(sptr, sptr_size); in cleanup_io_uring_test()
|
/third_party/ffmpeg/libavcodec/ |
D | htmlsubtitles.c | 132 int len, tag_close, sptr = 0, line_start = 1, an = 0, end = 0; in ff_htmlmarkup_to_ass() local 228 if (tag_close && sptr > 0) { in ff_htmlmarkup_to_ass() 229 struct font_tag *cur_tag = &stack[sptr--]; in ff_htmlmarkup_to_ass() 230 struct font_tag *last_tag = &stack[sptr]; in ff_htmlmarkup_to_ass() 252 } else if (!tag_close && sptr < FF_ARRAY_ELEMS(stack) - 1) { in ff_htmlmarkup_to_ass() 253 struct font_tag *new_tag = &stack[sptr + 1]; in ff_htmlmarkup_to_ass() 255 *new_tag = stack[sptr++]; in ff_htmlmarkup_to_ass()
|
D | flashsv.c | 72 static int decode_hybrid(const uint8_t *sptr, const uint8_t *sptr_end, uint8_t *dptr, int dx, int d… in decode_hybrid() argument 76 const uint8_t *orig_src = sptr; in decode_hybrid() 81 if (sptr >= sptr_end) in decode_hybrid() 83 if (*sptr & 0x80) { in decode_hybrid() 85 unsigned c = AV_RB16(sptr) & ~0x8000; in decode_hybrid() 93 sptr += 2; in decode_hybrid() 96 uint32_t c = pal[*sptr++]; in decode_hybrid() 101 return sptr - orig_src; in decode_hybrid()
|
/third_party/libxml2/ |
D | chvalid.c | 170 const xmlChSRange *sptr; in xmlCharInRange() local 179 sptr = rptr->shortRange; in xmlCharInRange() 182 if ((unsigned short) val < sptr[mid].low) { in xmlCharInRange() 185 if ((unsigned short) val > sptr[mid].high) { in xmlCharInRange()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
D | hash_function_defaults_test.cc | 140 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 141 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 142 int* ptr = sptr.get(); in TYPED_TEST() 148 EXPECT_TRUE(eq(ptr, sptr)); in TYPED_TEST() 153 EXPECT_FALSE(eq(&dummy, sptr)); in TYPED_TEST() 190 auto sptr = std::make_shared<int>(); in TYPED_TEST() local 191 std::shared_ptr<const int> csptr = sptr; in TYPED_TEST() 192 int* ptr = sptr.get(); in TYPED_TEST() 198 EXPECT_EQ(hash(ptr), hash(sptr)); in TYPED_TEST() 203 EXPECT_NE(hash(&dummy), hash(sptr)); in TYPED_TEST()
|
/third_party/ltp/lib/ |
D | self_exec.c | 78 char **sptr; in maybe_run_child() local 138 sptr = va_arg(ap, char **); in maybe_run_child() 139 *sptr = strdup(tok); in maybe_run_child() 140 if (!*sptr) { in maybe_run_child()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
D | WeakMap.hpp | 51 std::shared_ptr<V> sptr; member in vk::dbg::WeakMap::iterator 110 sptr = it->second.lock(); in skipNull() 111 if(sptr) in skipNull() 133 return { it->first, sptr }; in operator *()
|
/third_party/cJSON/tests/unity/src/ |
D | unity.c | 1462 const char* sptr = shortstring; in IsStringInBiggerString() local 1465 if (*sptr == '*') in IsStringInBiggerString() 1473 while (*lptr && *sptr && (*lptr == *sptr)) in IsStringInBiggerString() 1476 sptr++; in IsStringInBiggerString() 1479 if (*sptr == '*') in IsStringInBiggerString() 1481 if (*sptr == ',') in IsStringInBiggerString() 1483 if (*sptr == '"') in IsStringInBiggerString() 1485 if (*sptr == '\'') in IsStringInBiggerString() 1487 if (*sptr == ':') in IsStringInBiggerString() 1489 if (*sptr == 0) in IsStringInBiggerString() [all …]
|
/third_party/unity/src/ |
D | unity.c | 1979 const char* sptr = shortstring; in IsStringInBiggerString() local 1982 if (*sptr == '*') in IsStringInBiggerString() 1992 while (*lptr && *sptr && (*lptr == *sptr)) in IsStringInBiggerString() 1995 sptr++; in IsStringInBiggerString() 1998 if (*sptr == '*') in IsStringInBiggerString() 2000 if (*sptr == ',') in IsStringInBiggerString() 2002 if (*sptr == '"') in IsStringInBiggerString() 2004 if (*sptr == '\'') in IsStringInBiggerString() 2006 if (*sptr == ':') in IsStringInBiggerString() 2008 if (*sptr == 0) in IsStringInBiggerString() [all …]
|
/third_party/openssl/apps/ |
D | enc.c | 430 unsigned char *sptr; in enc_main() local 434 sptr = NULL; in enc_main() 478 sptr = salt; in enc_main() 490 int islen = (sptr != NULL ? sizeof(salt) : 0); in enc_main() 491 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main() 503 if (!EVP_BytesToKey(cipher, dgst, sptr, in enc_main()
|