Home
last modified time | relevance | path

Searched refs:fid (Results 1 – 25 of 125) sorted by relevance

12345

/third_party/flutter/skia/tools/
DSkSharingProc.cpp24 uint32_t fid = context->fImageMap[id]; in serializeImage() local
26 return SkData::MakeWithCopy(&fid, sizeof(fid)); in serializeImage()
32 uint32_t fid; in deserializeImage() local
34 if (length == sizeof(fid)) { in deserializeImage()
35 memcpy(&fid, data, sizeof(fid)); in deserializeImage()
36 if (fid >= context->fImages.size()) { in deserializeImage()
37 SkDebugf("We do not have the data for image %d.\n", fid); in deserializeImage()
40 return context->fImages[fid]; in deserializeImage()
/third_party/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify22.c95 struct fanotify_fid_t *fid; member
103 .fid = &null_fid,
110 .fid = &bad_file_fid,
117 .fid = &null_fid,
124 .fid = &bad_file_fid,
128 int check_error_event_info_fid(struct fanotify_event_info_fid *fid, in check_error_event_info_fid() argument
131 struct file_handle *fh = (struct file_handle *) &fid->handle; in check_error_event_info_fid()
133 if (memcmp(&fid->fsid, &ex->fid->fsid, sizeof(fid->fsid))) { in check_error_event_info_fid()
135 ex->name, FSID_VAL_MEMBER(fid->fsid, 0), in check_error_event_info_fid()
136 ex->fid->fsid.val[0]); in check_error_event_info_fid()
[all …]
Dfanotify15.c51 struct fanotify_fid_t *fid; member
98 event_set[count].fid = &root_fid; in do_test()
124 event_set[count].fid = &file_fid; in do_test()
134 event_set[count].fid = &file_fid; in do_test()
150 event_set[count].fid = &root_fid; in do_test()
172 event_set[count].fid = &dir_fid; in do_test()
222 expected->fid->handle.handle_bytes) { in do_test()
228 expected->fid->handle.handle_bytes); in do_test()
230 expected->fid->handle.handle_type) { in do_test()
236 expected->fid->handle.handle_type); in do_test()
[all …]
Dfanotify16.c48 struct fanotify_fid_t *fid; member
190 event_set[tst_count].fid = &root_fid; in do_test()
216 event_set[tst_count].fid = &dir_fid; in do_test()
229 event_set[tst_count].fid = &dir_fid; in do_test()
236 event_set[tst_count].fid = &dir_fid; in do_test()
246 event_set[tst_count].fid = &dir_fid; in do_test()
258 event_set[tst_count].fid = &file_fid; in do_test()
270 event_set[tst_count].fid = &dir_fid; in do_test()
286 event_set[tst_count].fid = &dir_fid; in do_test()
295 event_set[tst_count].fid = &dir_fid; in do_test()
[all …]
Dfanotify.h269 struct fanotify_fid_t *fid) in fanotify_save_fid() argument
271 int *fh = (int *)(fid->handle.f_handle); in fanotify_save_fid()
274 fid->handle.handle_bytes = MAX_HANDLE_SZ; in fanotify_save_fid()
275 fanotify_get_fid(path, &fid->fsid, &fid->handle); in fanotify_save_fid()
278 "fid(%s) = %x.%x.%x.%x.%x...", path, fid->fsid.val[0], in fanotify_save_fid()
279 fid->fsid.val[1], fh[0], fh[1], fh[2]); in fanotify_save_fid()
Dfanotify13.c54 struct fanotify_fid_t fid; member
113 fanotify_save_fid(objects[i].path, &objects[i].fid); in get_object_stats()
183 struct fanotify_fid_t *expected_fid = &objects[i].fid; in do_test()
/third_party/python/Lib/idlelib/
Ddebugger_r.py41 fid = id(frame)
42 frametable[fid] = frame
43 return fid
86 def set_next(self, fid): argument
87 frame = frametable[fid]
90 def set_return(self, fid): argument
91 frame = frametable[fid]
94 def get_stack(self, fid, tbid): argument
95 frame = frametable[fid]
122 def frame_attr(self, fid, name): argument
[all …]
/third_party/skia/tools/
DSkSharingProc.cpp51 uint32_t fid = context->fImageMap[id]; in serializeImage() local
53 return SkData::MakeWithCopy(&fid, sizeof(fid)); in serializeImage()
67 uint32_t fid; in deserializeImage() local
69 if (length == sizeof(fid)) { in deserializeImage()
70 memcpy(&fid, data, sizeof(fid)); in deserializeImage()
71 if (fid >= context->fImages.size()) { in deserializeImage()
72 SkDebugf("Cannot deserialize using id, We do not have the data for image %d.\n", fid); in deserializeImage()
75 return context->fImages[fid]; in deserializeImage()
/third_party/curl/tests/
Dsmbserver.py178 fid, full_path = self.get_server_path(requested_file)
181 fid, full_path = self.get_test_path(requested_file)
224 conn_data["OpenedFiles"][fakefid]["FileHandle"] = fid
267 fid, filename = tempfile.mkstemp()
269 filename, fid, requested_filename)
281 self.write_to_fid(fid, contents)
282 return fid, filename
284 def write_to_fid(self, fid, contents): argument
286 os.write(fid, contents)
287 os.fsync(fid)
[all …]
/third_party/node/deps/npm/scripts/
Dclean-old.sh61 fid=0
71 filelist[$fid]="$file"
81 filelist[$fid]="$1"
94 filelist[$fid]="$file"
102 filelist[$fid]="$prefix/lib/node/$pkg"
105 filelist[$fid]="$i"
113 filelist[$fid]="$prefix/$folder"
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c179 jfieldID fid; in Java_com_softmotions_ejdb2_EJDB2__1open() local
189 JBNFIELD(fid, env, optsClazz, "no_wal", "Z"); in Java_com_softmotions_ejdb2_EJDB2__1open()
190 opts.no_wal = e->GetBooleanField(env, optsObj, fid); in Java_com_softmotions_ejdb2_EJDB2__1open()
192 JBNFIELD(fid, env, optsClazz, "sort_buffer_sz", "I"); in Java_com_softmotions_ejdb2_EJDB2__1open()
193 opts.sort_buffer_sz = (uint32_t) e->GetIntField(env, optsObj, fid); in Java_com_softmotions_ejdb2_EJDB2__1open()
195 JBNFIELD(fid, env, optsClazz, "document_buffer_sz", "I"); in Java_com_softmotions_ejdb2_EJDB2__1open()
196 opts.document_buffer_sz = (uint32_t) e->GetIntField(env, optsObj, fid); in Java_com_softmotions_ejdb2_EJDB2__1open()
199 JBNFIELD(fid, env, optsClazz, "iwkv", "Lcom/softmotions/ejdb2/IWKVOptions;"); in Java_com_softmotions_ejdb2_EJDB2__1open()
200 iwkv = e->GetObjectField(env, optsObj, fid); in Java_com_softmotions_ejdb2_EJDB2__1open()
207 JBNFIELD(fid, env, iwkvClazz, "random_seed", "J"); in Java_com_softmotions_ejdb2_EJDB2__1open()
[all …]
/third_party/mindspore/mindspore/core/utils/
Dcrypto.cc49 std::ifstream fid(file_path, std::ios::in | std::ios::binary); in IsCipherFile() local
50 if (!fid) { in IsCipherFile()
55 fid.read(int_buf.data(), static_cast<int64_t>(sizeof(int32_t))); in IsCipherFile()
56 fid.close(); in IsCipherFile()
353 std::ifstream fid(encrypt_data_path, std::ios::in | std::ios::binary); in Decrypt() local
354 if (!fid) { in Decrypt()
358 fid.seekg(0, std::ios_base::end); in Decrypt()
359 size_t file_size = static_cast<size_t>(fid.tellg()); in Decrypt()
360 fid.clear(); in Decrypt()
361 fid.seekg(0); in Decrypt()
[all …]
/third_party/curl/lib/
Dsmb.h186 unsigned short fid; member
201 unsigned short fid; member
215 unsigned short fid; member
230 unsigned short fid; member
Dsmb.c186 unsigned short fid; /* request, the tid will be different */ member
559 msg.fid = smb_swap16(req->fid); in smb_send_close()
582 msg.fid = smb_swap16(req->fid); in smb_send_read()
608 msg->fid = smb_swap16(req->fid); in smb_send_write()
814 req->fid = smb_swap16(smb_m->fid); in smb_request_state()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c198 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJCompressor_init() local
205 bailif0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
206 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
576 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init() local
583 bailif0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
584 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
595 jfieldID fid = 0; in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors() local
610 bailif0(fid = (*env)->GetFieldID(env, sfcls, "num", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
611 (*env)->SetIntField(env, sfobj, fid, sf[i].num); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
612 bailif0(fid = (*env)->GetFieldID(env, sfcls, "denom", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
[all …]
/third_party/skia/third_party/externals/libjpeg-turbo/
Dturbojpeg-jni.c203 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJCompressor_init() local
210 BAILIF0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
211 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
598 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init() local
605 BAILIF0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
606 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
617 jfieldID fid = 0; in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors() local
632 BAILIF0(fid = (*env)->GetFieldID(env, sfcls, "num", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
633 (*env)->SetIntField(env, sfobj, fid, sf[i].num); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
634 BAILIF0(fid = (*env)->GetFieldID(env, sfcls, "denom", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
[all …]
/third_party/libjpeg-turbo/
Dturbojpeg-jni.c203 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJCompressor_init() local
210 BAILIF0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
211 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJCompressor_init()
607 jfieldID fid; in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init() local
614 BAILIF0(fid = (*env)->GetFieldID(env, cls, "handle", "J")); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
615 (*env)->SetLongField(env, obj, fid, (size_t)handle); in Java_org_libjpegturbo_turbojpeg_TJDecompressor_init()
626 jfieldID fid = 0; in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors() local
641 BAILIF0(fid = (*env)->GetFieldID(env, sfcls, "num", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
642 (*env)->SetIntField(env, sfobj, fid, sf[i].num); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
643 BAILIF0(fid = (*env)->GetFieldID(env, sfcls, "denom", "I")); in Java_org_libjpegturbo_turbojpeg_TJ_getScalingFactors()
[all …]
/third_party/ffmpeg/libavfilter/
Dvf_decimate.c41 int fid; ///< current frame id in the queue member
159 dm->queue[dm->fid].frame = in; in filter_frame()
162 dm->clean_src[dm->fid] = in; in filter_frame()
170 in = dm->queue[dm->fid].frame; in filter_frame()
174 prv = dm->fid ? dm->queue[dm->fid - 1].frame : dm->last; in filter_frame()
176 dm->queue[dm->fid].maxbdiff = INT64_MAX; in filter_frame()
177 dm->queue[dm->fid].totdiff = INT64_MAX; in filter_frame()
179 calc_diffs(dm, &dm->queue[dm->fid], prv, in); in filter_frame()
181 if (++dm->fid != dm->cycle) in filter_frame()
185 dm->fid = 0; in filter_frame()
/third_party/vk-gl-cts/framework/platform/android/
DtcuAndroidJNI.cpp45 jfieldID fid = env->GetFieldID(cls, "m_server", "J"); in getExecServiceField() local
46 TCU_CHECK_INTERNAL(fid); in getExecServiceField()
48 return fid; in getExecServiceField()
/third_party/flutter/skia/third_party/externals/harfbuzz/src/
Dhb-ot-cff-common.hh487 unsigned int fid = 0; in serialize() local
488 for (; fid < fontDicts.length; fid++) in serialize()
490 CFFIndexOf<COUNT, FontDict>::set_offset_at (fid, offset); in serialize()
491 offset += FontDict::calculate_serialized_size (fontDicts[fid], opszr); in serialize()
493 CFFIndexOf<COUNT, FontDict>::set_offset_at (fid, offset); in serialize()
524 unsigned int fid = 0; in serialize() local
528 if (unlikely (fid >= fdCount)) return_trace (false); in serialize()
529 CFFIndexOf<COUNT, FontDict>::set_offset_at (fid++, offset); in serialize()
532 CFFIndexOf<COUNT, FontDict>::set_offset_at (fid, offset); in serialize()
/third_party/glib/glib/
Dgiounix.c450 int fid, flags; in g_io_channel_new_file() local
528 fid = g_open (filename, flags, create_mode); in g_io_channel_new_file()
529 if (fid == -1) in g_io_channel_new_file()
538 if (fstat (fid, &buffer) == -1) /* In case someone opens a FIFO */ in g_io_channel_new_file()
541 close (fid); in g_io_channel_new_file()
579 ((GIOUnixChannel *) channel)->fd = fid; in g_io_channel_new_file()
/third_party/flatbuffers/go/
Dbuilder.go569 func (b *Builder) FinishWithFileIdentifier(rootTable UOffsetT, fid []byte) {
570 if fid == nil || len(fid) != fileIdentifierLength {
578 b.PlaceByte(fid[i])
594 func (b *Builder) FinishSizePrefixedWithFileIdentifier(rootTable UOffsetT, fid []byte) {
595 if fid == nil || len(fid) != fileIdentifierLength {
603 b.PlaceByte(fid[i])
/third_party/flutter/engine/flutter/shell/platform/android/
Dvsync_waiter_android.cc50 jfieldID fid = env->GetStaticFieldID(clazz, "refreshRateFPS", "F"); in GetDisplayRefreshRate() local
51 return env->GetStaticFloatField(clazz, fid); in GetDisplayRefreshRate()
Dace_vsync_waiter_android.cc57 jfieldID fid = env->GetStaticFieldID(clazz, "refreshRateFPS", "F"); in GetDisplayRefreshRate() local
58 return env->GetStaticFloatField(clazz, fid); in GetDisplayRefreshRate()
/third_party/flutter/skia/third_party/externals/sdl/src/video/android/
DSDL_androidtouch.c61 jfieldID fid = (*env)->GetStaticFieldID(env, mActivityClass, "mSeparateMouseAndTouch", "Z"); in SeparateEventsHintWatcher() local
64 …(*env)->SetStaticBooleanField(env, mActivityClass, fid, separate_mouse_and_touch ? JNI_TRUE : JNI_… in SeparateEventsHintWatcher()

12345