/device/linaro/bootloader/edk2/NetworkPkg/Application/IpsecConfig/ |
Helper.c | 273 UINTN Len;
294 Len = StrLen (Str);
295 StrTail = (CHAR16 *) (Str + Len - 1);
301 Len = StrTail - Str + 1;
306 if ((Len >= 2) && (*Str == '0') && ((*(Str + 1) == 'x') || (*(Str + 1) == 'X'))) {
308 Len -= 2;
312 if (Len == 0) {
|
/device/linaro/bootloader/edk2/NetworkPkg/IScsiDxe/ |
IScsiCHAP.c | 160 UINT32 Len;
176 Len = Conn->RspQue.BufSize;
177 Data = AllocateZeroPool (Len);
184 NetbufQueCopy (&Conn->RspQue, 0, Len, Data);
189 KeyValueList = IScsiBuildKeyValueList ((CHAR8 *) Data, Len);
|
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/ |
Mtftp6Wrq.c | 135 @param[in] Len The length of the packet.
149 IN UINT32 Len,
271 @param[in] Len The length of the packet.
285 IN UINT32 Len,
314 Status = Mtftp6ParseStart (Packet, Len, &Count, &Options);
396 UINT32 Len;
437 Len = UdpPacket->TotalSize;
441 Packet = AllocateZeroPool (Len);
448 NetbufCopy (UdpPacket, 0, Len, (UINT8 *) Packet);
468 (UINT16) Len,
[all...] |
/device/linaro/bootloader/edk2/OvmfPkg/VirtioRngDxe/ |
VirtioRng.c | 139 UINT32 Len;
167 for (Index = 0; Index < RNGValueLength; Index += Len) {
177 if (VirtioFlush (Dev->VirtIo, 0, &Dev->Ring, &Indices, &Len) !=
182 ASSERT (Len > 0);
183 ASSERT (Len <= BufferSize);
|
/device/linaro/bootloader/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/HexEdit/ |
DiskImage.c | 123 UINTN Len;
131 Len = StrLen (Str);
133 HDiskImage.Name = AllocateZeroPool (2 * (Len + 1));
138 for (Index = 0; Index < Len; Index++) {
142 HDiskImage.Name[Len] = L'\0';
|
/external/clang/lib/Analysis/ |
ScanfFormatString.cpp | 215 unsigned Len = I - Beg; 216 if (ParseUTF8InvalidSpecifier(Beg, E, Len)) { 217 CS.setEndScanList(Beg + Len); 221 return !H.HandleInvalidScanfConversionSpecifier(FS, Beg, Len);
|
/external/giflib/ |
gifalloc.c | 91 int i, j, Len = Object->ColorCount; 93 for (i = 0; i < Len; i += 4) { 94 for (j = 0; j < 4 && j < Len; j++) { 227 unsigned int Len, 249 ep->ByteCount=Len; 255 memcpy(ep->Bytes, ExtData, Len);
|
/external/libvpx/libvpx/vp8/common/ |
entropy.h | 46 int Len;
|
/external/protobuf/python/google/protobuf/pyext/ |
repeated_scalar_container.cc | 80 static Py_ssize_t Len(RepeatedScalarContainer* self) { 305 length = Len(self); 545 for (Py_ssize_t i = 0; i < Len(self); ++i) { 735 (lenfunc)Len, /* sq_length */ 744 (lenfunc)Len, /* mp_length */
|
/external/swiftshader/third_party/LLVM/lib/Target/ARM/MCTargetDesc/ |
ARMMCTargetDesc.cpp | 41 unsigned Len = TT.size(); 46 if (Len >= 5 && TT.substr(0, 4) == "armv") 48 else if (Len >= 6 && TT.substr(0, 5) == "thumb") { 50 if (Len >= 7 && TT[5] == 'v') 58 if (Len >= Idx+2 && TT[Idx+1] == 'm') { 61 } else if (Len >= Idx+3 && TT[Idx+1] == 'e'&& TT[Idx+2] == 'm') { 69 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == '2') 71 else if (Len >= Idx+2 && TT[Idx+1] == 'm') 77 if (Len >= Idx+3 && TT[Idx+1] == 't' && TT[Idx+2] == 'e') 81 } else if (SubVer == '4' && Len >= Idx+2 && TT[Idx+1] == 't' [all...] |
/external/swiftshader/third_party/LLVM/tools/llc/ |
llc.cpp | 146 int Len = IFN.length();
147 if ((Len > 2) &&
148 IFN[Len-3] == '.' &&
149 ((IFN[Len-2] == 'b' && IFN[Len-1] == 'c') ||
150 (IFN[Len-2] == 'l' && IFN[Len-1] == 'l'))) {
|
/prebuilts/go/darwin-x86/misc/cgo/gmp/ |
gmp.go | 152 b := make([]byte, (z.Len()+7)/8) 153 n := C.size_t(len(b)) 158 // Len returns the length of z in bits. 0 is considered to have length 1. 159 func (z *Int) Len() int { 175 if len(b) == 0 { 178 C.mpz_import(&z.i[0], C.size_t(len(b)), 1, 1, 1, 0, unsafe.Pointer(&b[0]))
|
/prebuilts/go/darwin-x86/src/cmd/compile/internal/gc/ |
export.go | 221 func (x methodbyname) Len() int { return len(x) }
|
phi.go | 33 if len(s.f.Blocks) <= smallBlocks { 84 if len(b.Preds) == 1 { 97 s.varnum[var_] = int32(len(vartypes)) 99 fmt.Printf("var%d = %v\n", len(vartypes), var_) 106 if len(vartypes) == 0 { 112 defs := make([][]*ssa.Block, len(vartypes)) 207 for len(priq.a) > 0 { 221 for len(q) > 0 { 222 b := q[len(q)-1] 223 q = q[:len(q)-1 [all...] |
swt.go | 107 if ncase.List.Len() == 0 { 190 if ncase.Rlist.Len() != 0 { 192 if ll.Len() == 1 && ll.First().Type != nil && !ll.First().Type.IsKind(TNIL) { 275 for len(cc) > 0 { 279 for ; run < len(cc) && cc[run].isconst; run++ { 300 if len(cc) < binarySearchMin { 338 half := len(cc) / 2 366 if sw.List.Len() == 0 { 383 needvar := n.List.Len() != 1 || n.List.First().Op == OLITERAL 386 switch n.List.Len() { [all...] |
/prebuilts/go/darwin-x86/src/cmd/internal/objfile/ |
objfile.go | 137 func (x byAddr) Len() int { return len(x) }
|
/prebuilts/go/darwin-x86/src/compress/flate/ |
huffman_code.go | 15 code, len uint16 53 h.len = length 92 codes[ch] = hcode{code: reverseBits(bits, byte(size)), len: size} 101 codes[ch] = hcode{code: reverseBits(uint16(ch), 5), len: 5} 113 total += int(f) * int(h.codes[i].len) 138 n := int32(len(list)) 255 // The literals list[len(list)-bits] .. list[len(list)-bits] 259 chunk := list[len(list)-int(bits):] 263 h.codes[node.literal] = hcode{code: reverseBits(code, uint8(n)), len: uint16(n) [all...] |
/prebuilts/go/darwin-x86/src/container/list/ |
list.go | 50 len int // current list length excluding (this) sentinel element 57 l.len = 0 64 // Len returns the number of elements of list l. 66 func (l *List) Len() int { return l.len } 70 if l.len == 0 { 78 if l.len == 0 { 91 // insert inserts e after at, increments l.len, and returns e. 99 l.len++ 108 // remove removes e from its list, decrements l.len, and returns e [all...] |
/prebuilts/go/darwin-x86/src/go/ast/ |
commentmap.go | 16 func (a byPos) Len() int { return len(a) } 39 if len(list) == 0 { 49 func (a byInterval) Len() int { return len(a) } 88 return r.index >= len(r.list) 118 i := len(*s) 144 if len(comments) == 0 { 151 tmp := make([]*CommentGroup, len(comments)) 154 r := commentListReader{fset: fset, list: tmp} // !r.eol() because len(comments) > [all...] |
/prebuilts/go/darwin-x86/src/internal/trace/ |
order.go | 57 pending += len(v) 64 if b.selected || len(b.events) == 0 { 85 if len(frontier) == 0 { 90 frontier[0] = frontier[len(frontier)-1] 91 frontier = frontier[:len(frontier)-1] 241 func (l orderEventList) Len() int { 242 return len(l) 255 func (l eventList) Len() int { 256 return len(l) 269 func (l eventSeqList) Len() int [all...] |
/prebuilts/go/darwin-x86/src/net/ |
addrselect.go | 14 if len(addrs) < 2 { 21 if len(addrs) != len(srcs) { 24 addrAttr := make([]ipAttr, len(addrs)) 25 srcAttr := make([]ipAttr, len(srcs)) 42 srcs := make([]IP, len(addrs)) 83 func (s *byRFC6724) Len() int { return len(s.addrs) } 284 func (s byMaskLength) Len() int { return len(s) [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
header.go | 46 if v := h[key]; len(v) > 0 { 63 h2 := make(Header, len(h)) 65 vv2 := make([]string, len(vv)) 118 func (s *headerSorter) Len() int { return len(s.kvs) } 131 if cap(hs.kvs) < len(h) { 132 hs.kvs = make([]keyValues, 0, len(h)) 183 if len(token) > len(v) || token == "" { 189 for sp := 0; sp <= len(v)-len(token); sp++ [all...] |
/prebuilts/go/darwin-x86/src/vendor/golang_org/x/text/unicode/bidi/ |
bracket.go | 65 func (b bracketPairs) Len() int { return len(b) } 150 if p.openers.Len() == maxPairingDepth { 323 for i := loc.closer + 1; i < len(p.indexes); i++ {
|
/prebuilts/go/linux-x86/misc/cgo/gmp/ |
gmp.go | 152 b := make([]byte, (z.Len()+7)/8) 153 n := C.size_t(len(b)) 158 // Len returns the length of z in bits. 0 is considered to have length 1. 159 func (z *Int) Len() int { 175 if len(b) == 0 { 178 C.mpz_import(&z.i[0], C.size_t(len(b)), 1, 1, 1, 0, unsafe.Pointer(&b[0]))
|
/prebuilts/go/linux-x86/src/cmd/compile/internal/gc/ |
export.go | 221 func (x methodbyname) Len() int { return len(x) }
|