Home
last modified time | relevance | path

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

/device/google/bonito/json-c/
Darraylist.c28 struct array_list *arr; in array_list_new() local
30 arr = (struct array_list*)calloc(1, sizeof(struct array_list)); in array_list_new()
31 if(!arr) return NULL; in array_list_new()
32 arr->size = ARRAY_LIST_DEFAULT_SIZE; in array_list_new()
33 arr->length = 0; in array_list_new()
34 arr->free_fn = free_fn; in array_list_new()
35 if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { in array_list_new()
36 free(arr); in array_list_new()
39 return arr; in array_list_new()
43 array_list_free(struct array_list *arr) in array_list_free() argument
[all …]
Darraylist.h50 array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
/device/google/coral/json-c/
Darraylist.c28 struct array_list *arr; in array_list_new() local
30 arr = (struct array_list*)calloc(1, sizeof(struct array_list)); in array_list_new()
31 if(!arr) return NULL; in array_list_new()
32 arr->size = ARRAY_LIST_DEFAULT_SIZE; in array_list_new()
33 arr->length = 0; in array_list_new()
34 arr->free_fn = free_fn; in array_list_new()
35 if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { in array_list_new()
36 free(arr); in array_list_new()
39 return arr; in array_list_new()
43 array_list_free(struct array_list *arr) in array_list_free() argument
[all …]
Darraylist.h50 array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
/device/google/crosshatch/json-c/
Darraylist.c28 struct array_list *arr; in array_list_new() local
30 arr = (struct array_list*)calloc(1, sizeof(struct array_list)); in array_list_new()
31 if(!arr) return NULL; in array_list_new()
32 arr->size = ARRAY_LIST_DEFAULT_SIZE; in array_list_new()
33 arr->length = 0; in array_list_new()
34 arr->free_fn = free_fn; in array_list_new()
35 if(!(arr->array = (void**)calloc(sizeof(void*), arr->size))) { in array_list_new()
36 free(arr); in array_list_new()
39 return arr; in array_list_new()
43 array_list_free(struct array_list *arr) in array_list_free() argument
[all …]
Darraylist.h50 array_list_sort(struct array_list *arr, int(*compar)(const void *, const void *));
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/assets/js/
Dlogcat.js98 let arr = new Uint8Array(arr1.length + arr2.length);
99 arr.set(arr1, 0);
100 arr.set(arr2, arr1.length);
101 return arr;
/device/generic/goldfish/MultiDisplayProvider/jni/
Dcom_android_emulator_multidisplay.cpp122 static bool nativeReadPipe(JNIEnv* env, jobject obj, jintArray arr) { in nativeReadPipe() argument
123 int* arrp = env->GetIntArrayElements(arr, 0); in nativeReadPipe()
135 env->ReleaseIntArrayElements(arr, arrp, JNI_COMMIT); in nativeReadPipe()
142 env->ReleaseIntArrayElements(arr, arrp, JNI_COMMIT); in nativeReadPipe()
/device/google/contexthub/util/nanotool/
Dcontexthub.h33 #define ARRAY_LEN(arr) (sizeof(arr) / sizeof(arr[0])) argument
/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp625 Json::Value arr(Json::ValueType::arrayValue); in set_webrtc_udp_port_range() local
626 arr[0] = range.first; in set_webrtc_udp_port_range()
627 arr[1] = range.second; in set_webrtc_udp_port_range()
628 (*dictionary_)[kWebrtcUdpPortRange] = arr; in set_webrtc_udp_port_range()
640 Json::Value arr(Json::ValueType::arrayValue); in set_webrtc_tcp_port_range() local
641 arr[0] = range.first; in set_webrtc_tcp_port_range()
642 arr[1] = range.second; in set_webrtc_tcp_port_range()
643 (*dictionary_)[kWebrtcTcpPortRange] = arr; in set_webrtc_tcp_port_range()
/device/generic/goldfish-opengl/system/vulkan_enc/
Dgoldfish_vk_private_defs.h628 bool arrayany(const T* arr, uint32_t begin, uint32_t end, const F& func) { in arrayany() argument
629 const T* e = arr + end; in arrayany()
630 return std::find_if(arr + begin, e, func) != e; in arrayany()
/device/generic/goldfish/MultiDisplayProvider/src/com/android/emulator/multidisplay/
DMultiDisplayService.java219 private native boolean nativeReadPipe(int[] arr); in nativeReadPipe() argument
/device/google/bonito/gpt-utils/
Dgpt-utils.cpp1300 static int gpt_set_pentry_arr(uint8_t *hdr, int fd, uint8_t* arr) in gpt_set_pentry_arr() argument
1307 if (!hdr || fd < 0 || !arr) { in gpt_set_pentry_arr()
1328 arr, in gpt_set_pentry_arr()
/device/google/coral/gpt-utils/
Dgpt-utils.cpp1300 static int gpt_set_pentry_arr(uint8_t *hdr, int fd, uint8_t* arr) in gpt_set_pentry_arr() argument
1307 if (!hdr || fd < 0 || !arr) { in gpt_set_pentry_arr()
1328 arr, in gpt_set_pentry_arr()
/device/google/crosshatch/gpt-utils/
Dgpt-utils.cpp1300 static int gpt_set_pentry_arr(uint8_t *hdr, int fd, uint8_t* arr) in gpt_set_pentry_arr() argument
1307 if (!hdr || fd < 0 || !arr) { in gpt_set_pentry_arr()
1328 arr, in gpt_set_pentry_arr()
/device/google/cuttlefish_kernel/5.4-x86_64/
DSystem.map80151 ffffffff82a1ecc0 d each_symbol_section.arr
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map158250 ffffffc0115c92c8 d each_symbol_section.arr