Home
last modified time | relevance | path

Searched refs:sptr (Results 1 - 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djmemmgr.c644 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...]
H A Drdgif.c579 register JSAMPROW sptr; in METHODDEF() local
591 sptr = *(*cinfo->mem->access_virt_sarray) in METHODDEF()
595 *sptr++ = (JSAMPLE)LZWReadByte(source); in METHODDEF()
624 register JSAMPROW sptr, ptr; in METHODDEF() local
644 sptr = *(*cinfo->mem->access_virt_sarray) in METHODDEF()
650 c = *sptr++; in METHODDEF()
/third_party/libsnd/src/
H A Dvox_adpcm.c178 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 Dg72x.c256 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 Dgsm610.c294 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 Dms_adpcm.c374 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 Dnms_adpcm.c777 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 Dima_adpcm.c623 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 Dpixma_mp800.c1310 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 Dpixma_common.c336 * 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...]
H A Dpixma_common.h192 uint8_t * pixma_r_to_ir (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c);
193 uint8_t * pixma_rgb_to_gray (uint8_t * gptr, uint8_t * sptr, unsigned w, unsigned c);
/third_party/ltp/testcases/kernel/syscalls/io_uring/
H A Dio_uring01.c65 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 Dhtmlsubtitles.c132 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()
H A Dflashsv.c76 static int decode_hybrid(const uint8_t *sptr, const uint8_t *sptr_end, uint8_t *dptr, int dx, int dy, in decode_hybrid() argument
80 const uint8_t *orig_src = sptr; in decode_hybrid()
85 if (sptr >= sptr_end) in decode_hybrid()
87 if (*sptr & 0x80) { in decode_hybrid()
89 unsigned c = AV_RB16(sptr) & ~0x8000; in decode_hybrid()
97 sptr += 2; in decode_hybrid()
100 uint32_t c = pal[*sptr++]; in decode_hybrid()
105 return sptr - orig_src; in decode_hybrid()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant_lib/cert_mgr_deps/src/
H A Dcm_request.cpp38 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 Dcm_load_sa.h28 const OHOS::sptr<IRemoteObject>& remoteObject) override;
30 OHOS::sptr<IRemoteObject> Promise(void);
33 std::promise<OHOS::sptr<IRemoteObject>> promise_;
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/
H A Dhash_function_defaults_test.cc140 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/ltp/lib/
H A Dself_exec.c78 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/vulkan-loader/openharmony/bundle_mgr_helper/
H A Dvk_bundle_mgr_helper.h41 sptr<AppExecFwk::IBundleMgr> Connect();
49 sptr<AppExecFwk::IBundleMgr> bundleMgr_;
50 sptr<IRemoteObject::DeathRecipient> deathRecipient_ = nullptr;
H A Dvk_bundle_mgr_helper.cpp88 sptr<AppExecFwk::IBundleMgr> VKBundleMgrHelper::Connect() in Connect()
93 sptr<ISystemAbilityManager> systemAbilityManager = in Connect()
99 sptr<IRemoteObject> remoteObject_ = systemAbilityManager->GetSystemAbility( in Connect()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/Debug/
H A DWeakMap.hpp51 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 Dcrypt_blowfish.c378 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/node/deps/openssl/openssl/apps/
H A Denc.c439 unsigned char *sptr; in enc_main() local
443 sptr = NULL; in enc_main()
487 sptr = salt; in enc_main()
499 int islen = (sptr != NULL ? sizeof(salt) : 0); in enc_main()
500 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main()
512 if (!EVP_BytesToKey(cipher, dgst, sptr, in enc_main()
/third_party/openssl/apps/
H A Denc.c439 unsigned char *sptr; in enc_main() local
443 sptr = NULL; in enc_main()
487 sptr = salt; in enc_main()
499 int islen = (sptr != NULL ? sizeof(salt) : 0); in enc_main()
500 if (!PKCS5_PBKDF2_HMAC(str, str_len, sptr, islen, in enc_main()
512 if (!EVP_BytesToKey(cipher, dgst, sptr, in enc_main()
/third_party/cJSON/tests/unity/src/
H A Dunity.c1462 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()
[all...]

Completed in 21 milliseconds

123