/system/core/libmemtrack/ |
memtrack.c | 37 size_t num_records; member in struct:memtrack_proc::memtrack_proc_type 86 size_t num_records = t->num_records; local 90 ret = module->getMemory(module, pid, type, t->records, &num_records); 92 t->num_records = 0; 95 if (num_records > t->allocated_records) { 98 t->records = calloc(sizeof(*t->records), num_records); 102 t->allocated_records = num_records; 105 t->num_records = num_records; [all...] |
/hardware/qcom/display/msm8084/libmemtrack/ |
memtrack_msm.c | 34 size_t *num_records) 39 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 57 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/qcom/display/msm8226/libmemtrack/ |
memtrack_msm.c | 34 size_t *num_records) 39 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 57 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/qcom/display/msm8909/libmemtrack/ |
memtrack_msm.c | 34 size_t *num_records) 39 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 55 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/qcom/display/msm8960/libmemtrack/ |
memtrack_msm.c | 32 size_t *num_records) 35 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 55 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/qcom/display/msm8994/libmemtrack/ |
memtrack_msm.c | 34 size_t *num_records) 39 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 57 *num_records = ARRAY_SIZE(record_templates);
|
/hardware/qcom/display/msm8996/libmemtrack/ |
memtrack_msm.c | 34 size_t *num_records) 39 return kgsl_memtrack_get_memory(pid, type, records, num_records);
|
memtrack_msm.h | 22 size_t *num_records);
|
kgsl.c | 45 size_t *num_records) 47 size_t allocated_records = min(*num_records, ARRAY_SIZE(record_templates)); 55 *num_records = ARRAY_SIZE(record_templates);
|
/system/bt/stack/btm/ |
btm_ble_batchscan.c | 176 ble_batchscan_cb.main_rep_q.num_records[ble_batchscan_cb.main_rep_q.next_idx] = 0; 196 void btm_ble_batchscan_enq_rep_data(UINT8 report_format, UINT8 num_records, UINT8 *p_data, 208 index, report_format, num_records, data_len); 210 if (index < BTM_BLE_BATCH_REP_MAIN_Q_SIZE && data_len > 0 && num_records > 0) 223 ble_batchscan_cb.main_rep_q.num_records[index] += num_records; 231 ble_batchscan_cb.main_rep_q.num_records[index] = num_records; 264 *p_num_records = ble_batchscan_cb.main_rep_q.num_records[index]; 273 ble_batchscan_cb.main_rep_q.num_records[index] = 0 364 UINT8 report_format = 0, num_records = 0, cb_evt = 0; local 848 UINT8 *p_data = NULL, num_records = 0; local [all...] |
/hardware/libhardware/include/hardware/ |
memtrack.h | 133 * that memory. It also updates *num_records with the total number of 134 * records it could return if *num_records was large enough when passed in. 140 * *num_records == 0 to determine how many records to allocate room for, 142 * not querying any kernel files. If *num_records passed in is 0, 155 size_t *num_records);
|
/system/bt/stack/sdp/ |
sdp_db.c | 63 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; 164 tSDP_RECORD *p_end = &sdp_cb.server_db.record[sdp_cb.server_db.num_records]; 287 if (p_db->num_records < SDP_MAX_RECORDS) 289 memset (&p_db->record[p_db->num_records], 0, 294 if (p_db->num_records) 295 handle = p_db->record[p_db->num_records - 1].record_handle + 1; 299 p_db->record[p_db->num_records].record_handle = handle; 301 p_db->num_records++; 302 SDP_TRACE_DEBUG("SDP_CreateRecord ok, num_records:%d", p_db->num_records); [all...] |
/external/freetype/src/truetype/ |
ttpload.c | 489 FT_UInt version, nn, num_records; local 507 num_records = FT_NEXT_USHORT( p ); 524 /* The limit for `num_records' is a heuristic value. */ 526 num_records > 255 || 534 if ( FT_NEW_ARRAY( face->hdmx_record_sizes, num_records ) ) 537 for ( nn = 0; nn < num_records; nn++ )
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/truetype/ |
ttpload.c | 503 FT_UInt version, nn, num_records; local 521 num_records = FT_NEXT_USHORT( p ); 538 /* The limit for `num_records' is a heuristic value. */ 540 num_records > 255 || 548 if ( FT_NEW_ARRAY( face->hdmx_record_sizes, num_records ) ) 551 for ( nn = 0; nn < num_records; nn++ )
|
/external/pdfium/third_party/freetype/src/truetype/ |
ttpload.c | 497 FT_UInt version, nn, num_records; local 515 num_records = FT_NEXT_USHORT( p ); 532 /* The limit for `num_records' is a heuristic value. */ 534 num_records > 255 || 542 if ( FT_NEW_ARRAY( face->hdmx_record_sizes, num_records ) ) 545 for ( nn = 0; nn < num_records; nn++ )
|