/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/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/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/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 [all...] |
H A D | aspeed-bmc-inspur-nf5280m6.dts | 51 front-fan { 52 label = "front-fan"; 56 front-psu { 57 label = "front-psu"; 61 front-syshot { 62 label = "front-syshot"; 66 front-memory { 67 label = "front-memory";
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | LoopNestAnalysis.h | 80 Loop &getOutermostLoop() const { return *Loops.front(); } in getOutermostLoop() 121 assert(Depth >= Loops.front()->getLoopDepth() && in getLoopsAtDepth() 157 Loops.back()->getLoopDepth() - Loops.front()->getLoopDepth() + 1; in getNestDepth() 177 return Loops.front()->getHeader()->getParent(); in getParent() 180 StringRef getName() const { return Loops.front()->getName(); } in getName()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | YAMLTraits.h | 577 StringRef Tail = (S.front() == '-' || S.front() == '+') ? S.drop_front() : S; 622 if (S.front() == '.') { 625 } else if (S.front() == 'e' || S.front() == 'E') { 637 if (S.front() == 'e' || S.front() == 'E') { 649 if (S.front() == '+' || S.front() == '-') { 682 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 | 89 MachineBasicBlock *Entry = &MF.front(); in populateThunk() 101 BuildMI(&MF.front(), DebugLoc(), TII->get(X86::LFENCE)); in populateThunk() 102 BuildMI(&MF.front(), DebugLoc(), TII->get(X86::JMP64r)).addReg(X86::R11); in populateThunk() 103 MF.front().addLiveIn(X86::R11); in populateThunk() 193 MachineBasicBlock *Entry = &MF.front(); in populateThunk()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | BasicBlockSectionsProfileReader.cpp | 183 FuncAliasMap.try_emplace(Values[i], Values.front()); in ReadV1Profile() 187 auto R = ProgramPathAndClusterInfo.try_emplace(Values.front()); in ReadV1Profile() 192 Values.front() + "'"); in ReadV1Profile() 329 FuncAliasMap.try_emplace(Aliases[i], Aliases.front()); in ReadV0Profile() 333 auto R = ProgramPathAndClusterInfo.try_emplace(Aliases.front()); in ReadV0Profile() 338 Aliases.front() + "'"); in ReadV0Profile()
|
/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]) {
|
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
H A D | AMDGPU.h | 174 if (S.front() != 'v' && S.front() != 's' && S.front() != 'a') { in validateAsmConstraint() 434 assert(F.front() == '+' || F.front() == '-'); in handleTargetFeatures() 443 bool IsOn = F.front() == '+'; in handleTargetFeatures()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/ |
H A D | SampleContextTracker.h | 158 ContextTrieNode *Node = NodeQueue.front(); 170 return NodeQueue.front() == Other.NodeQueue.front(); 175 return NodeQueue.front();
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DebugLocStream.h | 127 assert(&Lists.front() <= &L && &L <= &Lists.back() && in getIndex() 129 return &L - &Lists.front(); in getIndex() 132 assert(&Entries.front() <= &E && &E <= &Entries.back() && in getIndex() 134 return &E - &Entries.front(); in getIndex()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ComparisonCategories.cpp | 84 if (Lookup.empty() || !isa<VarDecl>(Lookup.front())) in lookupValueInfo() 86 Objects.emplace_back(ValueKind, cast<VarDecl>(Lookup.front())); in lookupValueInfo() 96 StdNS = dyn_cast<NamespaceDecl>(Lookup.front()); in lookupStdNamespace() 107 if (const CXXRecordDecl *RD = dyn_cast<CXXRecordDecl>(Lookup.front())) in lookupCXXRecordDecl()
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_barrier_combining.c | 41 struct ck_barrier_combining_group *front = NULL; in ck_barrier_combining_queue_dequeue() local 44 front = queue->head; in ck_barrier_combining_queue_dequeue() 48 return front; in ck_barrier_combining_queue_dequeue()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/ |
H A D | primary64.h | 670 BatchGroupT *BG = Region->FreeListInfo.BlockList.front(); in pushBatchClassBlocks() 714 TransferBatchT *CurBatch = BG->Batches.front(); in pushBatchClassBlocks() 782 TransferBatchT *CurBatch = Batches.front(); 806 BatchGroupT *Cur = Region->FreeListInfo.BlockList.front(); 949 Region->FreeListInfo.BlockList.front()->Batches; in popBlocksImpl() 953 BatchGroupT *BG = Region->FreeListInfo.BlockList.front(); in popBlocksImpl() 973 TransferBatchT *B = Batches.front(); in popBlocksImpl() 995 BatchGroupT *BG = Region->FreeListInfo.BlockList.front(); in popBlocksImpl() 1361 for (BatchGroupT *BG = Region->FreeListInfo.BlockList.front(), in collectGroupsToRelease() 1385 BG->Batches.front()->getCount(); in collectGroupsToRelease() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | SLPVectorizer.cpp | 300 OS << "n=" << VL.size() << " [" << *VL.front() << ", ..]"; in shortBundleName() 895 Mappings.front().ISA != BaseMappings.front().ISA || in getSameOpcode() 896 Mappings.front().ScalarName != BaseMappings.front().ScalarName || in getSameOpcode() 897 Mappings.front().VectorName != BaseMappings.front().VectorName || in getSameOpcode() 898 Mappings.front().Shape.VF != BaseMappings.front().Shape.VF || in getSameOpcode() 899 Mappings.front().Shape.Parameters != in getSameOpcode() 900 BaseMappings.front().Shape.Parameters) in getSameOpcode() 916 Type *Ty = VL.front()->getType(); in allSameType() 1058 PoisonValue::get(Scalars.front()->getType())); in reorderScalars() 1202 !VectorizableTree.front()->UserTreeIndices.empty(); in doesRootHaveInTreeUses() [all …]
|