/device/google/dragon/audio/hal/ |
D | dictionary.c | 119 dictionary * d ; in dictionary_new() local 124 if (!(d = (dictionary *)calloc(1, sizeof(dictionary)))) { in dictionary_new() 127 d->size = size ; in dictionary_new() 128 d->val = (char **)calloc(size, sizeof(char*)); in dictionary_new() 129 d->key = (char **)calloc(size, sizeof(char*)); in dictionary_new() 130 d->hash = (unsigned int *)calloc(size, sizeof(unsigned)); in dictionary_new() 131 return d ; in dictionary_new() 143 void dictionary_del(dictionary * d) in dictionary_del() argument 147 if (d==NULL) return ; in dictionary_del() 148 for (i=0 ; i<d->size ; i++) { in dictionary_del() [all …]
|
D | iniparser.c | 112 int iniparser_getnsec(dictionary * d) in iniparser_getnsec() argument 117 if (d==NULL) return -1 ; in iniparser_getnsec() 119 for (i=0 ; i<d->size ; i++) { in iniparser_getnsec() 120 if (d->key[i]==NULL) in iniparser_getnsec() 122 if (strchr(d->key[i], ':')==NULL) { in iniparser_getnsec() 143 char * iniparser_getsecname(dictionary * d, int n) in iniparser_getsecname() argument 148 if (d==NULL || n<0) return NULL ; in iniparser_getsecname() 150 for (i=0 ; i<d->size ; i++) { in iniparser_getsecname() 151 if (d->key[i]==NULL) in iniparser_getsecname() 153 if (strchr(d->key[i], ':')==NULL) { in iniparser_getsecname() [all …]
|
D | iniparser.h | 49 int iniparser_getnsec(dictionary * d); 67 char * iniparser_getsecname(dictionary * d, int n); 82 void iniparser_dump_ini(dictionary * d, FILE * f); 97 void iniparser_dumpsection_ini(dictionary * d, char * s, FILE * f); 112 void iniparser_dump(dictionary * d, FILE * f); 122 int iniparser_getsecnkeys(dictionary * d, char * s); 138 char ** iniparser_getseckeys(dictionary * d, char * s); 155 char * iniparser_getstring(dictionary * d, const char * key, char * def); 184 int iniparser_getint(dictionary * d, const char * key, int notfound); 199 double iniparser_getdouble(dictionary * d, const char * key, double notfound); [all …]
|
D | dictionary.h | 106 char * dictionary_get(dictionary * d, const char * key, char * def); 148 void dictionary_unset(dictionary * d, const char * key); 163 void dictionary_dump(dictionary * d, FILE * out);
|
/device/generic/goldfish/camera/ |
D | EmulatedCamera2.cpp | 217 EmulatedCamera2* getInstance(const camera2_device_t *d) { in getInstance() argument 218 const EmulatedCamera2* cec = static_cast<const EmulatedCamera2*>(d); in getInstance() 222 int EmulatedCamera2::set_request_queue_src_ops(const camera2_device_t *d, in set_request_queue_src_ops() argument 224 EmulatedCamera2* ec = getInstance(d); in set_request_queue_src_ops() 229 int EmulatedCamera2::notify_request_queue_not_empty(const camera2_device_t *d) { in notify_request_queue_not_empty() argument 230 EmulatedCamera2* ec = getInstance(d); in notify_request_queue_not_empty() 234 int EmulatedCamera2::set_frame_queue_dst_ops(const camera2_device_t *d, in set_frame_queue_dst_ops() argument 236 EmulatedCamera2* ec = getInstance(d); in set_frame_queue_dst_ops() 241 int EmulatedCamera2::get_in_progress_count(const camera2_device_t *d) { in get_in_progress_count() argument 242 EmulatedCamera2* ec = getInstance(d); in get_in_progress_count() [all …]
|
D | EmulatedCamera3.cpp | 188 EmulatedCamera3* getInstance(const camera3_device_t *d) { in getInstance() argument 189 const EmulatedCamera3* cec = static_cast<const EmulatedCamera3*>(d); in getInstance() 193 int EmulatedCamera3::initialize(const struct camera3_device *d, in initialize() argument 195 EmulatedCamera3* ec = getInstance(d); in initialize() 199 int EmulatedCamera3::configure_streams(const struct camera3_device *d, in configure_streams() argument 201 EmulatedCamera3* ec = getInstance(d); in configure_streams() 206 const struct camera3_device *d, in register_stream_buffers() argument 208 EmulatedCamera3* ec = getInstance(d); in register_stream_buffers() 213 const struct camera3_device *d, in process_capture_request() argument 215 EmulatedCamera3* ec = getInstance(d); in process_capture_request() [all …]
|
/device/google/contexthub/lib/libm/ |
D | fdlibm.h | 282 #define EXTRACT_WORDS(ix0,ix1,d) \ argument 285 ew_u.value = (d); \ 292 #define GET_HIGH_WORD(i,d) \ argument 295 gh_u.value = (d); \ 301 #define GET_LOW_WORD(i,d) \ argument 304 gl_u.value = (d); \ 310 #define INSERT_WORDS(d,ix0,ix1) \ argument 315 (d) = iw_u.value; \ 320 #define SET_HIGH_WORD(d,v) \ argument 323 sh_u.value = (d); \ [all …]
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | math_private.h | 93 #define EXTRACT_WORDS(ix0,ix1,d) \ argument 96 ew_u.value = (d); \ 102 #define EXTRACT_WORD64(ix,d) \ argument 105 ew_u.value = (d); \ 111 #define GET_HIGH_WORD(i,d) \ argument 114 gh_u.value = (d); \ 120 #define GET_LOW_WORD(i,d) \ argument 123 gl_u.value = (d); \ 129 #define INSERT_WORDS(d,ix0,ix1) \ argument 134 (d) = iw_u.value; \ [all …]
|
/device/google/contexthub/util/nanoapp_sign/ |
D | test_exponent | 3 91:b7:f7:c5:85:62:42:fd:f4:fa:68:5d:e4:6a:e6: 5 f8:a8:76:fe:6d:49:72:0b:5a:c3:b0:89:18:b4:a1: 6 cc:98:ce:19:d2:a8:e1:bd:be:ce:78:b8:1d:d0:84: 10 2e:64:f2:84:8f:0f:7d:f7:0a:ee:19:f4:6a:ec:5b: 11 7d:f1:83:42:82:7d:83:24:5b:9d:36:81:c4:dd:04: 13 eb:d5:6e:8f:5e:99:0c:2e:86:eb:dc:10:f5:9d:f9: 17 4e:c5:2a:5d:5b:81:39:f5:e6:c5:01:8c:f1:0d:34:
|
D | test_modulus | 1 00:de:e5:43:7c:42:2d:f7:af:d3:24:a5:df:13:37: 2 b0:05:9f:88:e1:0b:c9:2b:83:74:6d:1d:e0:04:e4: 4 48:88:e6:d8:5e:4d:3c:b6:5b:09:1a:c5:9a:fc:d8: 13 2c:3e:5d:a4:a8:61:de:32:42:b8:ea:3f:f8:fb:ba: 15 70:0e:08:11:01:5b:83:6e:5a:e9:3b:e5:27:17:3d: 17 55:0d:72:f2:a9:2a:b3:a9:75:35:0a:50:d0:54:2b:
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | Utilities.java | 6 static void centerAround(int x, int y, Drawable d) { in centerAround() argument 7 int w = d.getIntrinsicWidth(); in centerAround() 8 int h = d.getIntrinsicHeight(); in centerAround() 13 d.setBounds(left, top, right, bottom); in centerAround()
|
D | DemoKitActivity.java | 133 Log.d(TAG, "permission denied for accessory " 202 Log.d(TAG, "mAccessory is null"); in onResume() 227 Log.d(TAG, "accessory opened"); in openAccessory() 230 Log.d(TAG, "accessory open fail"); in openAccessory() 315 Log.d(TAG, "unknown msg: " + buffer[i]); in run()
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Preview.cpp | 335 mHalCamCtrl->mMetadata.number_of_faces = roi.d.hdr.num_face_detected; in notifyROIEvent() 353 int idx = roi.d.data.idx; in notifyROIEvent() 361 mHalCamCtrl->mFace[idx].id = roi.d.data.face.id; in notifyROIEvent() 362 mHalCamCtrl->mFace[idx].score = roi.d.data.face.score; in notifyROIEvent() 366 roi.d.data.face.face_boundary.x*2000/mHalCamCtrl->mDimension.display_width - 1000; in notifyROIEvent() 369 roi.d.data.face.face_boundary.y*2000/mHalCamCtrl->mDimension.display_height - 1000; in notifyROIEvent() 372 roi.d.data.face.face_boundary.dx*2000/mHalCamCtrl->mDimension.display_width; in notifyROIEvent() 375 roi.d.data.face.face_boundary.dy*2000/mHalCamCtrl->mDimension.display_height; in notifyROIEvent() 379 roi.d.data.face.left_eye_center[0]*2000/mHalCamCtrl->mDimension.display_width - 1000; in notifyROIEvent() 381 roi.d.data.face.left_eye_center[1]*2000/mHalCamCtrl->mDimension.display_height - 1000; in notifyROIEvent() [all …]
|
/device/google/contexthub/lib/nanohub/ |
D | sha2.c | 68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local 85 d = state->h[3]; in sha2processBlock() 103 e = d + temp1; in sha2processBlock() 104 d = c; in sha2processBlock() 114 state->h[3] += d; in sha2processBlock()
|
/device/htc/flounder/ |
D | init.flounder_svelte.rc | 17 write /d/clock/cap.gbus/state 1 18 write /d/clock/cap.gbus/max 648000000
|
/device/lge/bullhead/ |
D | releasetools.py | 102 _, _, d = diff.GetPatch() 103 if d is None or len(d) > tf.size * common.OPTIONS.patch_threshold: 108 common.ZipWriteStr(info.output_zip, "radio.img.p", d)
|
/device/google/dragon/sensor_hub/ |
D | cros_ec_sensors.cpp | 348 float d; in processEvent() local 354 d = event->vector[i]; in processEvent() 358 d = (uint16_t)event->vector[i]; in processEvent() 364 d * mSensorInfo[event->sensor_id].sensor_data.resolution; in processEvent()
|
/device/google/contexthub/firmware/src/algos/ |
D | fusion.c | 132 static int fusion_init_complete(struct Fusion *fusion, int what, const struct Vec3 *d, float dT) { in fusion_init_complete() argument 143 struct Vec3 unityD = *d; in fusion_init_complete() 157 struct Vec3 unityD = *d; in fusion_init_complete() 171 struct Vec3 scaledD = *d; in fusion_init_complete() 551 float d = fabsf(l - NOMINAL_GRAVITY); in fusionHandleAcc() local 556 if (ACC_TRUSTWORTHY(d)) { in fusionHandleAcc() 565 p = fusion->param.acc_stdev * expf(3 * d - fc); in fusionHandleAcc() 571 p = fusion->param.acc_stdev * expf(sqrtf(d)); in fusionHandleAcc()
|
/device/generic/mini-emulator-mips/ |
D | system.prop | 6 rild.libargs=-d /dev/ttyS0
|
/device/google/dragon/audio/hal/dsp/ |
D | biquad.c | 53 double d = sqrt((4 - sqrt(16 - 16 / (g * g))) / 2); in biquad_lowpass() local 56 double sn = 0.5 * d * sin(theta); in biquad_lowpass() 88 double d = sqrt((4 - sqrt(16 - 16 / (g * g))) / 2); in biquad_highpass() local 91 double sn = 0.5 * d * sin(theta); in biquad_highpass()
|
/device/google/contexthub/ |
D | .gitignore | 6 *.d
|
/device/linaro/hikey/ |
D | system.prop | 4 # rild.libargs=-d /dev/ttyS0
|
/device/generic/goldfish/sensors/ |
D | sensors_qemu.c | 212 static int sensor_device_pick_pending_event_locked(SensorDevice* d, in sensor_device_pick_pending_event_locked() argument 215 uint32_t mask = SUPPORTED_SENSORS & d->pendingSensors; in sensor_device_pick_pending_event_locked() 218 d->pendingSensors &= ~(1U << i); in sensor_device_pick_pending_event_locked() 219 *event = d->sensors[i]; in sensor_device_pick_pending_event_locked() 230 E("No sensor to return!!! pendingSensors=0x%08x", d->pendingSensors); in sensor_device_pick_pending_event_locked()
|
/device/sample/frameworks/PlatformLibrary/java/com/example/android/platform_library/ |
D | PlatformLibrary.java | 52 Log.d("PlatformLibrary", "yodel: " + msg); in yodel()
|
/device/generic/goldfish/qemud/ |
D | qemud.c | 166 unsigned d; in hex2int() local 170 d = (unsigned)(c - '0'); in hex2int() 171 if (d < 10) in hex2int() 174 d = (unsigned)(c - 'a'); in hex2int() 175 if (d < 6) { in hex2int() 176 d += 10; in hex2int() 180 d = (unsigned)(c - 'A'); in hex2int() 181 if (d < 6) { in hex2int() 182 d += 10; in hex2int() 190 result |= d; in hex2int()
|