/third_party/skia/third_party/externals/libjpeg-turbo/ |
H A 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 in realize_virt_arrays() 1008 jvirt_sarray_ptr sptr; free_pool() local [all...] |
/third_party/libsnd/src/ |
H A 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 in vox_read_d() 315 short *sptr ; vox_write_i() local 343 short *sptr ; vox_write_f() local 374 short *sptr ; vox_write_d() local [all...] |
H A 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 in g72x_read_d() 497 short *sptr ; g72x_write_i() local 525 short *sptr ; g72x_write_f() local 557 short *sptr ; g72x_write_d() local [all...] |
H A 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 in gsm610_read_d() 524 short *sptr ; gsm610_write_i() local 550 short *sptr ; gsm610_write_f() local 581 short *sptr ; gsm610_write_d() local [all...] |
H A D | ms_adpcm.c | 374 short *sptr ; in msadpcm_read_i() local 382 sptr = ubuf.sbuf ; in msadpcm_read_i() 387 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_i() 391 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in msadpcm_read_i() 404 short *sptr ; in msadpcm_read_f() local 414 sptr = ubuf.sbuf ; in msadpcm_read_f() 419 if ((count = (int) msadpcm_read_block (psf, pms, sptr, readcount)) <= 0) in msadpcm_read_f() 423 ptr [total + k] = normfact * (float) (sptr [k]) ; in msadpcm_read_f() 436 short *sptr ; in msadpcm_read_d() local 446 sptr in msadpcm_read_d() 697 short *sptr ; msadpcm_write_i() local 724 short *sptr ; msadpcm_write_f() local 754 short *sptr ; msadpcm_write_d() local [all...] |
H A 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 in nms_adpcm_read_d() 937 short *sptr ; nms_adpcm_write_i() local 965 short *sptr ; nms_adpcm_write_f() local 997 short *sptr ; nms_adpcm_write_d() local [all...] |
H A D | ima_adpcm.c | 623 short *sptr ; in ima_read_i() local 631 sptr = ubuf.sbuf ; in ima_read_i() 635 count = ima_read_block (psf, pima, sptr, readcount) ; in ima_read_i() 637 ptr [total + k] = arith_shift_left (sptr [k], 16) ; in ima_read_i() 651 short *sptr ; in ima_read_f() local 662 sptr = ubuf.sbuf ; in ima_read_f() 666 count = ima_read_block (psf, pima, sptr, readcount) ; in ima_read_f() 668 ptr [total + k] = normfact * (float) (sptr [k]) ; in ima_read_f() 682 short *sptr ; in ima_read_d() local 693 sptr in ima_read_d() 923 short *sptr ; ima_write_i() local 951 short *sptr ; ima_write_f() local 982 short *sptr ; ima_write_d() local [all...] |
/third_party/backends/backend/pixma/ |
H A D | pixma_mp800.c | 1310 shift_colors (uint8_t * dptr, uint8_t * sptr, unsigned w, unsigned dpi, in shift_colors() argument 1328 *sptr++ = *(dptr++ + sr + st); in shift_colors() 1330 *sptr++ = *(dptr++ + sr + st); in shift_colors() 1331 *sptr++ = *(dptr++ + sg + st); in shift_colors() 1333 *sptr++ = *(dptr++ + sg + st); in shift_colors() 1334 *sptr++ = *(dptr++ + sb + st); in shift_colors() 1336 *sptr++ = *(dptr++ + sb + st); in shift_colors() 1343 shift_colorsCS9000 (uint8_t * dptr, uint8_t * sptr, unsigned w, unsigned dpi, in shift_colorsCS9000() argument 1361 *sptr++ = *(dptr++ + sr + st); in shift_colorsCS9000() 1363 *sptr in shift_colorsCS9000() 1390 shift_colorsCS9000_4800(uint8_t * dptr, uint8_t * sptr, unsigned w, unsigned dpi, unsigned pid, unsigned c, int * colshft, unsigned strshft, unsigned strshft2, unsigned jump) shift_colorsCS9000_4800() argument 1425 reorder_pixels(uint8_t * linebuf, uint8_t * sptr, unsigned c, unsigned n, unsigned m, unsigned w, unsigned line_size) reorder_pixels() argument 1439 mp960_reorder_pixels(uint8_t * linebuf, uint8_t * sptr, unsigned c, unsigned n, unsigned m, unsigned w, unsigned line_size) mp960_reorder_pixels() argument 1469 mp970_reorder_pixels(uint8_t * linebuf, uint8_t * sptr, unsigned c, unsigned w, unsigned line_size) mp970_reorder_pixels() argument 1483 cs9000f_initial_reorder_pixels(uint8_t * linebuf, uint8_t * sptr, unsigned c, unsigned n, unsigned m, unsigned w, unsigned line_size) cs9000f_initial_reorder_pixels() argument 1563 cs9000f_second_reorder_pixels(uint8_t * linebuf, uint8_t * sptr, unsigned c, unsigned w, unsigned line_size) cs9000f_second_reorder_pixels() argument 1583 pack_48_24_bpc(uint8_t * sptr, unsigned n) pack_48_24_bpc() argument 1611 uint8_t *sptr, *dptr, *gptr, *cptr; post_process_image_data() local [all...] |
H A D | pixma_common.c | 336 * sptr: source color scale buffer 342 pixma_r_to_ir (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c) in pixma_r_to_ir() argument 350 *gptr++ = *sptr++; in pixma_r_to_ir() 351 if (c == 6) *gptr++ = *sptr++; /* 48 bit RGB: high byte */ in pixma_r_to_ir() 352 sptr += (c == 6) ? 4 : 2; /* drop G + B */ in pixma_r_to_ir() 361 * sptr: source color scale buffer 367 pixma_rgb_to_gray (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c) in pixma_rgb_to_gray() argument 377 unsigned r = sptr[0] + (sptr[1] << 8); in pixma_rgb_to_gray() 378 unsigned y = sptr[ in pixma_rgb_to_gray() [all...] |
/third_party/ltp/testcases/kernel/syscalls/io_uring/ |
H A 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/ |
H A 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/ |
H A D | cm_request.cpp | 38 static sptr<IRemoteObject> CmLoadSystemAbility(void) in CmLoadSystemAbility() 52 sptr<OnDemandLoadCertManagerCallback> loadCallBack = new (std::nothrow)OnDemandLoadCertManagerCallback(servers); in CmLoadSystemAbility() 105 sptr<IRemoteObject> cmProxy = CmLoadSystemAbility(); in SendRequest() 140 const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() 153 sptr<IRemoteObject> OnDemandLoadCertManagerCallback::Promise(void) in Promise()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/include/ |
H A D | cm_load_sa.h | 28 const OHOS::sptr<IRemoteObject>& remoteObject) override; 30 OHOS::sptr<IRemoteObject> Promise(void); 33 std::promise<OHOS::sptr<IRemoteObject>> promise_;
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 1085 char *sptr, *token; in ath6kl_regwrite_write() local 1094 sptr = buf; in ath6kl_regwrite_write() 1096 token = strsep(&sptr, "="); in ath6kl_regwrite_write() 1106 if (kstrtou32(sptr, 0, ®_val)) in ath6kl_regwrite_write() 1400 char *sptr, *token; in ath6kl_create_qos_write() local 1413 sptr = buf; in ath6kl_create_qos_write() 1415 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1421 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1427 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1433 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1578 char *sptr, *token; ath6kl_delete_qos_write() local 1722 char *sptr, *token; ath6kl_power_params_write() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath6kl/ |
H A D | debug.c | 1085 char *sptr, *token; in ath6kl_regwrite_write() local 1094 sptr = buf; in ath6kl_regwrite_write() 1096 token = strsep(&sptr, "="); in ath6kl_regwrite_write() 1106 if (kstrtou32(sptr, 0, ®_val)) in ath6kl_regwrite_write() 1400 char *sptr, *token; in ath6kl_create_qos_write() local 1413 sptr = buf; in ath6kl_create_qos_write() 1415 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1421 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1427 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1433 token = strsep(&sptr, " "); in ath6kl_create_qos_write() 1578 char *sptr, *token; ath6kl_delete_qos_write() local 1722 char *sptr, *token; ath6kl_power_params_write() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A 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() [all...] |
/third_party/vulkan-loader/openharmony/bundle_mgr_helper/ |
H A D | vk_bundle_mgr_helper.h | 41 sptr<AppExecFwk::IBundleMgr> Connect(); 49 sptr<AppExecFwk::IBundleMgr> bundleMgr_; 50 sptr<IRemoteObject::DeathRecipient> deathRecipient_ = nullptr;
|
H A D | vk_bundle_mgr_helper.cpp | 88 sptr<AppExecFwk::IBundleMgr> VKBundleMgrHelper::Connect() in Connect() 93 sptr<ISystemAbilityManager> systemAbilityManager = in Connect() 99 sptr<IRemoteObject> remoteObject_ = systemAbilityManager->GetSystemAbility( in Connect()
|
/third_party/ltp/lib/ |
H A 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()
|
/kernel/linux/linux-5.10/net/9p/ |
H A D | protocol.c | 139 char **sptr = va_arg(ap, char **); in p9pdu_vreadf() local 147 *sptr = kmalloc(len + 1, GFP_NOFS); in p9pdu_vreadf() 148 if (*sptr == NULL) { in p9pdu_vreadf() 152 if (pdu_read(pdu, *sptr, len)) { in p9pdu_vreadf() 154 kfree(*sptr); in p9pdu_vreadf() 155 *sptr = NULL; in p9pdu_vreadf() 157 (*sptr)[len] = 0; in p9pdu_vreadf() 393 const char *sptr = va_arg(ap, const char *); in p9pdu_vwritef() local 395 if (sptr) in p9pdu_vwritef() 396 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef() [all...] |
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | ip_options.c | 93 unsigned char *sptr, *dptr; in __ip_options_echo() local 102 sptr = skb_network_header(skb); in __ip_options_echo() 106 optlen = sptr[sopt->rr+1]; in __ip_options_echo() 107 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 109 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo() 120 optlen = sptr[sopt->ts+1]; in __ip_options_echo() 121 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 123 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo() 157 unsigned char *start = sptr+sopt->srr; in __ip_options_echo() 189 optlen = sptr[sop in __ip_options_echo() [all...] |
/kernel/linux/linux-6.6/net/9p/ |
H A D | protocol.c | 305 char **sptr = va_arg(ap, char **); in p9pdu_vreadf() local 313 *sptr = kmalloc(len + 1, GFP_NOFS); in p9pdu_vreadf() 314 if (*sptr == NULL) { in p9pdu_vreadf() 318 if (pdu_read(pdu, *sptr, len)) { in p9pdu_vreadf() 320 kfree(*sptr); in p9pdu_vreadf() 321 *sptr = NULL; in p9pdu_vreadf() 323 (*sptr)[len] = 0; in p9pdu_vreadf() 559 const char *sptr = va_arg(ap, const char *); in p9pdu_vwritef() local 561 if (sptr) in p9pdu_vwritef() 562 len = min_t(size_t, strlen(sptr), in p9pdu_vwritef() [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | ip_options.c | 80 unsigned char *sptr, *dptr; in __ip_options_echo() local 89 sptr = skb_network_header(skb); in __ip_options_echo() 93 optlen = sptr[sopt->rr+1]; in __ip_options_echo() 94 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 96 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo() 107 optlen = sptr[sopt->ts+1]; in __ip_options_echo() 108 soffset = sptr[sopt->ts+2]; in __ip_options_echo() 110 memcpy(dptr, sptr+sopt->ts, optlen); in __ip_options_echo() 144 unsigned char *start = sptr+sopt->srr; in __ip_options_echo() 176 optlen = sptr[sop in __ip_options_echo() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/ |
H A 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/musl/src/crypt/ |
H A 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...] |