Searched refs:fobj (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/file/python/ |
H A D | tests.py | 25 with open(self.filename, "rb") as fobj: 26 result = magic.detect_from_fobj(fobj) 30 with open(self.filename, "rb") as fobj: 31 result = magic.detect_from_content(fobj.read(8192))
|
H A D | magic.py | 341 def detect_from_fobj(fobj): argument 347 file_descriptor = fobj.fileno()
|
/freebsd/lib/libc/db/mpool/ |
H A D | mpool.libtp | 247 OBJ_T fobj; 265 fobj.file_id = fid; 266 fobj.obj_id = *new_pageno; 267 bhp = bf_assign_buf ( ndx, &fobj, BF_PIN|BF_DIRTY|BF_EMPTY, &len ); 306 OBJ_T fobj; 309 fobj.file_id = (long) file_id; 310 fobj.obj_id = (long) page_id; 322 !OBJ_EQ (bhp->id, fobj) || !(bhp->flags & BUF_VALID); 357 (!OBJ_EQ (bhp->id, fobj) || !(bhp->flags & BUF_VALID))) { 368 bhp = bf_assign_buf ( ndx, &fobj, flags, len );
|