/third_party/musl/libc-test/src/functionalext/supplement/thread/ |
H A D | pthread_create.c | 45 pthread_t ph; in pthread_create_0100() local 46 int32_t ret = pthread_create(&ph, NULL, threadfuncA, NULL); in pthread_create_0100() 47 pthread_join(ph, NULL); in pthread_create_0100() 59 pthread_t ph; in pthread_create_0200() local 60 int32_t ret = pthread_create(&ph, NULL, threadfunc, (char *)(URL)); in pthread_create_0200() 61 pthread_join(ph, NULL); in pthread_create_0200() 72 pthread_t ph; in pthread_create_0300() local 76 int32_t ret = pthread_create(&ph, &atrr, threadfunc, (char *)(URL)); in pthread_create_0300() 77 pthread_join(ph, NULL); in pthread_create_0300() 89 pthread_t ph; in pthread_create_0400() local 117 pthread_t ph; pthread_create_0500() local [all...] |
H A D | pthread_getschedparam.c | 33 pthread_t ph; in pthread_getschedparam_0100() local 34 pthread_create(&ph, NULL, threadfuncA, NULL); in pthread_getschedparam_0100() 37 int32_t ret = pthread_getschedparam(ph, &policy, &sp); in pthread_getschedparam_0100() 39 pthread_join(ph, &thread_result); in pthread_getschedparam_0100()
|
H A D | pthread_getattr_np.c | 33 pthread_t ph; in pthread_getattr_np_0100() local 34 pthread_create(&ph, NULL, threadfuncA, NULL); in pthread_getattr_np_0100() 38 int32_t ret = pthread_getattr_np(ph, &attr); in pthread_getattr_np_0100() 40 pthread_join(ph, &thread_result); in pthread_getattr_np_0100()
|
/third_party/elfio/elfio/ |
H A D | elfio_segment.hpp | 87 ELFIO_GET_SET_ACCESS( Elf_Word, type, ph.p_type ); 88 ELFIO_GET_SET_ACCESS( Elf_Word, flags, ph.p_flags ); 89 ELFIO_GET_SET_ACCESS( Elf_Xword, align, ph.p_align ); 90 ELFIO_GET_SET_ACCESS( Elf64_Addr, virtual_address, ph.p_vaddr ); 91 ELFIO_GET_SET_ACCESS( Elf64_Addr, physical_address, ph.p_paddr ); 92 ELFIO_GET_SET_ACCESS( Elf_Xword, file_size, ph.p_filesz ); 93 ELFIO_GET_SET_ACCESS( Elf_Xword, memory_size, ph.p_memsz ); 94 ELFIO_GET_ACCESS( Elf64_Off, offset, ph.p_offset ); 150 ph.p_offset = decltype( ph 246 T ph = {}; global() member in ELFIO::segment_impl [all...] |
/third_party/backends/backend/ |
H A D | hp-scl.c | 1177 {PROCDATA_HANDLE *ph = sanei_hp_alloc (sizeof (PROCDATA_HANDLE)); in process_data_init() local 1180 if (ph == NULL) return NULL; in process_data_init() 1182 memset (ph, 0, sizeof (*ph)); in process_data_init() 1183 memcpy (&(ph->procdata), procdata, sizeof (*procdata)); in process_data_init() 1184 procdata = &(ph->procdata); in process_data_init() 1187 ph->tmp_buf = sanei_hp_alloc (tsz); in process_data_init() 1188 if (ph->tmp_buf == NULL) in process_data_init() 1190 sanei_hp_free (ph); in process_data_init() 1193 ph in process_data_init() 1222 process_data_write(PROCDATA_HANDLE *ph, unsigned char *data, int nbytes) process_data_write() argument 1277 process_scanline(PROCDATA_HANDLE *ph, unsigned char *linebuf, int bytes_per_line) process_scanline() argument 1333 process_data(PROCDATA_HANDLE *ph, unsigned char *read_ptr, int nread) process_data() argument 1376 process_data_flush(PROCDATA_HANDLE *ph) process_data_flush() argument 1454 process_data_finish(PROCDATA_HANDLE *ph) process_data_finish() argument 1525 PROCDATA_HANDLE *ph = NULL; sanei_hp_scsi_pipeout() local [all...] |
/third_party/musl/porting/liteos_a/user/ldso/ |
H A D | dynlink.c | 550 Phdr *ph = dso->phdr; in reclaim_gaps() local 553 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps() 554 if (ph->p_type!=PT_LOAD) continue; in reclaim_gaps() 555 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 556 reclaim(dso, ph->p_vaddr & -PAGE_SIZE, ph->p_vaddr); in reclaim_gaps() 557 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps() 558 ph in reclaim_gaps() 631 Phdr *ph, *ph0; map_library() local 1391 Phdr *ph = p->phdr; kernel_mapped_dso() local 2211 Phdr *ph = p->phdr; addr2dso() local [all...] |
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A D | dynlink.c | 550 Phdr *ph = dso->phdr; in reclaim_gaps() local 553 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps() 554 if (ph->p_type!=PT_LOAD) continue; in reclaim_gaps() 555 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 556 reclaim(dso, ph->p_vaddr & -PAGE_SIZE, ph->p_vaddr); in reclaim_gaps() 557 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps() 558 ph in reclaim_gaps() 631 Phdr *ph, *ph0; map_library() local 1390 Phdr *ph = p->phdr; kernel_mapped_dso() local 2210 Phdr *ph = p->phdr; addr2dso() local [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/GLESUnitTests/ |
H A D | unittests.cpp | 284 ProgramHandles ph; in createProgram() local 285 ph.vertexShader = MakeShader(vs, GL_VERTEX_SHADER); in createProgram() 286 ph.fragmentShader = MakeShader(fs, GL_FRAGMENT_SHADER); in createProgram() 287 ph.program = MakeProgram(ph.vertexShader, ph.fragmentShader); in createProgram() 288 LinkProgram(ph.program); in createProgram() 290 return ph; in createProgram() 293 void deleteProgram(const ProgramHandles &ph) in deleteProgram() argument 295 glDeleteShader(ph in deleteProgram() 380 const ProgramHandles ph = createProgram(vs, fs); checkCompiles() local 559 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 626 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 691 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 748 ProgramHandles ph; TEST_F() local 1122 const ProgramHandles ph = createProgram(vs, ps); TEST_F() local 1185 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 1235 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 1681 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 1735 const ProgramHandles ph = createProgram(vs, fs); TEST_F() local 2381 const ProgramHandles ph = createProgram(vs, fs); doSampleTest() local [all...] |
/third_party/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/charsetdet/sbcs/ |
H A D | Checker.java | 163 int ph = (int) percentHits; in check() 165 if (ph < minHist) { in check() 166 minHist = ph; in check() 169 if (ph > maxHist) { in check() 170 maxHist = ph; in check() 173 histogram[ph] += 1; in check() 176 for(int ph = minHist; ph <= maxHist; ph += 1) { in check() 177 System.out.println(ph in check() [all...] |
/third_party/node/deps/npm/node_modules/fastest-levenshtein/ |
H A D | mod.js | 64 var ph = mv_1 | ~(xh | pv_1); 66 if ((ph >>> 31) ^ pb) { 72 ph = (ph << 1) | pb; 74 pv_1 = mh | ~(xv | ph); 75 mv_1 = ph & xv; 95 var ph = mv | ~(xh | pv); 97 score += (ph >>> (m - 1)) & 1; 99 if ((ph >>> 31) ^ pb) { 105 ph [all...] |
/third_party/musl/ldso/ |
H A D | dynlink.c | 617 Phdr *ph = dso->phdr; in reclaim_gaps() local 620 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps() 621 if (ph->p_type!=PT_LOAD) continue; in reclaim_gaps() 622 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 623 reclaim(dso, ph->p_vaddr & -PAGE_SIZE, ph->p_vaddr); in reclaim_gaps() 624 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps() 625 ph in reclaim_gaps() 698 Phdr *ph, *ph0; map_library() local 1484 Phdr *ph = p->phdr; global() local 2320 Phdr *ph = p->phdr; global() local [all...] |
H A D | dlstart.c | 57 Phdr *ph = (void *)(base + eh->e_phoff); in _dlstart_c() local 60 while (phnum-- && ph->p_type != PT_DYNAMIC) in _dlstart_c() 61 ph = (void *)((size_t)ph + phent); in _dlstart_c() 62 dynv = (void *)(base + ph->p_vaddr); in _dlstart_c() 108 Phdr *ph = (void *)aux[AT_PHDR]; in _dlstart_c() local 109 for (i=phnum; i--; ph = (void *)((char *)ph + phentsize)) { in _dlstart_c() 110 if (ph->p_type == PT_DYNAMIC) { in _dlstart_c() 111 base = (size_t)dynv - ph in _dlstart_c() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_report_elf.c | 183 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem); in __libdwfl_elf_address_range() local 184 if (unlikely (ph == NULL)) in __libdwfl_elf_address_range() 186 if (ph->p_type == PT_LOAD) in __libdwfl_elf_address_range() 188 vaddr = ph->p_vaddr & -ph->p_align; in __libdwfl_elf_address_range() 189 address_sync = ph->p_vaddr + ph->p_memsz; in __libdwfl_elf_address_range() 206 GElf_Phdr phdr_mem, *ph = gelf_getphdr (elf, i, &phdr_mem); in __libdwfl_elf_address_range() local 207 if (unlikely (ph == NULL)) in __libdwfl_elf_address_range() 209 if (ph in __libdwfl_elf_address_range() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
H A D | FormattedValueStringBuilderImpl.java | 208 SpanFieldPlaceholder ph = (SpanFieldPlaceholder) self.fields[i-1]; in nextPosition() 209 if (ph.normalField == ListFormatter.Field.ELEMENT) { in nextPosition() 212 fieldStart = i - self.zero - ph.length; in nextPosition() 213 int end = fieldStart + ph.length; in nextPosition() 219 i -= ph.length; in nextPosition() 250 SpanFieldPlaceholder ph = null; in nextPosition() 252 ph = (SpanFieldPlaceholder) _field; in nextPosition() 253 _field = ph.normalField; in nextPosition() 255 if (ph != null && (ph in nextPosition() [all...] |
/third_party/musl/src/internal/linux/ |
H A D | vdso.c | 77 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __get_vdso_info() local 79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info() 80 if (ph->p_type == PT_LOAD) in __get_vdso_info() 81 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __get_vdso_info() 82 else if (ph->p_type == PT_DYNAMIC) in __get_vdso_info() 83 dynv = (void *)((char *)eh + ph->p_offset); in __get_vdso_info()
|
/third_party/musl/porting/linux/user/src/internal/ |
H A D | vdso.c | 77 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __get_vdso_info() local 79 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __get_vdso_info() 80 if (ph->p_type == PT_LOAD) in __get_vdso_info() 81 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __get_vdso_info() 82 else if (ph->p_type == PT_DYNAMIC) in __get_vdso_info() 83 dynv = (void *)((char *)eh + ph->p_offset); in __get_vdso_info()
|
/third_party/musl/src/internal/ |
H A D | vdso.c | 50 Phdr *ph = (void *)((char *)eh + eh->e_phoff); in __vdsosym() local 52 for (i=0; i<eh->e_phnum; i++, ph=(void *)((char *)ph+eh->e_phentsize)) { in __vdsosym() 53 if (ph->p_type == PT_LOAD) in __vdsosym() 54 base = (size_t)eh + ph->p_offset - ph->p_vaddr; in __vdsosym() 55 else if (ph->p_type == PT_DYNAMIC) in __vdsosym() 56 dynv = (void *)((char *)eh + ph->p_offset); in __vdsosym()
|
/third_party/ffmpeg/libswresample/ |
H A D | resample.c | 147 int ph, i; in build_filter() local 166 for (ph = 0; ph < ph_nb; ph++) in build_filter() 167 sin_lut[ph] = sin(M_PI * ph / phase_count) * (center & 1 ? 1 : -1); in build_filter() 169 for(ph = 0; ph < ph_nb; ph++) { in build_filter() 170 s = sin_lut[ph]; in build_filter() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/ |
H A D | FormattedValueStringBuilderImpl.java | 218 SpanFieldPlaceholder ph = (SpanFieldPlaceholder) _field; in nextPosition() 219 if (cfpos.matchesField(ph.normalField, null) || cfpos.matchesField(ph.spanField, ph.value)) { in nextPosition() 259 SpanFieldPlaceholder ph = (SpanFieldPlaceholder) field; in handleSpan() 260 if (cfpos.matchesField(ph.spanField, ph.value) in handleSpan() 262 cfpos.setState(ph.spanField, ph.value, start, limit); in handleSpan() 265 if (cfpos.matchesField(ph in handleSpan() [all...] |
/third_party/musl/porting/linux/user/ldso/ |
H A D | dynlink.c | 1255 Phdr *ph = dso->phdr; in reclaim_gaps() local 1258 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps() 1259 if (ph->p_type!=PT_LOAD) continue; in reclaim_gaps() 1260 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 1261 reclaim(dso, ph->p_vaddr & -PAGE_SIZE, ph->p_vaddr); in reclaim_gaps() 1262 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps() 1263 ph in reclaim_gaps() 1430 Phdr *ph, *ph0; map_library() local 2513 Phdr *ph = p->phdr; kernel_mapped_dso() local 3788 Phdr *ph = p->phdr; addr2dso() local 4710 Phdr *ph; map_library_header() local 4848 Phdr *ph = task->ph0; task_map_library() local 5767 Phdr *ph = p->phdr; find_and_set_bss_name() local [all...] |
/third_party/musl/ldso/linux/ |
H A D | dynlink.c | 1290 Phdr *ph = dso->phdr; in reclaim_gaps() local 1293 for (; phcnt--; ph=(void *)((char *)ph+dso->phentsize)) { in reclaim_gaps() 1294 if (ph->p_type!=PT_LOAD) continue; in reclaim_gaps() 1295 if ((ph->p_flags&(PF_R|PF_W))!=(PF_R|PF_W)) continue; in reclaim_gaps() 1296 reclaim(dso, ph->p_vaddr & -PAGE_SIZE, ph->p_vaddr); in reclaim_gaps() 1297 reclaim(dso, ph->p_vaddr+ph->p_memsz, in reclaim_gaps() 1298 ph in reclaim_gaps() 1579 Phdr *ph, *ph0; map_library() local 2742 Phdr *ph = p->phdr; kernel_mapped_dso() local 4105 Phdr *ph = p->phdr; addr2dso() local 5072 Phdr *ph; map_library_header() local 5218 Phdr *ph = task->ph0; task_map_library() local 6158 Phdr *ph = p->phdr; find_and_set_bss_name() local [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/message2/ |
H A D | Mf2DataModelFormatter.java | 232 private FormattedPlaceholder formatPlaceholder(Expression ph, Map<String, Object> arguments, boolean localExpression) { in formatPlaceholder() argument 234 Value operand = ph.getOperand(); in formatPlaceholder() 257 throw new IllegalArgumentException("Invalid operand type " + ph.getOperand()); in formatPlaceholder() 261 if (ph.formatter == null) { in formatPlaceholder() 262 FormatterFactory funcFactory = getFormattingFunctionFactoryByName(toFormat, ph.getFunctionName()); in formatPlaceholder() 264 Map<String, Object> fixedOptions = mf2OptToFixedOptions(ph.getOptions()); in formatPlaceholder() 266 ph.formatter = ff; in formatPlaceholder() 269 if (ph.formatter != null) { in formatPlaceholder() 270 Map<String, Object> variableOptions = mf2OptToVariableOptions(ph.getOptions(), arguments); in formatPlaceholder() 272 return ph in formatPlaceholder() [all...] |
/third_party/libfuse/example/ |
H A D | poll.c | 164 struct fuse_pollhandle *ph, unsigned *reventsp) in fsel_poll() 185 if (ph != NULL) { in fsel_poll() 192 fsel_poll_handle[idx] = ph; in fsel_poll() 241 struct fuse_pollhandle *ph; in fsel_producer() local 244 ph = fsel_poll_handle[t]; in fsel_producer() 245 fuse_notify_poll(ph); in fsel_producer() 246 fuse_pollhandle_destroy(ph); in fsel_producer() 163 fsel_poll(const char *path, struct fuse_file_info *fi, struct fuse_pollhandle *ph, unsigned *reventsp) fsel_poll() argument
|
/third_party/ffmpeg/libavcodec/ |
H A D | vaapi_encode_mpeg2.c | 175 MPEG2RawPictureHeader *ph = &priv->picture_header; in vaapi_encode_mpeg2_init_sequence_params() local 185 memset(ph, 0, sizeof(*ph)); in vaapi_encode_mpeg2_init_sequence_params() 324 ph->picture_start_code = MPEG2_START_PICTURE; in vaapi_encode_mpeg2_init_sequence_params() 326 ph->vbv_delay = 0xffff; // Not currently calculated. in vaapi_encode_mpeg2_init_sequence_params() 328 ph->full_pel_forward_vector = 0; in vaapi_encode_mpeg2_init_sequence_params() 329 ph->forward_f_code = 7; in vaapi_encode_mpeg2_init_sequence_params() 330 ph->full_pel_backward_vector = 0; in vaapi_encode_mpeg2_init_sequence_params() 331 ph->forward_f_code = 7; in vaapi_encode_mpeg2_init_sequence_params() 423 MPEG2RawPictureHeader *ph in vaapi_encode_mpeg2_init_picture_params() local [all...] |
/third_party/ffmpeg/tests/checkasm/ |
H A D | videodsp.c | 39 bw, bh, x, y, pw, ph); \ 42 bw, bh, x, y, pw, ph); \ 47 bw, bh, x, y, pw, ph); \ 55 int pw = src_w, ph = src_h; \ 58 memcpy(src1, src0, pw * ph * sizeof(type)); \
|