/prebuilts/go/darwin-x86/src/os/ |
path_windows.go | 29 for ; i > 0 && (name[i] == '/' || name[i] == '\\'); i-- { 33 for i--; i >= 0; i-- { 69 for n := 3; n < l-1; n++ { 78 for ; n < l; n++ { 96 for i, b := range path { 117 for i >= len(vol) && !IsPathSeparator(path[i]) { 134 // the extended-length form (for example, if path is a relative path 162 // . elements as well as trailing or duplicate separators. For 163 // simplicity it avoids the conversion entirely for relative 164 // paths or paths containing .. elements. For now [all...] |
types.go | 23 Size() int64 // length in bytes for regular files; system-dependent for others 26 IsDir() bool // abbreviation for Mode().IsDir() 34 // The only required bit is ModeDir for directories. 58 // Mask for the type bits. For regular files, none will be set. 68 for i, c := range str { 79 for i, c := range rwx { 91 // That is, it tests for the ModeDir bit being set in m. 111 // For example, on Unix this means that the device and inode field [all...] |
/prebuilts/go/darwin-x86/src/regexp/ |
example_test.go | 202 // For each match of the regex in the content. 203 for _, submatches := range pattern.FindAllSubmatchIndex(content, -1) { 234 // For each match of the regex in the content. 235 for _, submatches := range pattern.FindAllStringSubmatchIndex(content, -1) {
|
/prebuilts/go/darwin-x86/src/strings/ |
search.go | 13 // pattern is the string that we are searching for in the text. 31 // shift the matching frame to align with the next suffix chunk. For 40 // suffix. For example, in the pattern "abcxxxabc", when the first 58 for i := range f.badCharSkip { 64 for i := 0; i < last; i++ { 72 for i := last; i >= 0; i-- { 80 for i := 0; i < last; i++ { 92 for ; i < len(a) && i < len(b); i++ { 104 for i < len(text) { 107 for j >= 0 && text[i] == f.pattern[j] [all...] |
/prebuilts/go/darwin-x86/src/syscall/ |
syscall.go | 7 // by default, godoc will display the syscall documentation for the current 8 // system. If you want godoc to display syscall documentation for another 9 // system, set $GOOS and $GOARCH to the desired system. For example, if 10 // you want to view documentation for freebsd/arm on linux/amd64, set $GOOS 15 // For details of the functions and data types in this package consult 16 // the manuals for the appropriate operating system. 28 // for more information. 51 for i := 0; i < len(s); i++ { 79 // Single-word zero for use when we need a valid pointer to 0 bytes.
|
/prebuilts/go/linux-x86/src/cmd/go/internal/get/ |
get.go | 46 the tests for the specified packages. 50 missing packages but does not use it to look for updates to existing packages. 58 get uses the first one. For more details see: 'go help gopath'. 60 When checking out or updating a package, get looks for a branch or tag 63 searches for a branch or tag named "go1". If no such version exists 71 For more about specifying packages, see 'go help packages'. 73 For more about how 'go get' finds source code to 99 // Disable any prompting for passwords by Git. 100 // Only has an effect for 2.3.0 or later, but avoiding 133 for _, arg := range args [all...] |
/prebuilts/go/linux-x86/src/cmd/go/internal/load/ |
flag_test.go | 99 for i, d := range dirs { 117 for i, tt := range ppfTests { 120 for _, arg := range tt.args { 126 for _, p := range tt.pkgs { 128 flags := ppFlags.For(&Package{PackagePublic: PackagePublic{ImportPath: p.path, Dir: dir}, Internal: PackageInternal{CmdlinePkg: p.cmdline}}) 130 t.Errorf("For(%v, %v, %v) = %v, want %v", p.path, dir, p.cmdline, flags, p.flags)
|
/prebuilts/go/linux-x86/src/cmd/vet/ |
bool.go | 16 "check for mistakes involving boolean operators", 35 for _, exprs := range comm { 54 // For example, given 'a || b || f() || c || d' with the or op, 62 for j := 0; j <= len(exprs); j++ { 74 // checkRedundant checks for expressions of the form 80 for _, e := range exprs { 90 // checkSuspect checks for expressions of the form 101 for _, e := range exprs { 145 // We'll live with the false negatives for now. 161 // For example, given 'a || (b || c) || d' with the or op [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/internal/cfg/ |
cfg.go | 8 // Use cfg.New to construct the CFG for a function body. 13 // For example, this source code: 43 // fragmentary, so for simplicity this package does not depend on 65 // A block may have 0-2 successors: zero for a return block or a block 66 // that calls a function such as panic that never returns; one for a 67 // normal (jump) block; and two for a conditional (if) block. 72 comment string // for debugging 74 unreachable bool // is block of stmts following return/panic/for{} 75 succs2 [2]*Block // underlying array for Succs 78 // New returns a new control-flow graph for the specified function body [all...] |
/prebuilts/go/linux-x86/src/go/token/ |
token.go | 24 // (these tokens stand for classes of literals) 104 FOR 205 FOR: "for", 227 // For operators, delimiters, and keywords the string is the actual 228 // token character sequence (e.g., for the token ADD, the string is 229 // "+"). For all other tokens the string corresponds to the token 230 // constant name (e.g. for the token IDENT, the string is "IDENT"). 243 // A set of constants for precedence-based expression parsing. 246 // precedence serves as "catch-all" precedence for selector [all...] |
/prebuilts/go/linux-x86/src/hash/crc64/ |
crc64.go | 6 // checksum. See http://en.wikipedia.org/wiki/Cyclic_redundancy_check for 27 // Table is a 256-word table representing the polynomial for efficient processing. 50 for i := 0; i < 256; i++ { 52 for j := 0; j < 8; j++ { 67 for i := 0; i < 256; i++ { 69 for j := 1; j < 8; j++ { 145 // Table comparison is somewhat expensive, so avoid it for small sizes 146 for len(p) >= 64 { 152 // For smaller sizes creating extended table takes too much time 159 for len(p) > 8 [all...] |
/prebuilts/go/linux-x86/src/net/ |
dial.go | 14 // A Dialer contains options for connecting to an address. 16 // The zero value for each field is equivalent to dialing 20 // Timeout is the maximum amount of time a dial will wait for 30 // its own earlier timeout. For instance, TCP timeouts are 41 // address. The address must be of a compatible type for the 58 // KeepAlive specifies the keep-alive period for an active 91 if d.Timeout != 0 { // including negative, for historical reasons 107 // partialDeadline returns the deadline to use for a single address, 215 for _, addr := range addrs { 250 // For TCP and UDP networks, the address has the form "host:port" [all...] |
/prebuilts/go/linux-x86/src/net/http/ |
doc.go | 27 For control over HTTP client headers, redirect policy, and other 43 For control over proxies, TLS configuration, keep-alives, 54 Clients and Transports are safe for concurrent use by multiple 55 goroutines and for efficiency should only be created once and re-used. 81 Starting with Go 1.6, the http package has transparent support for the 83 can do so by setting Transport.TLSNextProto (for clients) or 84 Server.TLSNextProto (for servers) to a non-nil, empty 98 HTTP/2 support for simple configurations. To enable HTTP/2 for more
|
/prebuilts/go/linux-x86/src/os/ |
path_windows.go | 29 for ; i > 0 && (name[i] == '/' || name[i] == '\\'); i-- { 33 for i--; i >= 0; i-- { 69 for n := 3; n < l-1; n++ { 78 for ; n < l; n++ { 96 for i, b := range path { 117 for i >= len(vol) && !IsPathSeparator(path[i]) { 134 // the extended-length form (for example, if path is a relative path 162 // . elements as well as trailing or duplicate separators. For 163 // simplicity it avoids the conversion entirely for relative 164 // paths or paths containing .. elements. For now [all...] |
types.go | 23 Size() int64 // length in bytes for regular files; system-dependent for others 26 IsDir() bool // abbreviation for Mode().IsDir() 34 // The only required bit is ModeDir for directories. 58 // Mask for the type bits. For regular files, none will be set. 68 for i, c := range str { 79 for i, c := range rwx { 91 // That is, it tests for the ModeDir bit being set in m. 111 // For example, on Unix this means that the device and inode field [all...] |
/prebuilts/go/linux-x86/src/regexp/ |
example_test.go | 202 // For each match of the regex in the content. 203 for _, submatches := range pattern.FindAllSubmatchIndex(content, -1) { 234 // For each match of the regex in the content. 235 for _, submatches := range pattern.FindAllStringSubmatchIndex(content, -1) {
|
/prebuilts/go/linux-x86/src/strings/ |
search.go | 13 // pattern is the string that we are searching for in the text. 31 // shift the matching frame to align with the next suffix chunk. For 40 // suffix. For example, in the pattern "abcxxxabc", when the first 58 for i := range f.badCharSkip { 64 for i := 0; i < last; i++ { 72 for i := last; i >= 0; i-- { 80 for i := 0; i < last; i++ { 92 for ; i < len(a) && i < len(b); i++ { 104 for i < len(text) { 107 for j >= 0 && text[i] == f.pattern[j] [all...] |
/prebuilts/go/linux-x86/src/syscall/ |
syscall.go | 7 // by default, godoc will display the syscall documentation for the current 8 // system. If you want godoc to display syscall documentation for another 9 // system, set $GOOS and $GOARCH to the desired system. For example, if 10 // you want to view documentation for freebsd/arm on linux/amd64, set $GOOS 15 // For details of the functions and data types in this package consult 16 // the manuals for the appropriate operating system. 28 // for more information. 51 for i := 0; i < len(s); i++ { 79 // Single-word zero for use when we need a valid pointer to 0 bytes.
|
/build/make/core/ |
dex_preopt_odex_install.mk | 1 # dexpreopt_odex_install.mk is used to define odex creation rules for JARs and APKs 28 # If we have product-specific config for this module? 52 # /data. If we don't do this they will need to be extracted which is not favorable for RAM usage 70 # system_other isn't there for an OTA, so don't strip 142 # The profile is a test listing of classes (used for framework jars). 151 # The profile is binary profile (used for apps). Run it through profman to 162 || echo "Profile out of date for $(PRIVATE_BUILT_MODULE)" 189 # For libart, the boot jars' odex files are replaced by $(DEFAULT_DEX_PREOPT_INSTALLED_IMAGE). 192 # Append the odex for the 2nd arch if we have one. 196 # For a Java library, by default we build odex for both 1st arch and 2nd arch [all...] |
/compatibility/cdd/3_software/ |
3_5_api-behavioral-compatibility.md | 14 More specifically, for background apps: 27 allow to register broadcast receivers for the implicit broadcasts of 45 significant portions of the platform for behavioral compatibility, but not all. 47 with the Android Open Source Project. For this reason, device implementers
|
/compatibility/cdd/6_dev-tools-and-options/ |
6_1_developer_tools.md | 16 * [C-0-5] MUST support secure adb. Android includes support for secure 19 host machine. For example: 23 * MUST provide drivers for Windows 7, 9 and 10, allowing developers to 28 As ddms uses adb, support for ddms SHOULD be inactive by default, but 32 * [C-0-8] MUST include the Monkey framework and make it available for
|
/device/linaro/bootloader/edk2/IntelFspWrapperPkg/Library/SecPeiFspPlatformSecLibSample/Ia32/ |
PeiCoreEntry.asm | 95 ; We need to implement a long-term solution for BIST capture. For now, we just copy BSP BIST
96 ; for all processor threads
|
/device/linaro/bootloader/edk2/MdePkg/Library/BaseLib/Arm/ |
SetJumpLongJump.asm | 28 ; For IPF CPUs, if JumpBuffer is not aligned on a 16-byte boundary, then ASSERT().
|
/device/linaro/bootloader/edk2/OvmfPkg/ResetVector/Ia32/ |
PageTables64.asm | 3 ; Sets the CR3 register for 64-bit paging
47 ; For OVMF, build some initial page tables at
|
/external/compiler-rt/make/platform/ |
clang_linux.mk | 1 Description := Static runtime libraries for clang/Linux. 11 # cross compilers). For now, we just find the target architecture of the 16 $(error "unable to infer compiler target triple for $(CC)") 31 for flag in $(3); do \ 50 # Build runtime libraries for i386. 57 # Build runtime libraries for x86_64.
|