Home
last modified time | relevance | path

Searched refs:slice (Results 1 – 17 of 17) sorted by relevance

/build/blueprint/proptools/
Descape.go29 func NinjaEscapeList(slice []string) []string {
31 for i, s := range slice {
37 slice = slices.Clone(slice)
40 slice[i] = escaped
43 return slice
62 func ShellEscapeList(slice []string) []string {
64 for i, s := range slice {
70 slice = slices.Clone(slice)
73 slice[i] = escaped
76 return slice
[all …]
Dunpack.go558 slice, ok := ctx.unpackToSliceInner(sliceName, property, sliceType)
562 result.Elem().Set(slice)
/build/soong/android/
Dutil_test.go795 slice := CopyOf(testCase.in)
796 slice2 := slice
797 ReverseSliceInPlace(slice)
798 if !reflect.DeepEqual(slice, testCase.expected) {
799 t.Errorf("expected %#v, got %#v", testCase.expected, slice)
801 if unsafe.SliceData(slice) != unsafe.SliceData(slice2) {
811 slice := ReverseSlice(testCase.in)
812 if !reflect.DeepEqual(slice, testCase.expected) {
813 t.Errorf("expected %#v, got %#v", testCase.expected, slice)
815 if cap(slice) > 0 && unsafe.SliceData(testCase.in) == unsafe.SliceData(slice) {
Dutil.go333 func firstUnique[T comparable](slice []T) []T {
335 slice = CopyOf(slice)
336 return firstUniqueInPlace(slice)
342 func firstUniqueInPlace[T comparable](slice []T) []T {
344 if len(slice) > 128 {
345 return firstUniqueMap(slice)
347 return firstUniqueList(slice)
Dpath_properties.go116 …panic(fmt.Errorf(`field %s in type %s has tag android:"path" but is not a string or slice of strin…
120 …panic(fmt.Errorf(`field %s in type %s has tag android:"path" but is not a string or slice of strin…
Dneverallow.go708 slice, ok := value.Interface().([]string)
712 for _, v := range slice {
Dtesting.go841 func normalizeStringArrayRelativeToTop(config Config, slice []string) []string {
842 newSlice := make([]string, len(slice))
843 for i, s := range slice {
/build/make/tools/aconfig/aconfig_storage_read_api/srcs/
Dlib.rs27 let buffer = unsafe { std::slice::from_raw_parts(buffer_ptr, buffer_size) }; in get_package_read_context_java()
84 let buffer = unsafe { std::slice::from_raw_parts(buffer_ptr, buffer_size) }; in get_flag_read_context_java()
138 let buffer = unsafe { std::slice::from_raw_parts(buffer_ptr, buffer_size) }; in get_boolean_flag_value_java()
/build/soong/bazel/
Daquery_test.go1340 byCommand := func(slice []*BuildStatement) compareFn {
1342 if slice[i] == nil {
1344 } else if slice[j] == nil {
1347 return slice[i].Command < slice[j].Command
Dproperties.go1435 func TryVariableSubstitutions(slice []string, productVariable string) ([]string, bool) {
1436 if len(slice) == 0 {
1437 return slice, false
1439 ret := make([]string, 0, len(slice))
1441 for _, s := range slice {
/build/soong/cc/
Dcmake_snapshot.go240 func sliceWithPrefix(prefix string, slice []string) []string {
241 output := make([]string, len(slice))
242 for i, elem := range slice {
/build/make/tools/droiddoc/templates-pdk/assets/
Dandroid-developer-docs.js267 var pathPageName = fullPageName.slice(firstSlashPos, htmlPos + 5); // +5 advances past ".html"
277 link = $("#devdoc-nav a[href$='"+ pathPageName.slice(0, backstepDirectory +
Djquery-1.6.2.min.js16slice(0,b)),function(){c[this]=a});return c}function cq(){cn=b}function cp(){setTimeout(cq,0);retu… method
17slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTa… method in Array
Djquery-resizable.min.js12slice.call(this):this[E]},pushStack:function(F,H,E){var G=o(F);G.prevObject=this;G.context=this.co…
19slice.call(U);if(T){T.push.apply(T,U);return T}return U};try{Array.prototype.slice.call(document.d… method in Array
29 …(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);…
Dprettify.js20 …f(w&&w[2]===n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).join(P));i=…
/build/bazel/mkcompare/
DREADME.md145 Use JSON query tool like [`jq`](https://github.com/stedolan/jq) to slice and dice it.
/build/make/tools/signapk/src/com/android/signapk/
DSignApk.java1013 result.beforeCentralDir = apk.slice(0, centralDirStartOffset); in findMainZipSections()