| /freebsd/usr.bin/look/ |
| H A D | look.c | 94 unsigned char *back, *front; in main() local 144 if ((front = mmap(NULL, (size_t)sb.st_size, PROT_READ, MAP_SHARED, fd, (off_t)0)) == MAP_FAILED) in main() 146 back = front + sb.st_size; in main() 147 match *= (look(key, front, back)); in main() 186 look(wchar_t *string, unsigned char *front, unsigned char *back) in look() argument 189 front = binary_search(string, front, back); in look() 190 front = linear_search(string, front, back); in look() 192 if (front) in look() 193 print_from(string, front, back); in look() 194 return (front ? 0 : 1); in look() [all …]
|
| /freebsd/contrib/ntp/ntpd/ |
| H A D | ntp_prio_q.c | 41 my_queue->front = NULL; in debug_create_priority_queue() 59 while (my_queue->front != NULL) { in destroy_queue() 60 temp = my_queue->front; in destroy_queue() 61 my_queue->front = my_queue->front->node_next; in destroy_queue() 129 return (!my_queue || !my_queue->front); in empty() 138 if (NULL == q || NULL == q->front) in queue_head() 141 return q->front + 1; in queue_head() 156 node *j = my_queue->front; in enqueue() 165 new_node->node_next = my_queue->front; in enqueue() 166 my_queue->front = new_node; in enqueue() [all …]
|
| /freebsd/lib/libc/stdlib/ |
| H A D | tdestroy.c | 22 posix_tnode *back, *curr, **front; in tdestroy() local 30 front = &back; in tdestroy() 40 curr = *front; in tdestroy() 42 front = &curr->llink; in tdestroy() 44 *front = curr->llink; in tdestroy() 48 if (*front != NULL) in tdestroy() 61 front = &back; in tdestroy() 62 *front = curr->rlink; in tdestroy()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUImageIntrinsicOptimizer.cpp | 104 if (IIList.front()->getIntrinsicID() != II->getIntrinsicID()) in addInstToMergeableList() 108 if (IIList.front()->getType() != II->getType()) in addInstToMergeableList() 113 assert(IIList.front()->arg_size() == II->arg_size()); in addInstToMergeableList() 115 Value *ArgList = IIList.front()->getArgOperand(I); in addInstToMergeableList() 119 auto *FragIdList = cast<ConstantInt>(IIList.front()->getArgOperand(I)); in addInstToMergeableList() 185 SmallVector<Value *, 16> Args(IIList.front()->args()); in optimizeSection() 190 Function *F = IIList.front()->getCalledFunction(); in optimizeSection() 194 Intrinsic::ID IntrinID = IIList.front()->getIntrinsicID(); in optimizeSection() 198 Type *EltTy = IIList.front()->getType()->getScalarType(); in optimizeSection() 204 IIList.front()->getArgOperand(ImageDimIntr->DMaskIndex)); in optimizeSection() [all …]
|
| /freebsd/contrib/openresolv/ |
| H A D | dnsmasq.in | 97 SIFS=${IFS-y} OIFS=$IFS bytes= front= back= 117 front="$front byte:$byte1 byte:$byte2" 122 front="$front byte:0 byte:0" 124 front="${front}$back" 130 dbusdest="${dbusdest}$front string:$dn"
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/ |
| H A D | PackReuse.cpp | 27 BasicBlock *BB = (*PackOpt->Instrs.front()).getParent(); in runOnRegion() 37 return PackInstrs1.front()->comesBefore(PackInstrs2.front()); in runOnRegion() 39 Instruction *TopMostPack = Packs[0].front(); in runOnRegion() 43 PackInstrs.front()->replaceAllUsesWith(TopMostPack); in runOnRegion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Demangle/ |
| H A D | DLangDemangle.cpp | 176 if (!std::isdigit(Mangled.front())) { in decodeNumber() 194 } while (!Mangled.empty() && std::isdigit(Mangled.front())); in decodeNumber() 222 while (!Mangled.empty() && std::isalpha(Mangled.front())) { in decodeBackrefPos() 248 assert(!Mangled.empty() && Mangled.front() == 'Q' && in decodeBackref() 343 if (std::isdigit(Mangled.front())) in isSymbolName() 348 if (Mangled.front() != 'Q') in isSymbolName() 380 if (Mangled.front() == 'Z') { in parseMangle() 406 if (!Mangled.empty() && Mangled.front() == '0') { in parseQualified() 409 while (!Mangled.empty() && Mangled.front() == '0'); in parseQualified() 429 if (Mangled.front() == 'Q') in parseIdentifier() [all …]
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | dolby | 29 >6 byte&0xe0 = 0x00 1+1 front, 31 >6 byte&0xe0 = 0x20 1 front/0 rear, 33 >6 byte&0xe0 = 0x40 2 front/0 rear, 40 >6 byte&0xe0 = 0x60 3 front/0 rear, 42 >6 byte&0xe0 = 0x80 2 front/1 rear, 44 >6 byte&0xe0 = 0xa0 3 front/1 rear, 46 >6 byte&0xe0 = 0xc0 2 front/2 rear, 48 >6 byte&0xe0 = 0xe0 3 front/2 rear,
|
| /freebsd/contrib/nvi/ex/ |
| H A D | ex_tag.c | 1030 char *back, *front, *map, *p, *search, *t; in ctag_sfile() local 1050 front = map; in ctag_sfile() 1051 back = front + sb.st_size; in ctag_sfile() 1052 front = binary_search(tname, front, back); in ctag_sfile() 1053 front = linear_search(tname, front, back, tl); in ctag_sfile() 1054 if (front == NULL) in ctag_sfile() 1076 for (p = front; p < back && *p != '\n'; ++p); in ctag_sfile() 1083 p = front; in ctag_sfile() 1084 front = t; in ctag_sfile() 1237 binary_search(char *string, char *front, char *back) in binary_search() argument [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/Transforms/ |
| H A D | CIRCanonicalize.cpp | 77 if (region.getBlocks().front().getOperations().size() == 1 && in matchAndRewrite() 78 isa<YieldOp>(region.getBlocks().front().front())) { in matchAndRewrite() 92 if (!(op.getBody().empty() || isa<YieldOp>(op.getBody().front().front()))) in matchAndRewrite()
|
| H A D | CIRSimplify.cpp | 64 mlir::cast<cir::YieldOp>(op.getTrueRegion().front().getTerminator()); in matchAndRewrite() 66 mlir::cast<cir::YieldOp>(op.getFalseRegion().front().getTerminator()); in matchAndRewrite() 70 rewriter.inlineBlockBefore(&op.getTrueRegion().front(), op); in matchAndRewrite() 71 rewriter.inlineBlockBefore(&op.getFalseRegion().front(), op); in matchAndRewrite() 85 mlir::Block &onlyBlock = region.front(); in isSimpleTernaryBranch() 226 isa<YieldOp>(c.getCaseRegion().front().front())) { in matchAndRewrite()
|
| H A D | FlattenCFG.cpp | 78 mlir::Block *thenBeforeBody = &ifOp.getThenRegion().front(); in matchAndRewrite() 95 elseBeforeBody = &ifOp.getElseRegion().front(); in matchAndRewrite() 150 mlir::Block *beforeBody = &scopeOp.getScopeRegion().front(); in matchAndRewrite() 289 defaultDestination = ®ion.front(); in matchAndRewrite() 298 rangeDestinations.push_back(®ion.front()); in matchAndRewrite() 306 caseDestinations.push_back(®ion.front()); in matchAndRewrite() 344 mlir::Block &entryBlock = caseOp.getCaseRegion().front(); in matchAndRewrite() 423 mlir::Block *cond = &op.getCond().front(); in matchAndRewrite() 424 mlir::Block *body = &op.getBody().front(); in matchAndRewrite() 426 (op.maybeGetStep() ? &op.maybeGetStep()->front() : nullptr); in matchAndRewrite() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | DirectedGraph.h | 108 const EdgeType &front() const { return *Edges.front(); } in front() function 109 EdgeType &front() { return *Edges.front(); } in front() function 199 const NodeType &front() const { return *Nodes.front(); } in front() function 200 NodeType &front() { return *Nodes.front(); } in front() function
|
| /freebsd/sys/contrib/device-tree/src/arm/aspeed/ |
| H A D | aspeed-bmc-inspur-fp5280g2.dts | 163 front-memory { 164 label = "front-memory"; 168 front-syshot { 169 label = "front-syshot"; 173 front-syshealth { 174 label = "front-syshealth"; 178 front-fan { 179 label = "front-fan"; 183 front-psu { 184 label = "front-psu"; [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | LoopNestAnalysis.h | 81 Loop &getOutermostLoop() const { return *Loops.front(); } in getOutermostLoop() 122 assert(Depth >= Loops.front()->getLoopDepth() && in getLoopsAtDepth() 158 Loops.back()->getLoopDepth() - Loops.front()->getLoopDepth() + 1; in getNestDepth() 178 return Loops.front()->getHeader()->getParent(); in getParent() 181 StringRef getName() const { return Loops.front()->getName(); } in getName()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | RealtimeSanitizer.cpp | 52 insertCallBeforeInstruction(Fn, Fn.front().front(), InsertFnName, in insertCallAtFunctionEntryPoint() 77 IRBuilder<> Builder(&Fn.front().front()); in runSanitizeRealtimeBlocking()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
| H A D | YAMLTraits.h | 579 StringRef Tail = (S.front() == '-' || S.front() == '+') ? S.drop_front() : S; 624 if (S.front() == '.') { 627 } else if (S.front() == 'e' || S.front() == 'E') { 639 if (S.front() == 'e' || S.front() == 'E') { 651 if (S.front() == '+' || S.front() == '-') { 684 if (isSpace(static_cast<unsigned char>(S.front())) ||
|
| /freebsd/cddl/usr.sbin/zfsd/ |
| H A D | callout.cc | 136 if (s_activeCallouts.front() == this) { in Reset() 171 Callout *cur(s_activeCallouts.front()); in ExpireCallouts() 176 && timerisset(&s_activeCallouts.front()->m_interval) == 0); in ExpireCallouts() 179 Callout *next(s_activeCallouts.front()); in ExpireCallouts()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
| H A D | X86IndirectThunks.cpp | 83 MachineBasicBlock *Entry = &MF.front(); in populateThunk() 95 BuildMI(&MF.front(), DebugLoc(), TII->get(X86::LFENCE)); in populateThunk() 96 BuildMI(&MF.front(), DebugLoc(), TII->get(X86::JMP64r)).addReg(X86::R11); in populateThunk() 97 MF.front().addLiveIn(X86::R11); in populateThunk() 187 MachineBasicBlock *Entry = &MF.front(); in populateThunk()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | BasicBlockSectionsProfileReader.cpp | 184 FuncAliasMap.try_emplace(Values[i], Values.front()); in ReadV1Profile() 188 auto R = ProgramPathAndClusterInfo.try_emplace(Values.front()); in ReadV1Profile() 193 Values.front() + "'"); in ReadV1Profile() 330 FuncAliasMap.try_emplace(Aliases[i], Aliases.front()); in ReadV0Profile() 334 auto R = ProgramPathAndClusterInfo.try_emplace(Aliases.front()); in ReadV0Profile() 339 Aliases.front() + "'"); in ReadV0Profile()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 349 auto *SV = cast<ShuffleVectorInst>(VL.front()); in getShufflevectorNumGroups() 398 auto *SV = cast<ShuffleVectorInst>(VL.front()); in calculateShufflevectorMask() 459 OS << "n=" << VL.size() << " [" << *VL.front() << ", ..]"; in shortBundleName() 1479 Mappings.front().ISA != BaseMappings.front().ISA || in getSameOpcode() 1480 Mappings.front().ScalarName != BaseMappings.front().ScalarName || in getSameOpcode() 1481 Mappings.front().VectorName != BaseMappings.front().VectorName || in getSameOpcode() 1482 Mappings.front().Shape.VF != BaseMappings.front().Shape.VF || in getSameOpcode() 1483 Mappings.front().Shape.Parameters != in getSameOpcode() 1484 BaseMappings.front().Shape.Parameters) in getSameOpcode() 1673 PoisonValue::get(Scalars.front()->getType())); in reorderScalars() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | ControlFlowUtils.cpp | 90 LLVMContext &Context = GuardBlocks.front()->getContext(); in calcPredicateUsingInteger() 91 BasicBlock *FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingInteger() 135 LLVMContext &Context = GuardBlocks.front()->getContext(); in calcPredicateUsingBooleans() 138 BasicBlock *FirstGuardBlock = GuardBlocks.front(); in calcPredicateUsingBooleans() 208 Function *F = Outgoing.front()->getParent(); in convertToGuardPredicates() 294 return {Outgoing.front(), false}; in finalize() 309 BasicBlock *FirstGuardBlock = GuardBlocks.front(); in finalize()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Driver/ |
| H A D | MultilibBuilder.h | 43 (StringRef(GCCSuffix).front() == '/' && GCCSuffix.size() > 1)); in gccSuffix() 54 (StringRef(OSSuffix).front() == '/' && OSSuffix.size() > 1)); in osSuffix() 64 assert(IncludeSuffix.empty() || (StringRef(IncludeSuffix).front() == '/' && in includeSuffix()
|
| /freebsd/contrib/wpa/src/p2p/ |
| H A D | p2p_build.c | 533 size_t front = remaining; in p2p_buf_add_service_info() local 534 size_t back = sizeof(u32) + sizeof(u16) + sizeof(u8) - front; in p2p_buf_add_service_info() 541 if (front) in p2p_buf_add_service_info() 542 wpabuf_put_data(buf, holder, front); in p2p_buf_add_service_info() 547 wpabuf_put_data(buf, &holder[front], back); in p2p_buf_add_service_info() 560 size_t front = remaining; in p2p_buf_add_service_info() local 561 size_t back = svc_len - front; in p2p_buf_add_service_info() 563 if (front) in p2p_buf_add_service_info() 564 wpabuf_put_data(buf, svc_name, front); in p2p_buf_add_service_info() 571 wpabuf_put_data(buf, &svc_name[front], 255 - 4); in p2p_buf_add_service_info() [all …]
|
| /freebsd/sys/netpfil/ipfw/ |
| H A D | dn_sched_qfq.c | 229 unsigned int front; /* Index of the front slot. */ member 440 unsigned int i = (grp->front + slot) % QFQ_MAX_SLOTS; in qfq_slot_insert() 453 struct qfq_class **h = &grp->slots[grp->front]; in qfq_front_slot_remove() 476 grp->front = (grp->front + i) % QFQ_MAX_SLOTS; in qfq_slot_scan() 480 return grp->slots[grp->front]; in qfq_slot_scan() 499 grp->front = (grp->front - i) % QFQ_MAX_SLOTS; in qfq_slot_rotate() 565 cl = grp->slots[grp->front]; in qfq_dequeue() 721 i = (grp->front + offset) % QFQ_MAX_SLOTS; 776 } else if (!grp->slots[grp->front]) {
|