Home
last modified time | relevance | path

Searched refs:h_ptr (Results 1 – 25 of 165) sorted by relevance

1234567

/dports/science/clipper/clipper-2.1/clipper/core/
H A Dhkl_lookup.cpp61 h_ptr.min = Util::min( h_ptr.min, h ); in init()
62 h_ptr.max = Util::max( h_ptr.max, h ); in init()
64 if ( h_ptr.max >= h_ptr.min ) in init()
65 h_ptr.p.resize( h_ptr.max - h_ptr.min + 1 ); // now add k lists in init()
74 for (h=h_ptr.min; h<=h_ptr.max; h++) { in init()
75 klookup& k_ptr = h_ptr.p[h - h_ptr.min]; in init()
88 for (h=h_ptr.min; h<=h_ptr.max; h++) { in init()
89 klookup& k_ptr = h_ptr.p[h - h_ptr.min]; in init()
109 if ( h >= h_ptr.min && h <= h_ptr.max ) { in index_of()
125 for (h=h_ptr.min; h<=h_ptr.max; h++) { in debug()
[all …]
/dports/math/mfem/mfem-4.3/general/
H A Dmem_manager.hpp170 T *h_ptr; member in mfem::Memory
789 bool IsKnown(const void *h_ptr) { return IsKnown_(h_ptr); } in IsKnown() argument
792 bool IsAlias(const void *h_ptr) { return IsAlias_(h_ptr); } in IsAlias() argument
815 h_ptr = NULL; in Reset()
824 h_ptr = NULL; in Reset()
865 h_ptr = ptr; in Wrap()
914 h_ptr = ptr; in Wrap()
928 h_ptr = base.h_ptr + offset; in MakeAlias()
1090 MFEM_ASSERT(h_ptr == other.h_ptr && in Sync()
1141 if (h_ptr != src.h_ptr && size != 0) in CopyFrom()
[all …]
H A Dmem_manager.cpp160 void *const h_ptr; member
778 void *h_ptr; in New_() local
790 return h_ptr; in New_()
816 void *h_ptr; in Register_() local
820 h_ptr = ptr; in Register_()
836 return h_ptr; in Register_()
953 if (!h_ptr) in MemoryClassCheck_()
1122 if (mm.IsKnown(h_ptr)) { return maps->memories.at(h_ptr).h_mt; } in GetHostMemoryType_()
1123 if (mm.IsAlias(h_ptr)) { return maps->aliases.at(h_ptr).h_mt; } in GetHostMemoryType_()
1402 if (!h_ptr) in GetDevicePtr()
[all …]
/dports/databases/grass7/grass-7.8.6/raster/r.to.vect/
H A Dareas.c218 h_ptr = NULPTR; in update_list()
245 h_ptr = new_ptr; in update_list()
258 h_ptr->left = h_ptr->bptr->left = left; in update_list()
259 h_ptr->right = h_ptr->bptr->right = right; in update_list()
264 h_ptr->node = 1; in update_list()
271 h_ptr->left = h_ptr->bptr->left = left; in update_list()
272 h_ptr->right = h_ptr->bptr->right = v_list[col]->left = in update_list()
303 h_ptr->left = h_ptr->bptr->left = left; in update_list()
304 h_ptr->right = h_ptr->bptr->right = v_list[col]->left = in update_list()
321 h_ptr->left = h_ptr->bptr->left = left; in update_list()
[all …]
H A Dlines.c41 static struct COOR *h_ptr; variable
229 h_ptr = end_line(h_ptr, 0); in update_list()
306 h_ptr = end_line(h_ptr, 1); in update_list()
328 h_ptr = NULL; in update_list()
384 h_ptr = new_ptr2; in update_list()
388 h_ptr = new_ptr2; in update_list()
414 h_ptr = end_line(h_ptr, 1); in update_list()
433 h_ptr = end_line(h_ptr, 1); in update_list()
458 h_ptr = end_line(h_ptr, 1); in update_list()
486 h_ptr = end_line(h_ptr, 1); in update_list()
[all …]
/dports/games/mangband/mangband-1.5.3/src/server/
H A Dparty.c558 hostile_type *h_ptr; in add_hostility() local
597 for (h_ptr = p_ptr->hostile; h_ptr; h_ptr = h_ptr->next) in add_hostility()
613 h_ptr->id = q_ptr->id; in add_hostility()
633 for (h_ptr = p_ptr->hostile; h_ptr; h_ptr = h_ptr->next) in add_hostility()
649 h_ptr->id = 0 - i; in add_hostility()
680 for (h_ptr = p_ptr->hostile; h_ptr; i_ptr = h_ptr, h_ptr = h_ptr->next) in remove_hostility()
683 if (h_ptr->id > 0) in remove_hostility()
707 KILL(h_ptr); in remove_hostility()
756 hostile_type *h_ptr; in check_hostile() local
759 for (h_ptr = p_ptr->hostile; h_ptr; h_ptr = h_ptr->next) in check_hostile()
[all …]
/dports/science/gromacs/gromacs-2021.4/src/gromacs/gpu_utils/
H A Dpmalloc_cuda.cu54 void pmalloc(void** h_ptr, size_t nbytes) in pmalloc() argument
62 *h_ptr = nullptr; in pmalloc()
68 stat = cudaMallocHost(h_ptr, nbytes, flag); in pmalloc()
77 void pmalloc_wc(void** h_ptr, size_t nbytes) in pmalloc_wc() argument
85 *h_ptr = nullptr; in pmalloc_wc()
91 stat = cudaMallocHost(h_ptr, nbytes, flag); in pmalloc_wc()
100 void pfree(void* h_ptr) in pfree() argument
104 if (h_ptr == nullptr) in pfree()
111 stat = cudaFreeHost(h_ptr); in pfree()
H A Doclutils.cpp65 void pmalloc(void** h_ptr, size_t nbytes) in pmalloc() argument
70 char** temporary = reinterpret_cast<char**>(h_ptr); in pmalloc()
84 void pfree(void* h_ptr) in pfree() argument
87 if (h_ptr) in pfree()
89 sfree_aligned(h_ptr); in pfree()
H A Dpmalloc_cuda.h52 void pmalloc(void** h_ptr, size_t nbytes);
55 void pmalloc_wc(void** h_ptr, size_t nbytes);
58 void pfree(void* h_ptr);
/dports/net/freerdp/freerdp-2.5.0/libfreerdp/codec/
H A Drfx_neon.c72 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_horiz_NEON() local
82 int16x8_t h_n = vld1q_s16(h_ptr); in rfx_dwt_2d_decode_block_horiz_NEON()
97 h_ptr += 8; in rfx_dwt_2d_decode_block_horiz_NEON()
101 h_ptr -= subband_width; in rfx_dwt_2d_decode_block_horiz_NEON()
107 int16x8_t h_n = vld1q_s16(h_ptr); in rfx_dwt_2d_decode_block_horiz_NEON()
124 h_ptr += 8; in rfx_dwt_2d_decode_block_horiz_NEON()
135 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_vert_NEON() local
146 int16x8_t h_n = vld1q_s16(h_ptr); in rfx_dwt_2d_decode_block_vert_NEON()
161 h_ptr += 8; in rfx_dwt_2d_decode_block_vert_NEON()
168 h_ptr = h; in rfx_dwt_2d_decode_block_vert_NEON()
[all …]
H A Drfx_sse2.c146 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_horiz_sse2() local
166 h_n = _mm_load_si128((__m128i*)h_ptr); in rfx_dwt_2d_decode_block_horiz_sse2()
181 h_ptr += 8; in rfx_dwt_2d_decode_block_horiz_sse2()
185 h_ptr -= subband_width; in rfx_dwt_2d_decode_block_horiz_sse2()
191 h_n = _mm_load_si128((__m128i*)h_ptr); in rfx_dwt_2d_decode_block_horiz_sse2()
210 h_ptr += 8; in rfx_dwt_2d_decode_block_horiz_sse2()
221 INT16* h_ptr = h; in rfx_dwt_2d_decode_block_vert_sse2() local
239 h_n = _mm_load_si128((__m128i*)h_ptr); in rfx_dwt_2d_decode_block_vert_sse2()
254 h_ptr += 8; in rfx_dwt_2d_decode_block_vert_sse2()
261 h_ptr = h; in rfx_dwt_2d_decode_block_vert_sse2()
[all …]
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_bincount_op.cu80 DType* h_ptr; in NumpyBincountForwardImpl()
90 h_ptr = reinterpret_cast<DType*>(malloc(data_n*sizeof(DType))); in NumpyBincountForwardImpl()
91 CUDA_CALL(cudaMemcpyAsync(h_ptr, d_ptr, data_n*sizeof(DType), cudaMemcpyDeviceToHost, in NumpyBincountForwardImpl()
95 if (h_ptr[i] + 1 > bin) bin = h_ptr[i] + 1; in NumpyBincountForwardImpl()
97 free(h_ptr); in NumpyBincountForwardImpl()
123 DType* h_ptr; in NumpyBincountForwardImpl()
133 h_ptr = reinterpret_cast<DType*>(malloc(data_n*sizeof(DType))); in NumpyBincountForwardImpl()
134 CUDA_CALL(cudaMemcpyAsync(h_ptr, d_ptr, data_n*sizeof(DType), cudaMemcpyDeviceToHost, in NumpyBincountForwardImpl()
138 if (h_ptr[i] + 1 > bin) bin = h_ptr[i] + 1; in NumpyBincountForwardImpl()
140 free(h_ptr); in NumpyBincountForwardImpl()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_bincount_op.cu80 DType* h_ptr; in NumpyBincountForwardImpl()
90 h_ptr = reinterpret_cast<DType*>(malloc(data_n*sizeof(DType))); in NumpyBincountForwardImpl()
91 CUDA_CALL(cudaMemcpyAsync(h_ptr, d_ptr, data_n*sizeof(DType), cudaMemcpyDeviceToHost, in NumpyBincountForwardImpl()
95 if (h_ptr[i] + 1 > bin) bin = h_ptr[i] + 1; in NumpyBincountForwardImpl()
97 free(h_ptr); in NumpyBincountForwardImpl()
123 DType* h_ptr; in NumpyBincountForwardImpl()
133 h_ptr = reinterpret_cast<DType*>(malloc(data_n*sizeof(DType))); in NumpyBincountForwardImpl()
134 CUDA_CALL(cudaMemcpyAsync(h_ptr, d_ptr, data_n*sizeof(DType), cudaMemcpyDeviceToHost, in NumpyBincountForwardImpl()
138 if (h_ptr[i] + 1 > bin) bin = h_ptr[i] + 1; in NumpyBincountForwardImpl()
140 free(h_ptr); in NumpyBincountForwardImpl()
/dports/games/tomenet/tomenet-4.6.0/src/server/
H A Dstore.c4865 if (h_ptr->stock_num >= h_ptr->stock_size) return (-1);
4926 h_ptr->stock[i] = h_ptr->stock[i-1];
4983 h_ptr->stock[j] = h_ptr->stock[j + 1];
5001 if (h_ptr->stock_num < h_ptr->stock_size) return TRUE;
5535 GROW(h_ptr->stock, h_ptr->stock_size, h_ptr->stock_size + 1, object_type);
5631 if (!h_ptr->dna->owner || (h_ptr->dna->owner_type == OT_PLAYER && h_ptr->dna->owner == p_ptr->id))
6187 ey = h_ptr->y + h_ptr->coords.rect.height - 1;
6188 ex = h_ptr->x + h_ptr->coords.rect.width - 1;
6414 if (h_ptr->stock_num >= h_ptr->stock_size) {
6495 if (h_ptr->stock_num >= h_ptr->stock_size) {
[all …]
H A Dwild.c2996 c_ptr = &zcave[h_ptr->y + y][h_ptr->x + x];
3007 everyone_lite_spot(&h_ptr->wpos, h_ptr->y + y, h_ptr->x + x);
3040 everyone_lite_spot(&h_ptr->wpos, h_ptr->y + y, h_ptr->x + x);
3044 everyone_lite_spot(&h_ptr->wpos, h_ptr->y + y, h_ptr->x + x);
3064 everyone_lite_spot(&h_ptr->wpos, h_ptr->y + y, h_ptr->x + x);
3071 everyone_lite_spot(&h_ptr->wpos, h_ptr->y + y, h_ptr->x + x);
3317 c_ptr = &zcave[h_ptr->y][h_ptr->x + x];
3322 c_ptr = &zcave[h_ptr->y + y][h_ptr->x + x];
3327 c_ptr = &zcave[h_ptr->y + y][h_ptr->x];
3332 c_ptr = &zcave[h_ptr->y + y][h_ptr->x + x];
[all …]
/dports/devel/boost-docs/boost_1_72_0/libs/serialization/test/
H A Dtest_variant.cpp189 const H * h_ptr = & boost::strict_get<H const &>(v); in test_pointer() local
190 oa << boost::serialization::make_nvp("written", h_ptr); in test_pointer()
225 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
232 H * h_ptr; in test_variant_set() local
233 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
235 BOOST_CHECK_EQUAL(h_ptr, h_ptr2); in test_variant_set()
257 H const * const h_ptr = boost::strict_get<H const>(&map[0]); in test_variant_map() local
259 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
267 H * h_ptr; in test_variant_map() local
268 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
[all …]
/dports/devel/boost-libs/boost_1_72_0/libs/serialization/test/
H A Dtest_variant.cpp189 const H * h_ptr = & boost::strict_get<H const &>(v); in test_pointer() local
190 oa << boost::serialization::make_nvp("written", h_ptr); in test_pointer()
225 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
232 H * h_ptr; in test_variant_set() local
233 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
235 BOOST_CHECK_EQUAL(h_ptr, h_ptr2); in test_variant_set()
257 H const * const h_ptr = boost::strict_get<H const>(&map[0]); in test_variant_map() local
259 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
267 H * h_ptr; in test_variant_map() local
268 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
[all …]
/dports/devel/boost-python-libs/boost_1_72_0/libs/serialization/test/
H A Dtest_variant.cpp189 const H * h_ptr = & boost::strict_get<H const &>(v); in test_pointer() local
190 oa << boost::serialization::make_nvp("written", h_ptr); in test_pointer()
225 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
232 H * h_ptr; in test_variant_set() local
233 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
235 BOOST_CHECK_EQUAL(h_ptr, h_ptr2); in test_variant_set()
257 H const * const h_ptr = boost::strict_get<H const>(&map[0]); in test_variant_map() local
259 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
267 H * h_ptr; in test_variant_map() local
268 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
[all …]
/dports/devel/hyperscan/boost_1_75_0/libs/serialization/test/
H A Dtest_variant.cpp189 const H * h_ptr = & boost::strict_get<H const &>(v); in test_pointer() local
190 oa << boost::serialization::make_nvp("written", h_ptr); in test_pointer()
225 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
232 H * h_ptr; in test_variant_set() local
233 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_set()
235 BOOST_CHECK_EQUAL(h_ptr, h_ptr2); in test_variant_set()
257 H const * const h_ptr = boost::strict_get<H const>(&map[0]); in test_variant_map() local
259 oa << boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
267 H * h_ptr; in test_variant_map() local
268 ia >> boost::serialization::make_nvp("written", h_ptr); in test_variant_map()
[all …]
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()
/dports/devel/llvm90/llvm-9.0.1.src/tools/clang/test/Analysis/
H A Dloop-widening.c137 int *h_ptr = (int *) malloc(sizeof(int)); in pointer_doesnt_leak_from_loop() local
140 free(h_ptr); in pointer_doesnt_leak_from_loop()
149 int *h_ptr = malloc(sizeof(int)); in unknown_after_loop() local
156 clang_analyzer_eval(h_ptr == 0); // expected-warning {{UNKNOWN}} in unknown_after_loop()
157 free(h_ptr); in unknown_after_loop()

1234567