/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/os/ |
H A D | os_cpu.c | 32 struct pst_dynamic psd; local 34 return ((u_int32_t)pstat_getdynamic(&psd, 35 sizeof(psd), (size_t)1, 0) == -1 ? 1 : psd.psd_proc_cnt);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/db-4.8.30/os/ |
H A D | os_cpu.c | 32 struct pst_dynamic psd; local 34 return ((u_int32_t)pstat_getdynamic(&psd, 35 sizeof(psd), (size_t)1, 0) == -1 ? 1 : psd.psd_proc_cnt);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/db-4.8.30/os/ |
H A D | os_cpu.c | 32 struct pst_dynamic psd; local 34 return ((u_int32_t)pstat_getdynamic(&psd, 35 sizeof(psd), (size_t)1, 0) == -1 ? 1 : psd.psd_proc_cnt);
|
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/rpc_parse/ |
H A D | parse_sec.c | 196 SEC_DESC *psd; local 201 psd = *ppsd; 203 if (psd == NULL) { 205 if((psd = PRS_ALLOC_MEM(ps,SEC_DESC,1)) == NULL) 207 *ppsd = psd; 220 if(!prs_uint16("revision ", ps, depth, &psd->revision)) 223 if(!prs_uint16("type ", ps, depth, &psd->type)) 233 if (psd->sacl != NULL) { 234 psd->off_sacl = offset; 235 offset += psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/rpc_parse/ |
H A D | parse_sec.c | 196 SEC_DESC *psd; local 201 psd = *ppsd; 203 if (psd == NULL) { 205 if((psd = PRS_ALLOC_MEM(ps,SEC_DESC,1)) == NULL) 207 *ppsd = psd; 220 if(!prs_uint16("revision ", ps, depth, &psd->revision)) 223 if(!prs_uint16("type ", ps, depth, &psd->type)) 233 if (psd->sacl != NULL) { 234 psd->off_sacl = offset; 235 offset += psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/rpc_parse/ |
H A D | parse_sec.c | 196 SEC_DESC *psd; local 201 psd = *ppsd; 203 if (psd == NULL) { 205 if((psd = PRS_ALLOC_MEM(ps,SEC_DESC,1)) == NULL) 207 *ppsd = psd; 220 if(!prs_uint16("revision ", ps, depth, &psd->revision)) 223 if(!prs_uint16("type ", ps, depth, &psd->type)) 233 if (psd->sacl != NULL) { 234 psd->off_sacl = offset; 235 offset += psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.0.25b/source/lib/ |
H A D | secdesc.c | 39 size_t sec_desc_size(SEC_DESC *psd) argument 43 if (!psd) return 0; 49 if (psd->owner_sid != NULL) 50 offset += sid_size(psd->owner_sid); 52 if (psd->group_sid != NULL) 53 offset += sid_size(psd->group_sid); 55 if (psd->sacl != NULL) 56 offset += psd->sacl->size; 58 if (psd->dacl != NULL) 59 offset += psd 150 SEC_DESC *psd = NULL; local 332 sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 384 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
H A D | sharesec.c | 87 SEC_DESC *psd = NULL; local 96 psd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, psa, psize); 99 if (!psd) { 104 return psd; 116 SEC_DESC *psd = NULL; local 129 !sec_io_desc("get_share_security", &psd, &ps, 1)) { 137 if (psd) 138 *psize = sec_desc_size(psd); 141 return psd; 148 BOOL set_share_security(const char *share_name, SEC_DESC *psd) argument 220 SEC_DESC *psd = NULL; local 252 SEC_DESC *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.0.25b/source/lib/ |
H A D | secdesc.c | 39 size_t sec_desc_size(SEC_DESC *psd) argument 43 if (!psd) return 0; 49 if (psd->owner_sid != NULL) 50 offset += sid_size(psd->owner_sid); 52 if (psd->group_sid != NULL) 53 offset += sid_size(psd->group_sid); 55 if (psd->sacl != NULL) 56 offset += psd->sacl->size; 58 if (psd->dacl != NULL) 59 offset += psd 150 SEC_DESC *psd = NULL; local 332 sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 384 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
H A D | sharesec.c | 87 SEC_DESC *psd = NULL; local 96 psd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, psa, psize); 99 if (!psd) { 104 return psd; 116 SEC_DESC *psd = NULL; local 129 !sec_io_desc("get_share_security", &psd, &ps, 1)) { 137 if (psd) 138 *psize = sec_desc_size(psd); 141 return psd; 148 BOOL set_share_security(const char *share_name, SEC_DESC *psd) argument 220 SEC_DESC *psd = NULL; local 252 SEC_DESC *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.0.25b/source/lib/ |
H A D | secdesc.c | 39 size_t sec_desc_size(SEC_DESC *psd) argument 43 if (!psd) return 0; 49 if (psd->owner_sid != NULL) 50 offset += sid_size(psd->owner_sid); 52 if (psd->group_sid != NULL) 53 offset += sid_size(psd->group_sid); 55 if (psd->sacl != NULL) 56 offset += psd->sacl->size; 58 if (psd->dacl != NULL) 59 offset += psd 150 SEC_DESC *psd = NULL; local 332 sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 384 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
H A D | sharesec.c | 87 SEC_DESC *psd = NULL; local 96 psd = make_sec_desc(ctx, SEC_DESC_REVISION, SEC_DESC_SELF_RELATIVE, NULL, NULL, NULL, psa, psize); 99 if (!psd) { 104 return psd; 116 SEC_DESC *psd = NULL; local 129 !sec_io_desc("get_share_security", &psd, &ps, 1)) { 137 if (psd) 138 *psize = sec_desc_size(psd); 141 return psd; 148 BOOL set_share_security(const char *share_name, SEC_DESC *psd) argument 220 SEC_DESC *psd = NULL; local 252 SEC_DESC *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/lib/ |
H A D | sharesec.c | 130 SEC_DESC *psd = NULL; local 139 psd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1, 144 if (!psd) { 149 return psd; 160 SEC_DESC *psd = NULL; local 182 status = unmarshall_sec_desc(ctx, data.dptr, data.dsize, &psd); 192 if (psd) 193 *psize = ndr_size_security_descriptor(psd, NULL, 0); 195 return psd; 202 bool set_share_security(const char *share_name, SEC_DESC *psd) argument 284 SEC_DESC *psd = NULL; local 311 SEC_DESC *psd = NULL; local [all...] |
H A D | secdesc.c | 71 SEC_DESC *psd = NULL; local 103 psd = make_sec_desc(ctx, new_sdb->sd->revision, secdesc_type, 106 return_sdb = make_sec_desc_buf(ctx, secdesc_size, psd); 373 NTSTATUS sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 380 if (!ctx || !psd || !sid || !sd_size) 385 status = sec_ace_add_sid(ctx, &ace, psd[0]->dacl->aces, &psd[0]->dacl->num_aces, sid, mask); 390 if (!(dacl = make_sec_acl(ctx, psd[0]->dacl->revision, psd[0]->dacl->num_aces, ace))) 393 if (!(sd = make_sec_desc(ctx, psd[ 425 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/lib/ |
H A D | sharesec.c | 130 SEC_DESC *psd = NULL; local 139 psd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1, 144 if (!psd) { 149 return psd; 160 SEC_DESC *psd = NULL; local 182 status = unmarshall_sec_desc(ctx, data.dptr, data.dsize, &psd); 192 if (psd) 193 *psize = ndr_size_security_descriptor(psd, NULL, 0); 195 return psd; 202 bool set_share_security(const char *share_name, SEC_DESC *psd) argument 284 SEC_DESC *psd = NULL; local 311 SEC_DESC *psd = NULL; local [all...] |
H A D | secdesc.c | 71 SEC_DESC *psd = NULL; local 103 psd = make_sec_desc(ctx, new_sdb->sd->revision, secdesc_type, 106 return_sdb = make_sec_desc_buf(ctx, secdesc_size, psd); 373 NTSTATUS sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 380 if (!ctx || !psd || !sid || !sd_size) 385 status = sec_ace_add_sid(ctx, &ace, psd[0]->dacl->aces, &psd[0]->dacl->num_aces, sid, mask); 390 if (!(dacl = make_sec_acl(ctx, psd[0]->dacl->revision, psd[0]->dacl->num_aces, ace))) 393 if (!(sd = make_sec_desc(ctx, psd[ 425 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/lib/ |
H A D | sharesec.c | 130 SEC_DESC *psd = NULL; local 139 psd = make_sec_desc(ctx, SECURITY_DESCRIPTOR_REVISION_1, 144 if (!psd) { 149 return psd; 160 SEC_DESC *psd = NULL; local 182 status = unmarshall_sec_desc(ctx, data.dptr, data.dsize, &psd); 192 if (psd) 193 *psize = ndr_size_security_descriptor(psd, NULL, 0); 195 return psd; 202 bool set_share_security(const char *share_name, SEC_DESC *psd) argument 284 SEC_DESC *psd = NULL; local 311 SEC_DESC *psd = NULL; local [all...] |
H A D | secdesc.c | 71 SEC_DESC *psd = NULL; local 103 psd = make_sec_desc(ctx, new_sdb->sd->revision, secdesc_type, 106 return_sdb = make_sec_desc_buf(ctx, secdesc_size, psd); 373 NTSTATUS sec_desc_add_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, uint32 mask, size_t *sd_size) argument 380 if (!ctx || !psd || !sid || !sd_size) 385 status = sec_ace_add_sid(ctx, &ace, psd[0]->dacl->aces, &psd[0]->dacl->num_aces, sid, mask); 390 if (!(dacl = make_sec_acl(ctx, psd[0]->dacl->revision, psd[0]->dacl->num_aces, ace))) 393 if (!(sd = make_sec_desc(ctx, psd[ 425 sec_desc_del_sid(TALLOC_CTX *ctx, SEC_DESC **psd, DOM_SID *sid, size_t *sd_size) argument [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba/source/rpc_parse/ |
H A D | parse_sec.c | 365 SEC_DESC *psd; local 370 psd = *ppsd; 372 free_sec_acl(&psd->dacl); 373 free_sec_acl(&psd->dacl); 374 free(psd->owner_sid); 375 free(psd->grp_sid); 376 free(psd); 401 SEC_DESC *psd; local 406 psd = *ppsd; 408 if(UNMARSHALLING(ps) && psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba/source/rpc_parse/ |
H A D | parse_sec.c | 365 SEC_DESC *psd; local 370 psd = *ppsd; 372 free_sec_acl(&psd->dacl); 373 free_sec_acl(&psd->dacl); 374 free(psd->owner_sid); 375 free(psd->grp_sid); 376 free(psd); 401 SEC_DESC *psd; local 406 psd = *ppsd; 408 if(UNMARSHALLING(ps) && psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba/source/rpc_parse/ |
H A D | parse_sec.c | 365 SEC_DESC *psd; local 370 psd = *ppsd; 372 free_sec_acl(&psd->dacl); 373 free_sec_acl(&psd->dacl); 374 free(psd->owner_sid); 375 free(psd->grp_sid); 376 free(psd); 401 SEC_DESC *psd; local 406 psd = *ppsd; 408 if(UNMARSHALLING(ps) && psd [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/samba-3.5.8/source3/modules/ |
H A D | vfs_acl_common.c | 22 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, 46 static NTSTATUS hash_sd_sha256(struct security_descriptor *psd, argument 54 status = create_acl_blob(psd, &blob, XATTR_SD_HASH_TYPE_SHA256, hash); 127 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, argument 142 xacl.info.sd_hs3->sd = CONST_DISCARD(struct security_descriptor *, psd); 167 struct security_descriptor *psd) 170 int num_aces = (psd->dacl ? psd->dacl->num_aces : 0); 203 memcpy(new_ace_list, psd->dacl->aces, 234 psd 164 add_directory_inheritable_components(vfs_handle_struct *handle, const char *name, SMB_STRUCT_STAT *psbuf, struct security_descriptor *psd) argument 255 struct security_descriptor *psd = NULL; local 443 struct security_descriptor *psd = NULL; local 597 struct security_descriptor *psd = NULL; local 647 struct security_descriptor *psd = NULL; local 707 struct security_descriptor *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/samba-3.5.8/source3/modules/ |
H A D | vfs_acl_common.c | 22 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, 46 static NTSTATUS hash_sd_sha256(struct security_descriptor *psd, argument 54 status = create_acl_blob(psd, &blob, XATTR_SD_HASH_TYPE_SHA256, hash); 127 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, argument 142 xacl.info.sd_hs3->sd = CONST_DISCARD(struct security_descriptor *, psd); 167 struct security_descriptor *psd) 170 int num_aces = (psd->dacl ? psd->dacl->num_aces : 0); 203 memcpy(new_ace_list, psd->dacl->aces, 234 psd 164 add_directory_inheritable_components(vfs_handle_struct *handle, const char *name, SMB_STRUCT_STAT *psbuf, struct security_descriptor *psd) argument 255 struct security_descriptor *psd = NULL; local 443 struct security_descriptor *psd = NULL; local 597 struct security_descriptor *psd = NULL; local 647 struct security_descriptor *psd = NULL; local 707 struct security_descriptor *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/samba-3.5.8/source3/modules/ |
H A D | vfs_acl_common.c | 22 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, 46 static NTSTATUS hash_sd_sha256(struct security_descriptor *psd, argument 54 status = create_acl_blob(psd, &blob, XATTR_SD_HASH_TYPE_SHA256, hash); 127 static NTSTATUS create_acl_blob(const struct security_descriptor *psd, argument 142 xacl.info.sd_hs3->sd = CONST_DISCARD(struct security_descriptor *, psd); 167 struct security_descriptor *psd) 170 int num_aces = (psd->dacl ? psd->dacl->num_aces : 0); 203 memcpy(new_ace_list, psd->dacl->aces, 234 psd 164 add_directory_inheritable_components(vfs_handle_struct *handle, const char *name, SMB_STRUCT_STAT *psbuf, struct security_descriptor *psd) argument 255 struct security_descriptor *psd = NULL; local 443 struct security_descriptor *psd = NULL; local 597 struct security_descriptor *psd = NULL; local 647 struct security_descriptor *psd = NULL; local 707 struct security_descriptor *psd = NULL; local [all...] |
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/ffmpeg/libavcodec/ |
H A D | ac3.c | 98 void ff_ac3_bit_alloc_calc_psd(int8_t *exp, int start, int end, int16_t *psd, argument 105 psd[bin]=(3072 - (exp[bin] << 7)); 112 int v = psd[bin++]; 115 int max = FFMAX(v, psd[bin]); 117 int adr = FFMIN(max - ((v + psd[bin] + 1) >> 1), 255); 216 void ff_ac3_bit_alloc_calc_bap(int16_t *mask, int16_t *psd, int start, int end, argument 234 int address = av_clip((psd[bin] - m) >> 5, 0, 63); 249 int16_t psd[256]; /* scaled exponents */ local 253 ff_ac3_bit_alloc_calc_psd(exp, start, end, psd, band_psd); 259 ff_ac3_bit_alloc_calc_bap(mask, psd, star [all...] |