Home
last modified time | relevance | path

Searched refs:nh (Results 1 – 13 of 13) sorted by relevance

/device/google/cuttlefish_common/common/libs/net/
Dnetlink_client.cpp58 struct nlmsghdr *nh; in CheckResponse() local
69 for (nh = reinterpret_cast<nlmsghdr*>(buf); in CheckResponse()
70 NLMSG_OK(nh, len); in CheckResponse()
71 nh = NLMSG_NEXT(nh, len)) { in CheckResponse()
72 if (nh->nlmsg_seq != seq_no) { in CheckResponse()
77 << nh->nlmsg_seq << " != " << seq_no; in CheckResponse()
84 if (nh->nlmsg_type == NLMSG_DONE) in CheckResponse()
90 if (nh->nlmsg_type == NLMSG_ERROR) { in CheckResponse()
91 nlmsgerr* err = reinterpret_cast<nlmsgerr*>(nh + 1); in CheckResponse()
/device/linaro/bootloader/edk2/EmbeddedPkg/Library/FdtLib/
Dfdt_sw.c140 struct fdt_node_header *nh; in fdt_begin_node() local
145 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
146 if (! nh) in fdt_begin_node()
149 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
150 memcpy(nh->name, name, namelen); in fdt_begin_node()
Dfdt_rw.c340 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local
362 nh = _fdt_offset_ptr_w(fdt, offset); in fdt_add_subnode_namelen()
363 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
365 err = _fdt_splice_struct(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen()
369 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
370 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
371 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
372 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
Dfdt_ro.c203 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() local
211 *len = strlen(nh->name); in fdt_get_name()
213 return nh->name; in fdt_get_name()
/device/linaro/bootloader/arm-trusted-firmware/lib/libfdt/
Dfdt_sw.c172 struct fdt_node_header *nh; in fdt_begin_node() local
177 nh = _fdt_grab_space(fdt, sizeof(*nh) + FDT_TAGALIGN(namelen)); in fdt_begin_node()
178 if (! nh) in fdt_begin_node()
181 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_begin_node()
182 memcpy(nh->name, name, namelen); in fdt_begin_node()
Dfdt_rw.c335 struct fdt_node_header *nh; in fdt_add_subnode_namelen() local
357 nh = _fdt_offset_ptr_w(fdt, offset); in fdt_add_subnode_namelen()
358 nodelen = sizeof(*nh) + FDT_TAGALIGN(namelen+1) + FDT_TAGSIZE; in fdt_add_subnode_namelen()
360 err = _fdt_splice_struct(fdt, nh, 0, nodelen); in fdt_add_subnode_namelen()
364 nh->tag = cpu_to_fdt32(FDT_BEGIN_NODE); in fdt_add_subnode_namelen()
365 memset(nh->name, 0, FDT_TAGALIGN(namelen+1)); in fdt_add_subnode_namelen()
366 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
367 endtag = (fdt32_t *)((char *)nh + nodelen - FDT_TAGSIZE); in fdt_add_subnode_namelen()
Dfdt_ro.c235 const struct fdt_node_header *nh = _fdt_offset_ptr(fdt, nodeoffset); in fdt_get_name() local
243 *len = strlen(nh->name); in fdt_get_name()
245 return nh->name; in fdt_get_name()
/device/google/marlin/camera/QCamera2/HAL/
DQCameraMem.cpp1344 native_handle_t *nh = mNativeHandle[i]; in allocate() local
1345 if (!nh) { in allocate()
1350 nh->data[0] = mMemInfo[i].fd; in allocate()
1351 nh->data[1] = 0; in allocate()
1352 nh->data[2] = (int)mMemInfo[i].size; in allocate()
1353 nh->data[3] = mUsage; in allocate()
1354 nh->data[4] = 0; //dummy value for timestamp in non-batch mode in allocate()
1355 nh->data[5] = mFormat; in allocate()
1412 native_handle_t *nh = mNativeHandle[i]; in allocateMore() local
1413 if (!nh) { in allocateMore()
[all …]
DQCamera2HWICallbacks.cpp1443 native_handle_t *nh = NULL; in video_stream_cb_routine() local
1460 nh = videoMemObj->updateNativeHandle(stream->mCurMetaIndex); in video_stream_cb_routine()
1461 if (video_mem == NULL || nh == NULL) { in video_stream_cb_routine()
1490 nh->data[index] = videoMemObj->getFd(frame->buf_idx); in video_stream_cb_routine()
1491 nh->data[index + fd_cnt] = 0; in video_stream_cb_routine()
1492 nh->data[index + (fd_cnt * 2)] = (int)videoMemObj->getSize(frame->buf_idx); in video_stream_cb_routine()
1493 nh->data[index + (fd_cnt * 3)] = videoMemObj->getUsage(); in video_stream_cb_routine()
1494 nh->data[index + (fd_cnt * 4)] = (int)(frame_ts - stream->mFirstTimeStamp); in video_stream_cb_routine()
1495 nh->data[index + (fd_cnt * 5)] = videoMemObj->getFormat(); in video_stream_cb_routine()
1510 native_handle_t *nh = NULL; in video_stream_cb_routine() local
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Lua/src/
Dlparser.c646 int nh; /* total number of `record' elements */ member
659 checklimit(fs, cc->nh, MAX_INT, "items in a constructor"); in recfield()
664 cc->nh++; in recfield()
737 cc.na = cc.nh = cc.tostore = 0; in constructor()
752 SETARG_C(fs->f->code[pc], luaO_int2fb(cc.nh)); /* set initial table size */ in constructor()
/device/google/crosshatch/acdbdata/OEM/sdm845-tavil-c1-snd-card/
DworkspaceFile.qwsp1 …Jx/Y1OTLofx+z66lVzr/V2jrrc9nc/NZQXiBLggv1FH4GE7To/ACfRQ+H1rfbRiezwjDC+8qDM+nh+GFisPwLxJz5+li7kIdc6…
/device/google/crosshatch/acdbdata/OEM/sdm845-tavil-b1-snd-card/
DworkspaceFile.qwsp1 …ccDWqQHkG6ocBKUjXNlYb2vFp2v0roUJMnSr1ZryYCoK13nRV3y7HzRi0x/+c3uwefSe3VMfWP/nh/BHIgb0R/BMMYfU+z7nFd…
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/HiKey/Binary/
Dmcuimage.bin550 L����04��G�B����O�� aF A�2cF���������,�O��0�������\k�p�Ch��Z?�� ��$!FA�2#F ������nh 5…